Quote:
Originally Posted by Paul M
Wow, 6.5 year old thread .....
As posted, that will generate at least two php warnings, it should be 'showthread' not showthread (i.e. with single quotes), postcount should also be [single] quoted.
|
Thanks. The ad shows but does not repeat every 5 posts -- it only shows after the 5th post.
Code:
if condition="(THIS_SCRIPT == 'showthread') AND (($post['postcount'] % 5) == 0)
Is this the correct conditional for showing an ad every x number of posts?