Announcement

Collapse
No announcement yet.

Registered Users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #3
      Thanks that will work..

      Comment


      • #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...
        X