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
    265
    Liked
    1 times

    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,627
    Liked
    1 times
    Blog Entries
    1

  3. #3
    Senior Member
    Real Name
    Riccardo
    Join Date
    Jun 2008
    Posts
    265
    Liked
    1 times
    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,627
    Liked
    1 times
    Blog Entries
    1
    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
    265
    Liked
    1 times
    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
    265
    Liked
    1 times
    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
    btwn NYC and Boston
    Posts
    12,770
    Liked
    644 times
    Blog Entries
    2
    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.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Replies: 8
    Last Post: 09-07-2009, 09: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, 01:41 AM
  3. google indexing single post
    By control1110 in forum General Discussion
    Replies: 1
    Last Post: 12-13-2007, 10:07 PM
  4. Google lists: View single post
    By Nikke23 in forum General Discussion
    Replies: 1
    Last Post: 09-05-2007, 11:21 AM
  5. Google indexing single posts :(
    By Pirate in forum Troubleshooting
    Replies: 5
    Last Post: 03-22-2007, 07:19 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
  •