SMF Ads Support Forum
May 21, 2013, 05:49:11 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Help keep this project going by donating.
 
   Home   Help Downloads Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: SOLVED: After Posts Ad appearing after the wrong post  (Read 819 times)
0 Members and 1 Guest are viewing this topic.
hkymre
Newbie
*
Offline Offline

Posts: 1


« on: May 01, 2007, 05: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:
//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, 07:38:13 am by hkymre » Logged
SMF Ads Support Forum
   

.
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFAds.com is not affiliated with nor endorsed by Simple Machines.