MyBB Community Forums

Full Version: Default user group?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
how do I set a default user group for new members?
It is set by default after installing your forum, "Members" (GID2)

Edit: Sorry :p
I mean I want to set a different user group to handle new members.
Make any other Usergroup.

Now open ./member.php and find;
	if($mybb->settings['regtype'] == "verify" || $mybb->settings['regtype'] == "admin" || $mybb->input['coppa'] == 1)
	{
		$usergroup = 5;
	}
	else
	{
		$usergroup = 2;
	}
Change 2 in $usergroup = 2; to the Usergroup ID of that newly created usergroup.
so now it should be the new user group when someone signs up?
Yes, exactly. Wink
thanks Yaldaram!!!
No problem at all. =)
hmm it's still putting new members under registered. I followed your directions
(2011-05-23, 04:51 PM)dj83 Wrote: [ -> ]hmm it's still putting new members under registered. I followed your directions

I just checked it again and its working perfectly here.

Make sure you've added a correct UsergroupID.
Pages: 1 2