Show Banner is it same ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bulent Tekcan
    Senior Member
    • Feb 2003
    • 1102
    • 4.2.x

    Show Banner is it same ?



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

    Thanks
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #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

    • Bulent Tekcan
      Senior Member
      • Feb 2003
      • 1102
      • 4.2.x

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

      Comment

      • Bulent Tekcan
        Senior Member
        • Feb 2003
        • 1102
        • 4.2.x

        #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

        • Jake Bunce
          Senior Member
          • Dec 2000
          • 46598
          • 3.6.x

          #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

          • johnzilla2004
            New Member
            • Apr 2006
            • 8
            • 3.6.x

            #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

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              That is the correct condition.

              Comment

              • xjuliox
                Senior Member
                • Sep 2005
                • 1048
                • 3.7.x

                #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 17 Aug '06, 6:55am.
                Arcade.gs Game Site!

                Comment

                • xjuliox
                  Senior Member
                  • Sep 2005
                  • 1048
                  • 3.7.x

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

                  Comment

                  • Lats
                    Senior Member
                    • Mar 2002
                    • 3671

                    #10
                    As in !$bbuserinfo[userid]?

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

                    Comment

                    • xjuliox
                      Senior Member
                      • Sep 2005
                      • 1048
                      • 3.7.x

                      #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...