want to show ads only for guest

Discussion in 'vBulletin' started by toxic1985, Aug 9, 2009.

  1. #1
    I want to put ads on my site. but i wnt those ads visible only for guest not for register.
    how to do this to my site.?

    help me
     
    toxic1985, Aug 9, 2009 IP
  2. ascensions

    ascensions Active Member

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Might help if we knew which CMS you're using.
     
    ascensions, Aug 9, 2009 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    It depends on which forum script are you using. Most of the popular forums have Mods available for ad Management.

    Kailash
     
    kailash, Aug 9, 2009 IP
  4. peter_anderson

    peter_anderson Notable Member

    Messages:
    3,382
    Likes Received:
    152
    Best Answers:
    0
    Trophy Points:
    240
    #4
    What forum script?

    You could create a copy of your skin that only shows for guests, and add ads to it. But, that's not the best way.
     
    peter_anderson, Aug 10, 2009 IP
  5. toxic1985

    toxic1985 Active Member

    Messages:
    632
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5

    Sorry I m using VB 3.8.1
     
    toxic1985, Aug 10, 2009 IP
  6. Shadab

    Shadab Peon

    Messages:
    376
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you are putting (pasting) your Adsense ad code directly in a template,
    wrap it in this conditional to show it only to guests:

    <if condition="$show['guest']">
    
       Your adsense ad code here.
    
    </if>
    Code (markup):
     
    Shadab, Aug 10, 2009 IP