![]() |
Show Adsense After post number "x" and "x"
Works With Vbulletin V3.7.2 This is a very simple template modification have similar to absence hack and the random postbit advert hack. But you have more control with this hack as you change the option for where the adverts will appear "after which message" Add one of these codes to the bottom of your postbit template. Here are the codes: Code:
<if condition="$post[postcount]==1"> Code:
<if condition="$post[postcount]==1"> Also there is another way for doing this: Code:
<if condition="in_array($post['postcount'], array(1, 5, 10, 15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100))"> |
awesome Reserved
|
any idea how to get rid of this space?
http://img250.imageshack.us/img250/3...led8cj1.th.jpg heres the code i added at the bottom Quote:
|
that screenshot is hardly viewable...
|
Quote:
https://vborg.vbsupport.ru/ |
The space is the natural space that happens between each post. I'll try to add a space to the top of the advert for you.
|
$spacer_open and $spacer_close is the problem.
|
I tried to remove them but it didn't help. There was still a gap on the bottom side.
|
Simply add <br /> before $spacer_open. Example:
<br /> $spacer_open <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> |
its really a useful stuff !
thanks for sharing :) |
thanks for sharing
|
does anyone know how to get rid of that space on the left and right of the ad box?
http://img250.imageshack.us/img250/3...titled8cj1.jpg |
At a guess (I don't have this installed), change:
google_ad_width = 468; To whatever your default template scaling is. So something like: google_ad_width = 95%; |
PHP Code:
and neither condition worked for anything but the first post. |
Thanks...
|
at last thanks man
|
I'm trying to set a subscription for my mebers. I want thoose who pay a small fee to have no ads when they are logged. How do I do that?
I did placed this code, but still have ads upon payment complete: Code:
<if condition="in_array($post['postcount'], array(1, 5, 10, 15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100))"> |
any way of exclude some forums ID??
I tryed this conditional: Quote:
but it doesn't work. any ideas?? |
All times are GMT. The time now is 06:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|