The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AdSense inside the 2nd post - by AdSenseExperts.com Details »» | |||||||||||||||||||||||||||||
AdSense inside the 2nd post - by AdSenseExperts.com
Developer Last Online: Nov 2022
AdSense inside the 2nd post v1.0 - AdSenseExperts.com Exclusive
Hello This is another AdSense implementation for your vBulletin 4.0 Forum. This placement is exclusively released for AdsenseExperts.com. 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: http://www.adsenseexperts.com/adsens...iness-t46.html 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: http://www.adsenseexperts.com/adsens...usive-t47.html http://www.adsenseexperts.com/adsens...usive-t67.html 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: Code:
/*------------------------------------------------------------------------------ | #> AdSense Rectangle inside 2nd post. By AdsenseExperts.com +-----------------------------------------------------------------------------*/ .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; } Code:
{vb:raw post.message} Code:
<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> Additional Comments: Make sure you change all lines marked RED to fit your forum. I added the background image for the dotted line as attachment. If you are using my Mod http://www.adsenseexperts.com/adsens...usive-t67.html you need to change the condition: Code:
<vb:if condition="$show['guest'] AND $post[postcount] % $vboptions[maxposts] == 2"> Code:
<vb:if condition="$show['guest'] AND $post[postcount] % $vboptions[maxposts] == 2 AND !$post['islastshown']"> I added a float_spacer which lets the text flow around the AD. Depending on the hight 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 StarBuG Google isn't paying you enough money! Discover WHY! Download Now
Show Your Support
|
Comments |
#2
|
||||
|
||||
First post reserved
|
#3
|
|||
|
|||
Nice job mate!
|
#4
|
||||
|
||||
hmm i get the following error when installing..
Quote:
|
#5
|
||||
|
||||
It was a copy&past error. Replace " with " or reinstall the code above.
I fixed the bug |
#6
|
|||
|
|||
keep em coming.. i love your integrations.
|
#7
|
||||
|
||||
Thanks
I experiment a lot with placements however there are not many left that bring in more money then the once that I published already. But maybe I just did not discover them yet, we'll see... So watch out for more |
#8
|
|||
|
|||
Float_Spacer isn't compatible with IE6 or IE7 and renders the ad BEHIND Text, which is a violation of Googles TOS.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|