im trying to add an advert every 10 replys i've got a topic with over 800 pages how to i get it to display every 10 replys?.
if not possible any one able to make some php code that will give me every multiple of 10 up to about 2000 with the right commers
//Display ads on the thread page
if (function_exists("show_threadAds"))
{
$ads = show_threadAds[color=red]()[/color];
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
Inside the red (10) I would try messing around with that to make multiples of 10. I am not a pro but there is no one here answering questions so I thought I would give you a place to start.
Mark