MyBB Community Forums
ads for ONLY guest - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: ads for ONLY guest (/thread-133224.html)

Pages: 1 2


RE: ads for ONLY guest - both4x060 - 2013-01-22

ok wait i try Smile

no bro, not work :'(

hey can someone help me?


RE: ads for ONLY guest - Krytic - 2013-01-22

In templates:

<span class="ad{$mybb->user['usergroup']}"><script type="text/javascript" src="http://www.******.com/script/java.php?option=rotateur&rotateur=113299"></script></span>

In global.css:

.ad, .ad2, .ad3, .ad4, .ad5, .ad6 /*Continue for however many groups you wish to HIDE the ads from. The number represents the GID of the group*/ {
display:none;
}

Not the best solution, but short of installing MyAdvertisements or PHP in Templates, it's probably the best idea.


RE: ads for ONLY guest - both4x060 - 2013-01-22

hey thanks!

do you think it will work?


RE: ads for ONLY guest - Adobe - 2013-01-22

(2013-01-22, 02:55 PM)both4x060 Wrote: hey thanks!

do you think it will work?

Why not give it a try and check if it works for your board or not?


RE: ads for ONLY guest - both4x060 - 2013-01-22

yeah! everything is solved! thanks guys!!!