Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 16 to 30 of 58

vBulletin Google Adsense Deep Integration Tutorial

This is a discussion on vBulletin Google Adsense Deep Integration Tutorial within the Ad Networks forums, part of the Monetizing category; Originally Posted by NeutralizeR It should. Make sure you have enough threads in that forum or try viewing other forums. ...

  1. #16
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    0 times
    Blog Entries
    1
    Quote Originally Posted by NeutralizeR View Post
    It should. Make sure you have enough threads in that forum or try viewing other forums. You may not be able to see the google ads without enough content.
    I have more then 400 threads in all my forums

  2. #17
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    310
    Liked
    1 times
    Quote Originally Posted by Future View Post
    I have more then 400 threads in all my forums
    well... what do you exactly mean by saying "...is not working" ?

  3. #18
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    0 times
    Blog Entries
    1

    Thumbs up

    Question 1:
    I have post icons disabled on some of my forums, the code provided above wont work properly for these forums, can you please help me here ?
    (For displaying advertisements on forumdisplay pages, begining of showthreads and end of showthreads.

    Question 2:
    How can i display google ads, in between threads, like this image:
    http://img109.imageshack.us/img109/7800/snap68am.gif
    Ad no. 2 in above image.

    Question 3:
    How can i integrate advertisements in square boxes on showthread pages, in first post like this example:
    http://img119.imageshack.us/img119/2517/snap21ew.th.gif

    Thank You for your time and great tutorial

  4. #19
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    310
    Liked
    1 times
    Quote Originally Posted by Future View Post
    Question 1:
    I have post icons disabled on some of my forums, the code provided above wont work properly for these forums, can you please help me here ?
    (For displaying advertisements on forumdisplay pages, begining of showthreads and end of showthreads.

    Question 2:
    How can i display google ads, in between threads, like this image:
    http://img109.imageshack.us/img109/7800/snap68am.gif
    Ad no. 2 in above image.

    Question 3:
    How can i integrate advertisements in square boxes on showthread pages, in first post like this example:
    http://img119.imageshack.us/img119/2517/snap21ew.th.gif

    Thank You for your time and great tutorial
    For Questions 1 & 2:

    You should use if conditionals for those forums which don't have post icons enabled.

    <tr>
    <td align="center" class="alt1">-</td>
    <if condition="in_array($forumid, array(2, 3, 4, 5, 6))"><else />
    <td align="center" class="alt2">-</td></if>
    <td class="alt1">
    <div>
    <script type="text/javascript"><!--
    google_ad_client = "youradsensecode";
    google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="yourchannelcode";
    google_color_border = "F5F5FF";
    google_color_bg = "F5F5FF";
    google_color_link = "22229C";
    google_color_url = "000000";
    google_color_text = "22229C";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    </td>

    <td class="alt2 smallfont" align="center">Sponsored Links</td>

    <td class="alt1" align="center">-</td>
    <td class="alt2" align="center">-</td>
    <if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>

    </tr>
    Not tested, but should work...

    For Question 3:
    Open your postbit (postbit_legacy) template and find $post[message].

    Add before $post[message]:

    <div>
    <script type="text/javascript"><!--
    google_ad_client = "youradsensecode";
    google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
    google_ad_width = 336;
    google_ad_height = 280;
    google_ad_format = "336x280_as";
    google_ad_type = "text_image";
    google_ad_channel ="yourchannelcode";
    google_color_border = "F5F5FF";
    google_color_bg = "F5F5FF";
    google_color_link = "22229C";
    google_color_url = "000000";
    google_color_text = "22229C";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <script type="text/javascript"><!--
    google_ad_client = "youradsensecode";
    google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
    google_ad_width = 336;
    google_ad_height = 280;
    google_ad_format = "336x280_as";
    google_ad_type = "text_image";
    google_ad_channel ="yourchannelcode";
    google_color_border = "F5F5FF";
    google_color_bg = "F5F5FF";
    google_color_link = "22229C";
    google_color_url = "000000";
    google_color_text = "22229C";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    Give a try

  5. #20
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    0 times
    Blog Entries
    1
    you are the man, works awesome, awaiting results now.
    thank you once again

  6. #21
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1
    <if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))">
    I just upgraded to 3.6.5 and this code isn't showing the ad on the last post anymore. How can we get it to show up in the last post now?

  7. #22
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    310
    Liked
    1 times
    Try this one:

    <if condition="(($post[postcount]==1) or ($post[islastshown])">

  8. #23
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1
    Nope...didn't work for me :(

  9. #24
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    Code:
    <if condition="(($post[postcount]==1) or ($post[islastshown]))">
    try this
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  10. #25
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1
    It's the same thing is it not? He forgot the last ")" but I added it anyways.

    Well...looks like the ads are showing up now...but there has to be multiple pages for it to show up on the last post. Sorry if that was the intention...but I could have sworn that if there were 15 posts, there would be an ad on the 1st and 15th post.
    Last edited by jbartle; 03-02-2007 at 12:54 PM.

  11. #26
    Senior Member
    Real Name
    Mike
    Join Date
    Aug 2006
    Posts
    209
    Liked
    3 times
    anything wrong with placing the google ads in the Header and Footer templates ? thats where I have mine.

  12. #27
    Senior Member
    Real Name
    Mike
    Join Date
    Aug 2006
    Posts
    209
    Liked
    3 times
    ^^ The reason I asked above is because my page views stats seem to be much higher then the views registered with AdSense.

    Not sure if placing it in another template will result in more registered Adsense views.

    btw, sorry for the double post.

  13. #28
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1
    The page views stats are higher than adsense b/c people have AdBlock. I've noticed the same...most of my frequent users use adblock so I lose a lot of page impressions.

    If you are going to have an ad in the header and footer...at least remove the footer. That way your header ad will always have the highest bidder and most of the time no one will click the footer ads.

  14. #29
    Junior Member
    Real Name
    romeo
    Join Date
    Apr 2007
    Posts
    13
    Liked
    0 times
    Hi,

    excelent post ! i think this is realy "deep integration"

    so, what about this one : i how can i do that ?

    http://www.dayza.com/images/7653heradsense.GIF
    Last edited by rinka128; 05-16-2007 at 07:38 PM.

  15. #30
    Junior Member
    Real Name
    GTX2
    Join Date
    Jul 2006
    Posts
    11
    Liked
    0 times
    Hello,

    I'm looking for this kind of adsense integration into my forums:
    http://images20.fotosik.pl/259/366f428bb016eb46med.png

    Anyone can give me a hand setting this up?
    Thanks

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

LinkBacks (?)

  1. 11-12-2007, 01:21 PM
  2. 03-02-2007, 08:13 PM
  3. 01-31-2007, 07:09 PM
  4. 08-13-2006, 11:22 PM

Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  2. Google is All About Search: 4 New Products
    By Joe Ward in forum General Discussion
    Replies: 0
    Last Post: 05-16-2006, 02:52 PM
  3. Replies: 0
    Last Post: 12-17-2005, 02:11 PM

Posting Permissions

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