The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Info Box - Adsense, Register, and Donations Box (Working Quick Reply) Details »» | |||||||||||||||||||||||||||
Info Box - Adsense, Register, and Donations Box (Working Quick Reply)
Developer Last Online: Nov 2009
Nanofied Productions Presents - Info Box Template Mod In my version of the whole adsense post hack series, I have included a modification that will allow the last post of every thread to be a box including information on things such as registering, donating, and a spot for your google adsense or other ads that is not breaking any TOS. To do this, add the following code... Code:
<div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left">Google Ads</td> </tr> <tr> <td class="alt1" align="center"> <ADS AND CONTENT GO HERE> </td> </tr> </table> </div> Code:
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]"> $threadadmin_imod_menu_post </div> </if> $spacer_close <if condition="$show['threadedmode'] OR $show['hybridmode']"> $threadlist </if> <div id="posts">$postbits<div id="lastpost"></div></div> $spacer_open Then, edit the <ADS AND CONTENT GO HERE> section, and ad anything you want to your info box You can view an example at http://www.boardingscene.com/music/8...ite-bands.html I personally am using eminimalls in my info box. If anyone has suggestions, I can try to use them in my product. PLEASE CLICK INSTALL IF USED :banana: Thanks! Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
|||
|
|||
Great, thank you! Works with no problems!
|
#33
|
||||
|
||||
I am glad to you see guys enjoy it!
|
#34
|
||||
|
||||
Anyone need anything?
|
#35
|
||||
|
||||
Can I suggest using this code:
HTML Code:
<div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left">Google Ads</td> </tr> <tr> <td class="alt1" align="center"> Not a Member Yet ?<br> <a href="register.php">Register Now!</a><br> <br> Want to donate?<br> <a href="donate.php">Click Here!</a>. <br> <br> <script type="text/javascript"><!-- google_ad_client = "pub-3631507085471760"; google_alternate_color = "0b1928"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "0B1928"; google_color_bg = "0B1928"; google_color_link = "FFFFFF"; google_color_url = "487D09"; google_color_text = "7D8FA2"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> </table> </div> |
#36
|
||||
|
||||
HEy Thanks man, That is actually a good IDea.
|
#37
|
|||
|
|||
Installed works great!
But one thing. The box is bigger(wider) then my posts, I want it so it is the same size as my posts box. See here: http://www.mywebmasterforum.com/yaho...rk/77-ypn.html Anyway to fix that? |
#38
|
||||
|
||||
Easy
It is your adsense box... just select a less less wide format, or maybe use a link bar instead. Good Luck! |
#39
|
||||
|
||||
Nice, it works fine on vb3.5.3
|
#40
|
|||
|
|||
Any way to make this a plugin?
I'm going to test this out on my test board first and if we decide to go with ads on the site, this is the hack that I will use. It's nice and clean and doesn't cram ads in the users' faces.... I'm thinking about how I could use this and some sort of revenue sharing hack but only to share the revenue amongst the admins as opposed to all of the user base. |
#41
|
||||
|
||||
Lot's of similiar hacks already there. But cool ..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|