Announcement

Collapse
No announcement yet.

Show Banner is it same ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show Banner is it same ?

    http://www.vbulletin.com/forum/showthread.php?t=157022

    I try this,but I think some problem,multiquote not work.Any idea for that ? Only first message in quote...

    Thanks

  • #2
    I haven't fully tested all conditions in 3.6.x. It appears to work the same, but there is no need for the spacer variables now.

    Comment


    • #3
      I tried that,but spacer size not the same
      Last edited by Bulent Tekcan; Sat 5th Aug '06, 11:38am.

      Comment


      • #4
        With spacer work good,but multi quote not work.But without spacer like below,after 1st message no space there and after adv. box big space.

        Any idea ?
        Attached Files

        Comment


        • #5
          You can change the gaps by editing this code:

          Code:
          <div style="padding:0px 0px $stylevar[cellpadding]px 0px">
          These are the pixel gaps for all four sides.

          Comment


          • #6
            Hello,

            Because 6px are between post bits I guess this is how it should be now if I wanted to display this after the first post and to guest only?

            PHP Code:
            <if condition="$post[postcount] % $vboptions[maxposts] == 1 AND !$bbuserinfo[userid]">
            <
            div style="padding:6px 0px $stylevar[cellpadding]px 0px">
            <
            table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
            <
            tr>
             <
            td class="thead" align="left">Sponsored Links</td>
            </
            tr>
            <
            tr>
             <
            td class="alt1" align="center">
             
            AD CODE
             
            </td>
            </
            tr>
            </
            table>
            </
            div>
            </if> 

            Comment


            • #7
              That is the correct condition.

              Comment


              • #8
                There's something wrong with JOHN code

                I removed "$stylevar[cellpadding]" and added a 0 to px and it fixed the space.

                PHP Code:
                <if condition="$post[postcount] % $vboptions[maxposts] == 1 AND !$bbuserinfo[userid]">
                <
                div style="padding:6px 0px 0px 0px">
                <
                table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
                <
                tr>
                 <
                td class="thead" align="left">Sponsored Links</td>
                </
                tr>
                <
                tr>
                 <
                td class="alt1" align="center">
                AD HERE!
                 </
                td>
                </
                tr>
                </
                table>
                </
                div>
                </if> 
                Last edited by xjuliox; Thu 17th Aug '06, 6:55am.
                Arcade.gs Game Site!

                Comment


                • #9
                  In [USERID] am I suppose to change that to a 1?
                  Arcade.gs Game Site!

                  Comment


                  • #10
                    As in !$bbuserinfo[userid]?

                    No, that checks for the login status of the user.
                    Lats...

                    Comment


                    • #11
                      Thanks LATS!

                      I put it back the way it was.
                      Arcade.gs Game Site!

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X