Back to vBulletin 3.6 Template Modifications

adsense unit on 2nd post and 1st profile on every thread page
Mod Version: 1.00, by Mr.samy

This modification is in the archives.
vB Version: 3.6.8 Rating: (1 vote - 5.00 average) Installs: 2
Released: 05 Apr 2008 Last Update: Never Downloads: 2
Not Supported Template Edits  

Hello dears ,

this modification from Adsense Inside the Post ..

in postbit_legacy template find

PHP Code:
<div id="post_message_$post[postid]">$post[message]</div
and add before that

PHP Code:
<if condition="(($post[postcount] % $vboptions[maxposts] == 2)) and ($show['guest'])">
<
span style="margin: 2px; float: right; width: 201px; height: 91px;">
ADSENSE unit CODE HERE
</span>
</if> 
Note : $vboptions[maxposts] == 2 >>>>> this control of the the ads which appear on post number ...
Demo 1 in attachment

Now :

after member profile in 1st post
in postbit_legacy template find
PHP Code:
$post[icqicon$post[aimicon$post[msnicon$post[yahooicon
after that add
PHP Code:
<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest'])">
<
center>

adsense unit code here

</center>
</if> 
Note : Ad is shown to guests Only remove "and ($show['guest'])" to show to all .

Demo 2 in attachment

Download

No files for download.

Screenshots

Click image for larger version
Name:	demo1.jpg
Views:	194
Size:	44.1 KB
ID:	78290   Click image for larger version
Name:	demo2.GIF
Views:	154
Size:	6.0 KB
ID:	78291  

Similar Mods

Forum Home Enhancements Adsense Link Unit in Navbar vBulletin 3.6 Template Modifications
Mini Mods ... Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024