The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Google Ads in Postbit on EVERY PAGE
<vb:if condition="in_array($post['postcount'], array(1,5,10,16,20,25,31,35,40,46,50,55,61,65,70,7 6,80,85,91,95,100,106))">
Right now i am using this condition to display ads, but it is not effective if i have more pages. I have 15 posts per page in a thread, and i want to apply the adsense code on every page of the thread on posts 1, 5, and 10 I know that i can display the ad in 1st post of every page using this condition <vb:if condition="$post[postcount] % $vboptions[maxposts] == 1"> But i still haven't found an efficient method to display on posts 5 and 10 of every page. |
#2
|
||||
|
||||
https://vborg.vbsupport.ru/showthread.php?t=249274
Check post #2 for more info it might have the answer your looking for . |
#3
|
|||
|
|||
Is there a condition where as if the image or video is present in the the post, dont execute the code? such as ads?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|