MyBB Community Forums

Full Version: Stopping users from changing their display group
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to?
ACP>>Users & Groups>>Groups>>Your Group>>Users and Permitions>> uncheck Can use custom user titles?

Sorry my bad wrong answer !!!!!!
Woops, should have googled first. Does this still work? http://community.mybb.com/thread-137062.html

That's not what I meant marcus. I mean their display group. They're in more than one group but I don't want them to be able to change which group is displayed.
Yeah this will definitely work sorry for the wrong answer!!!

Listen you don't have to remove it, you can only show it to some specific group and for the rest it will not be visible!!!!

Relace it with this conditional, this option will only be visible to Admin group!

<if $mybb->user['usergroup'] == 4 then>
{$displaycode}
</if>


This one will show this code only to
Super Moderators
Administrators


<if (!in_array($mybb->user['usergroup'], array(3,4))) then>
{$displaycode}
</if>
Thanks.
I will in a moment, I'll let you know how it goes.

Apparently, users are still able to change it despite me doing that.

http://puu.sh/5NHlj.png

OK, I just removed {$displaycode} altogether.

thanks!