Forum specific ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ski diva
    Senior Member
    • Jul 2006
    • 105
    • 3.8.x

    Forum specific ad

    I have google adsense banners appearing below the header and in the footer of each page of my forum. However, I'd like one forum to have it's own specific ad instead of adsense ads. How would I do this?
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    This can be done with template conditionals. Here is the online documentation for using template conditionals:

    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Lats
      Senior Member
      • Mar 2002
      • 3671

      #3
      Something like this...
      Code:
      <if condition="$foruminfo[forumid] == [COLOR=blue]X[/COLOR]">
       specific banner code
      <else />
          adsense
      </if>
      Change X to the forumid of your specific forum.
      Lats...

      Comment

      • ski diva
        Senior Member
        • Jul 2006
        • 105
        • 3.8.x

        #4
        That looks good, but where would I put it?

        Comment

        • Lats
          Senior Member
          • Mar 2002
          • 3671

          #5
          Wherever you have your adsense code.
          Last edited by Lats; Wed 13 Sep '06, 3:51pm. Reason: can't spell
          Lats...

          Comment

          • ski diva
            Senior Member
            • Jul 2006
            • 105
            • 3.8.x

            #6
            But of course! Thanks!

            Comment

            Related Topics

            Collapse

            Working...