Coinbase

Author Topic: SOLVED: After Posts Ad appearing after the wrong post  (Read 1940 times)

0 Members and 1 Guest are viewing this topic.

Offline hkymre

  • Newbie
  • *
  • Posts: 1
SOLVED: After Posts Ad appearing after the wrong post
« on: May 01, 2007, 04:28:32 am »
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 :-
Code: [Select]
//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.
« Last Edit: May 01, 2007, 06:38:13 am by hkymre »

SMF Ads Support Forum

SOLVED: After Posts Ad appearing after the wrong post
« on: May 01, 2007, 04:28:32 am »
.