vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 7 of 7

Google ADS for single forums?

This is a discussion on Google ADS for single forums? within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, should be possible to add single google adsense in specifics forums? For example my forum have got 10 sections: ...

  1. #1
    Senior Member
    Real Name
    Riccardo
    Join Date
    Jun 2008
    Posts
    186

    Question Google ADS for single forums?

    Hi,
    should be possible to add single google adsense in specifics forums?

    For example my forum have got 10 sections:

    www.myforum.com/forums/section1
    ........................./forums/section2
    ........................./forums/section3
    ........................./forums/section4
    ........................./forums/section5
    ........................./forums/section6
    ........................./forums/section7

    Should be possible to add specifics google ads banner in each single section/forums?

    If yes what is the tpl to edit for do this?

    Thanks in advance

  2. #2
    Senior Member
    Real Name
    Marco Mamdouh
    Join Date
    May 2008
    Location
    Egypt
    Posts
    2,549
    Blog Entries
    2

  3. #3
    Senior Member
    Real Name
    Riccardo
    Join Date
    Jun 2008
    Posts
    186
    Quote Originally Posted by marco1 View Post

    oh thanks,
    i think that this is all that i'm looking for:
    Code:
    <if condition="in_array($forumid, array(X,Y,Z))"> 
    this code must be addedd in forumdisplay tpl correct?
    where forumid is the number of the forum and the X,Y,Z with wath i must change?

    Can you write me an final example?

    I (only a example), want to add the "camera" ads channel in my forum id number 2, the code must be:
    Code:
    <if condition="in_array($forum2, array(X,Y,Z))"> 
    But with whatcan i replace x,y,z?

    Thanks

  4. #4
    Senior Member
    Real Name
    Marco Mamdouh
    Join Date
    May 2008
    Location
    Egypt
    Posts
    2,549
    Blog Entries
    2
    Forum ID number 2 will be this

    HTML Code:
    <if condition="$forumid == 2"> 
    Adsense code
    </if> 
    Yes in forumdisplay template

    But if you will need to display the same code in more than 1 forum use this :
    HTML Code:
    <if condition="in_array($forum2, array(X,Y,Z))"> 
    Adsense code
    </if> 

    Replace X,Y,Z with forum ID's numbers

  5. #5
    Senior Member
    Real Name
    Riccardo
    Join Date
    Jun 2008
    Posts
    186
    GREAT

    Thanks , hope that i'll can add this code in vb4 (when will be released) too

  6. #6
    Senior Member
    Real Name
    Riccardo
    Join Date
    Jun 2008
    Posts
    186
    Last question,
    can you said me what color is this?
    colorad.png

    I want to remove the white under the banners Thanks in advance

  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    seoville
    Posts
    3,869
    vb4 template conditionals are different. it will need to be modified.

    find colors using colorzill for firefox.
    https://addons.mozilla.org/en-US/firefox/addon/271
    Brian Cummiskey / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


    Check us out on FaceBook!

Similar Threads

  1. Replies: 8
    Last Post: 09-07-2009, 08:34 AM
  2. [Video] Matt Cutts: How many pages can Google index from a single site?
    By Michael Biddle in forum General Discussion
    Replies: 4
    Last Post: 06-16-2009, 12:41 AM
  3. google indexing single post
    By control1110 in forum General Discussion
    Replies: 1
    Last Post: 12-13-2007, 09:07 PM
  4. Google lists: View single post
    By Nikke23 in forum General Discussion
    Replies: 1
    Last Post: 09-05-2007, 10:21 AM
  5. Google indexing single posts :(
    By Pirate in forum Troubleshooting
    Replies: 5
    Last Post: 03-22-2007, 06:19 AM