Registered Users

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bubbasmurf
    New Member
    • May 2004
    • 21
    • 3.0.6

    Registered Users

    I have seen in somewhere but can not find it now,but how do you change the default usergroup from registerd users to another group?

    Thanks

    Walt
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    That is hard-coded in the register.php file:

    Code:
    	// assign user to group 3 if email needs verification
    	if ($vboptions['verifyemail'])
    	{
    		$newusergroupid = 3;
    	}
    	else
    	{
    		if ($vboptions['moderatenewmembers'] OR $_POST['coppauser'])
    		{
    			$newusergroupid = 4;
    		}
    		else
    		{
    			$newusergroupid = 2;
    		}
    	}
    If you need help modifying this code then I recommend you post on www.vbulletin.org, the official vB hacking site. We can't officially support code modifications here.

    Comment

    • bubbasmurf
      New Member
      • May 2004
      • 21
      • 3.0.6

      #3
      Thanks that will work..

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        Please note that vB expects the default Registered group to be usergroupid 2. If you change this you may run into unforeseen problems.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...