AdSense inside the 2nd post – AdsenseExperts Exclusive

This is another AdSense implementation for your vBulletin 4.0 Forum.

This placement is exclusively released for AdsenseExperts.

You are allowed to use this placement on your own forum, however republishing this modification on other website is only allowed with prior written consent by me.

What this mod does

This mod adds a Google Adsense rectangle inside the 2nd post of each thread and page.

It is blended to complement your forum content but is clearly labeled as Ad to strictly separate Ads from content. This approach is taken for the reasons discussed here:
Is too much blending bad for business?

Make sure you use the same colors as you use on your forum to optimize blending!

This mod goes perfectly with my other AdSense Integration mods:

If you want to display the AD in the 2nd post on the right side of the content like in the
AdSense inside the first post mod, simply copy the code and CSS from there.

This mod shows the AD only to GUESTS!

If you want to show it to your members as well remove the “$show[‘guest’]” condition!

Installation instructions

In the template additional.css add:

/*------------------------------------------------------------------------------
| #> AdSense Rectangle inside 2nd post. By AdsenseExperts
+-----------------------------------------------------------------------------*/
.float_spacer_left { 
  float:right; 
  width: 1px; 
  height: 50px; 
}

.AdInline_left { 
  clear:right; 
  float:left; 
}

.AdLR336_left { 
  margin-bottom:20px; 
  margin-left:0px; 
  margin-right:15px; 
  width:336px; 
  text-align:center; 
}

.AdLR336_left .AdDottedLine, .AdDottedLine { 
  float:none; margin:0; 
  padding:0; 
  width:100%; 
}

.AdInline_left .AdLR336_left h5 { 
  width:330px; 
  font-size:10px !important; 
  font-weight:normal; 
  text-align:right; 
  line-height:normal; 
  margin:0; 
  padding:0; 
  font-family:verdana,arial,helvetica,geneva,sans-serif; 
  z-index:10;
}

.AdCommercial { 
  overflow:hidden; 
  background-color:#FAFAFA; 
}
.AdCommercialInner { 
  margin-bottom:10px; 
  margin-top:-10px; 
}

.AdDottedLineTop { 
  background-image:url(images/bg_maincontainer_line.gif); 
  background-repeat:repeat-x; 
  margin-bottom:10px; 
  padding-bottom:10px; 
  font-size:1px; 
  height:1px !important; 
  line-height:1px; width:100%; 
}

.AdDottedLineBottom { 
  background-image:url(images/bg_maincontainer_line.gif); 
  background-repeat:repeat-x; 
  margin:0px; 
  padding:0; 
  font-size:1px; 
  height:1px !important; 
  line-height:1px; width:100%; 
}
.AdCenter { 
  align:center; 
  margin:0; 
  padding:0;
}

.bbcode_container div.bbcode_quote { 
  clear:both; 
}

then open the template postbit_legacy and find:

{vb:raw post.message}

and add above:

<vb:if condition="$show['guest'] AND $post[postcount] % $vboptions[maxposts] == 2">
  <div class="float_spacer_left"></div>
    <div class="AdInline_left">
      <div class="AdCommercial AdLR336_left">
        <div class="AdDottedLineTop"></div>
        <div class="AdCommercialInner">
        <h5>ADVERTISING</h5>
        <div class="AdCenter">
          YOUR ADSENSE RECTANGLE CODE HERE
        </div>
      </div>
      <div class="AdDottedLineBottom"></div>
    </div>
  </div>
</vb:if>

Notes

Make sure to check and adapt especially domain to fit your forum.

I added the background image for the dotted line as attachment.

If you are using my Mod AdSense inside the last post – AdsenseExperts Exclusive

you need to change the condition:

<vb:if condition="$show['guest'] AND $post[postcount] % $vboptions[maxposts] == 2">

to:

<vb:if condition="$show['guest'] AND $post[postcount] % $vboptions[maxposts] == 2 AND !$post['islastshown']">

If you don’t change the condition you will get 2 Ads in one post if the 2nd post is the last post on any page.

I added a float_spacer which lets the text flow around the AD.

Depending on the height you set the more lines of text will be above the AD.

But in a Forum where you don’t have an influence on the length of the posts you should make a compromise otherwise all text will be above the AD which defeats the purpose of this implementation. If you want the text to start on the right side with the AD and not on top just set the hight of the float_spacer to 0px.

Screenshot

Versions

  • v1.0: initial release

Of course feedback is welcome and if you have suggestions to further improve CTR please let me know!

Regards

admin

This entry was posted in AdSense Placements and tagged , , , , , , . Bookmark the permalink.

8 Responses to AdSense inside the 2nd post – AdsenseExperts Exclusive

  1. TheChiro says:
    Out of the 3 spots you've posted about (1st, 2nd and last posts), which have you noticed to work best for you/your sites? And what combination are you currently using?
  2. admin says:
    Until today I used the welcome box ad with a large rectangle (performed 2nd), a medium rectangle in the first post (performed best) and a medium rectangle in the last post (performed 3rd).

    However in April my earnings plunged so I am currently trying new things to improve my earnings again. This is why I removed the welcome box ad for threads and replaced it with a medium rectangle in the 2nd post.

    This will reduce the number of Ads shown because many threads have 0 or 1 reply which means these pages only show 1 or 2 ads but we'll see if it performs worse or better.

    Only time will tell.
    • maximumrock says:
      I use SMF forums and have 1 large leaderboard at the very top of every page and 2 small 125x125 boxes on the side (Ezboard portal).

      That seem ideal?

      So far like i said on the SP board to you last night, i have gotten 10,000 impressions with the 6 clicks.. I thought having the ads in posts, if even possible might be a bit too overkill..
  3. admin says:
    If it would be ideal I would use it here too, so no it is not ;)
  4. Knocks says:
    Can you please post complete code on how to combine the AdSense inside the 2nd post and AdSense inside the last post mods?

    Also, these mods don't work with posts that have BBCode quotes. For those posts, the ad is shown above the contents of the post, which really breaks the style and the blending.
  5. Knocks says:
    Here's another issue. I came to your forum to make sure I am using the same rectangle size as you are, so I picked medium. But your code stretches the rectangle to 336x280, which is Google's large rectangle size.

    So you might want to specify on vbulletin.org which rectangle size this is intended to work with.
  6. admin says:
    The vBulletin versions are not supported.

    Use the onces from here, they are newer and your issues are fixed.

    The size is a simple css definition. Change it ;)
  7. Knocks says:
    admin, you never posted combined code for those two mods. There is only combined code for first and last post.

Leave a Reply

Your email address will not be published. Required fields are marked *

*