Support > Bugs

Problem with the Ad Management

(1/1)

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

--- Code: ---echo '</div>';
--- End code ---
(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>
--- End code ---

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>

--- End code ---

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

Navigation

[0] Message Index

Go to full version