![]() |
Conditional for putting ads after 1st and third posts
Right now, I have ads appearing after the first post in a thread which looks like this...
Quote:
I want to make a conditional that also places an ad after the 3rd post. Can I change the conditional by adding an OR? Quote:
--------------- Added [DATE]1323637862[/DATE] at [TIME]1323637862[/TIME] --------------- I think I have it, but I'm to chicken to test it out live. How does this look? <if condition="$post[postcount] % $vboptions[maxposts] == 1 || $post[postcount] % $vboptions[maxposts] == 3 AND !$bbuserinfo[userid]"> |
All times are GMT. The time now is 11:05 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:
|