Quote:
Originally Posted by chriske
Same here!
If anyone can tell me how to hide the canned replies for other users then mods please do 
|
go to your admincp>style manager> the style you use for your site> edit templates> cr_dropdown
and add an if condition around the link of code that's in the box
example:
Code:
<vb:if condition="is_member_of($bbuserinfo, 7)">
<div> {vb:raw crtest} </div><br />
</vb:if>
change the bbuserinfo based on your own usergroup id's you can view your usergroup id's by loading:
http://www.yourdomain.com/admincp/usergroup.php?do=modify
could also be
http://www.yourdomain.com/forums/admincp/usergroup.php?do=modify
alternatively you can Add multiple Usergroups by entering a comma between usergroup id's for the code to be visible ONLY to Mods & Supermods you would use:
Code:
<vb:if condition="is_member_of($bbuserinfo, 5,7)">
<div> {vb:raw crtest} </div><br />
</vb:if>
If you want to limit this to use in Certain forums only, use a forum based
If Conditional
such as:
Code:
Untested:
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">
<div> {vb:raw crtest} </div><br />
</vb:if>
Where numbers listed in "array" would be forum Id's