The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Switch Default User Groups?
I asked this over at vbulletin.com and they sent me over here. I'm just going to copy/paste what I posted there.
---- I did a search and didn't find a definite answer, so I'm asking again. Sorry if this has been asked. I have 2 user groups. One is 'Registered' and the other only allows access to a single forum. When a new user is approved, they are automatically tossed into 'Registered'. Is there a way to automatically put them into the other group instead? Basically I want the other group to be default (or at least selectable). It seems like you should be able to choose the user group for the member you are approving, but that doesn't seem to be the case. My other admins aren't familiar with changing user groups and they really want this feature to be automatic and I really don't want to take the time to set up an exact duplicate of 'Registered' then move all of my users over to it if I don't have to. Make sense? |
#2
|
||||
|
||||
Alright, here is how I did it on my testboard (I had to turn off Verify Email address, but if its on I doubt there will be any problems)
Make a back-up of register.php if you use this - or test it on a testboard Get the ID of the usergroup you want new users to be put into. Open register.php Find; PHP Code:
Find: PHP Code:
Find: PHP Code:
That should work, as I said make a backup of register.php |
#3
|
||||
|
||||
Thank you so much! I will try it out today and let you know how it goes.
|
#4
|
||||
|
||||
hmm... well. I am not sure if I'm missing something, but I made these 3 changes and new users are still getting added to the Registered group.
Is there another way to do this? Can I swap the registered ID number with the new group's ID? |
#5
|
||||
|
||||
Well I am not totally sure why it isn't working for you, it worked fine on my testboard.
Just a quick question, why dont you just edit the Registered usergroup? |
#6
|
||||
|
||||
I think I'm going to have to do that. I just didn't want to spend all that time creating a new group and moving all the settings over there... then changing the Registered group to be exactly the same as the other group... not if there was an easy way to just switch them. Ya know?
I'll just do it manually... cause I am spending more time trying to switch them than it would have taken me to just manually create new groups. Thanks for your help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|