Results 1 to 6 of 6

Showing adsense only on...

This is a discussion on Showing adsense only on... within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi guys. How can I show adsense ads only on showthread ( vbseo ???) pages? What is the if code? ...

  1. #1
    wac
    wac is offline
    Senior Member
    Real Name
    toto
    Join Date
    Apr 2009
    Posts
    134
    Liked
    0 times

    Showing adsense only on...

    Hi guys. How can I show adsense ads only on showthread (vbseo???) pages? What is the if code? I see that adsense is showing in useless pages like profile, etc. and want to stop that. Only want ads to be shown in showthread, which I don't know now what that is with Vbseo either. Thank you so much for your time.

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    Hello,

    You can simply wrap your ad unit in:

    Code:
    <if condition="THIS_SCRIPT == 'showthread'">
    
    
    
    </if>
    note, remove the spaces around the brackets (my posts here have html enabled and it eats them.
    Last edited by Mert Gökçeimam; 09-16-2009 at 03:50 PM.
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    wac
    wac is offline
    Senior Member
    Real Name
    toto
    Join Date
    Apr 2009
    Posts
    134
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    Hello,

    You can simply wrap your ad unit in:

    Code:
    < if condition="THIS_SCRIPT == 'showthread'" >
    
    
    
    < /if >
    note, remove the spaces around the brackets (my posts here have html enabled and it eats them.
    Does that work with Vbseo? Doesn't Vbseo rewrite showthread?
    Last edited by wac; 09-16-2009 at 03:40 PM.

  4. #4
    Senior Member
    Real Name
    Marco Mamdouh
    Join Date
    May 2008
    Location
    Egypt
    Posts
    2,627
    Liked
    1 times
    Blog Entries
    1
    it's vBulletin templates conditions not related to vBSEO so it will works fine

  5. #5
    wac
    wac is offline
    Senior Member
    Real Name
    toto
    Join Date
    Apr 2009
    Posts
    134
    Liked
    0 times
    Ok, thanks to the both of you. It worked great. Been wanting to do this for a very long time. Thanks again.

  6. #6
    Senior Member
    Real Name
    Marco Mamdouh
    Join Date
    May 2008
    Location
    Egypt
    Posts
    2,627
    Liked
    1 times
    Blog Entries
    1
    You are welcome

Similar Threads

  1. Not showing up
    By Mr Chris in forum General Discussion
    Replies: 14
    Last Post: 08-17-2009, 08:09 AM
  2. vb icon not showing! showing as a link?
    By Julio in forum Troubleshooting
    Replies: 3
    Last Post: 02-12-2008, 10:49 AM
  3. Ad not showing up
    By sportsmedjosh in forum Off-Topic & Chit Chat
    Replies: 1
    Last Post: 02-02-2007, 09:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •