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 (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 (http://miguelcosta.com.ar/user.jpg)
Is it a bug? Is there any solution?
Thanks,
Miguel
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 (http://miguelcosta.com.ar/ad_mod_fix.zip)
Sorry for my english again,
Miguel