![]() |
Impossible to be sure without some sort of context.
What code is around it, where have you actually put this ? |
Quote:
|
I just added this code to the very end of my postbit_legacy template and it shows after post 5, 10, 15, and 20 (other than the formatting being bad):
HTML Code:
<vb:if condition="(THIS_SCRIPT == 'showthread') AND (($post['postcount'] % 5) == 0)"> |
Thank you Lynne. It works by itself but when I combine it with another conditional to only shoe the ad in specific forums it only shows the ad once:
Code:
<vb:if condition="(THIS_SCRIPT == 'showthread') AND (($post['postcount'] % 5) == 0) AND in_array($GLOBALS['forumid'], array(419,232))"> |
How about you post the full code you are using.
First you post some snippet and claim it doesnt work (when it looks fine). Lynne uses that exact same code, which works, and now suddenly it works for you ? Except you now you claim some other code doesnt work (which again, on the face of it, looks fine). We cannot help you if you dont give us all the information. |
All times are GMT. The time now is 01:56 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:
|