![]() |
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. |
fixed.
|
All times are GMT. The time now is 01:05 AM. |
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:
|