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

Login with username, password and session length
News: Welcome to SMF Ads Support Forum
 
   Home   Help Downloads Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Problem with the Ad Management  (Read 2317 times)
0 Members and 1 Guest are viewing this topic.
daichan89
Newbie
*
Offline Offline

Posts: 2


Email
« on: June 08, 2009, 01:54:17 pm »

First, Sorry for my english, is very bad Embarrassed

I have a problem with de Ad Management mod 2.3.4 and SMF 2.0 RC1-1

If you are a visitant the mod found fine, and show the ads: http://miguelcosta.com.ar/ok.jpg

But, if you don't have permissions to see ads ("Enable Ads" is disabled) for example, for guess users, the mod alters the theme: http://miguelcosta.com.ar/user.jpg

Is it a bug? Is there any solution?

Thanks,
Miguel

Logged
daichan89
Newbie
*
Offline Offline

Posts: 2


Email
« Reply #1 on: June 09, 2009, 08:09:38 am »

I could fix it! Grin

I deleted
Code:
echo '</div>';
(Line 402 of install.xml)

And now the mod found fine!

Before:
Code:
<div class="bordercolor">
<div class="clearfix windowbg3 largepadding">', $adpost['type'] == 0 ? $adpost['content'] :  eval($adpost['content']) ,'</div>
</div>';
}
}
[color=red][b]echo '</div>';]]>[/b][/color]
</add>
</operation>
</file>

After:
Code:
<div class="bordercolor">
<div class="clearfix windowbg3 largepadding">', $adpost['type'] == 0 ? $adpost['content'] : eval($adpost['content']) ,'</div>
</div>';
}
}
[color=green][b]]]>[/b][/color]
</add>
</operation>
</file>

Also, the mod found normal with the classic and default themes Wink

Somebody can test it?
http://miguelcosta.com.ar/ad_mod_fix.zip

Sorry for my english again,
Miguel
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.