The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
4.2.4 conditional statements
Hi,
I'm trying to insert ads on the threads page and on posts page. lets say i want an add to show after every 10 threads - I can not figure out the conditional statement for it <vb:if condition xxxxxxxxxxxxxx ads here </vb:if> the same for the posts page. any help is greatly appreciated thanks. --------------- Added [DATE]1493808696[/DATE] at [TIME]1493808696[/TIME] --------------- related to the above, I got this to work in postbit: <vb:if condition="$post[postcount] % $vboptions[maxposts] == 10 OR $post['islastshown']"> <center> {vb:raw mobad2} <br /> <br /> </center> I need to adapt this: <vb:if condition="$post[postcount] % $vboptions[maxposts] == 10 OR $post['islastshown']"> </vb:if> for threadbit (so i can insert the plugin after the 10th thread and the last thread) I searched , but i could not find the correct syntax for the variables. |
#2
|
|||
|
|||
fixed.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|