MyBB Community Forums

Full Version: quick reply.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi friends.

how so, a particular user group can use the quick reply?

please help.
you have to use template conditionals plugin to allow specific group members to view QuickReply (example link)

<if in_array($mybb->usergroup['gid'], array('X', 'Y', 'Z')) then>{$quickreply}</if>
X,Y,Z .. are group IDs of members
hello .m.

what if only a certain user group that could use a quick reply ?
<if $mybb->usergroup['gid'] != X then>{$quickreply}</if> where X is the group ID who cannot use the QuickReply
thanks .m.

This code works fine.