News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

SOLVED: After Posts Ad appearing after the wrong post

Started by hkymre, May 01, 2007, 05:28:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hkymre

Got an gogle adsense ad set to appear after the 2nd post on all my boards. For some reason it is appearing after the first post.
If I change the setting from 2 to any other number the ad doesn't appear at all.

Any ideas?

Cheers

Mark

Update -  checked the Display.template.php and the code was wrong :-

//Ad Counter
$adcounter =0;
//Ad Counter
$adcounter =0;
// Get all the messages...
while ($message = $context['get_message']())
{
$adcounter++;
$adcounter++;
echo '


Removed the duplication and working fine now.