How to hide codes

Idk wether this will work, but its worth a try.

Style Manager --> Edit Templates --> BBCode Layout Templates --> bbcode_code

Add this at the very top of the template:
HTML:
<if condition="$show['guest']">
You need to register to see coded content. click <a href="register.php">here</a> to register
<else />

Add at the very bottom:
HTML:
</if>
 
I was wondering, is there any way to make the code so that I can block different Usergroups, not just one.

Thanks.
 
Back
Top