News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

Problem with the Ad Management

Started by daichan89, June 08, 2009, 01:54:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

daichan89

First, Sorry for my english, is very bad :-[

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


daichan89

I could fix it! ;D

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

And now the mod found fine!

Before:

<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:

<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 ;)

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

Sorry for my english again,
Miguel