The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Modification in Postbit for Adsense banner messes up PM layout
Hi all,
Im using this code to add adsense banner after first and last post: <if condition="$post[postcount] == 1 OR $post[postcount] % 11 == 0 "> $spacer_open <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="728" align="center"> <tr> <td class="thead" align="left">Sponsored Links</td> </tr> <tr><br> <td class="alt1" align="center"> <adsense code> </td> </tr> </table> </div> $spacer_close </if> I added this code at the end off the Postbit template. But now my PrivateMail page is not in the good size anymore, because im using the big adsense banners. So my question is: what do i need to modify in this code, so it will not work in the PM page. I dont need banners in PM pages anyway. There is a simular problem in this topic: https://vborg.vbsupport.ru/showthrea...hlight=adsense but they use another code there. They add $GLOBALS['adsense_position'] > 0 to the code. But that is not working for me. Please help? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|