New server & vbulletin postbit mod - putting google adsense in vbulletin forum
->
This new webserver rock!
I did few searches on how to put the ads code into our forum.
The first is found here:
http://www.vbulle...owthread.php?t=96249
see the demo here: http://www.sigstora.../1426-Untitled-1.jpg
But you see, this code do some modification to postbit template and create another “post’ alike table under the first post, which I found it less interesting to me.
I change it a little bit with this:
if condition=”!$GLOBALS[’FIRSTPOSTID’]”
adsense code
/if
This code is to be put under the:
!– / message –
So your forum will look like:
[post title]
[post message]
[adsense ads]
[signature]
Cool?
Btw, if you are interested to put google adsense on first and last post, consider to use this condition:
if condition=”(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS[’vbulletin’]->GPC[’ajax’]))”


