MyBB Community Forums

Full Version: disable (Set as Display Group) for Registered
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey.

I would like to disable the option that forum users can edit their own display group.

"usercp.php?action=usergroups" --> Registered (Set as Display Group
How to disable / remove the "Set as Display Group"? 
[Image: 687474703a2f2f7075752e73682f73524a41472f...322e706e67]

Gone through the configs to see if I can find it, but can't. Also tried searching at google. 
template => usercp_usergroups_memberof_usergroup_setdisplay
 (<a href="usercp.php?action=usergroups&amp;displaygroup={$usergroup['gid']}&amp;my_post_key={$mybb->post_code}">{$lang->set_as_display_group}</a>)
you can remove the content & save the template (as empty template)

[templates guidance]
Ok
But now i have another problem...

I added a member with Group Memberships. Now he has access. The color is from Registred Members and he can't modify...

http://prntscr.com/f5eqww
How put Display from Operator Xenon?

I want to remove "Set as Display Group" only for Registred Members, not for all

i found : https://github.com/megan-starr9/MinorPlu...oupfix.php
display group for specific user can be changed through forum admin panel (by editing user profile)

template conditionals plugin can be used to remove "Set as Display Group" for registered members only

with the plugin installed:
template => usercp_usergroups_memberof_usergroup_setdisplay
<if $mybb->user['usergroup'] <> 2 then>
(<a href="usercp.php?action=usergroups&amp;displaygroup={$usergroup['gid']}&amp;my_post_key={$mybb->post_code}">{$lang->set_as_display_group}</a>) 
</if>
Doesn't work
http://prntscr.com/f5fc0f
Same problem

i have plugin templatecond

up!!!
up!!!!!
up!!!
help??
What is the problem? If you setted "Donator Xenon" as display group it's normal that it still the displayed group.
You should run this query in the database:
UPDATE mybb_users SET displaygroup=0 WHERE usergroup=2
I want to remove Display as a group only for group Registred Member....
Pages: 1 2