MyBB Community Forums

Full Version: show script to members except guest
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://venturebb.net

I have an anti adblock script for my paid to post forum, but I don't need guest to be affected by the script. Any help? I think I need template conditionals, but don't know where to download the plugin and what code to use.
template conditionals plugin available here => link

your condition code can be like below (loading the script for all except guests)
<if $mybb->user['uid'] != 0 then>
your script code
</if>