Version: 1.02, by Paul M
Developer Last Online: Nov 2023
Version: 3.5.x
Rating:
Released: 04-08-2006
Last Update: 05-14-2006
Installs: 12
No support by the author.
This modification is no longer available or supported.
This is a little custom hack originally written for Aeroguy.
This hack allows you to assign a custom usergroup that any users who match a given list of e-mail addresses (or part addresses) will be put into when they confirm their registration - users who are not matched will be still go into the default group (2).
Obviously you must be using e-mail confirmation of registrations for this to work.
Unzip the xml file and import it into vbulletin via the product manager.
History:
v1.01 : First Release. v1.02 : Minor changes, no update necessary.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Just came across this thread. It looks like it does exactly what I need... almost. I'm new to vBulletin - does anyone know how to tweak this so that users get added to additional usergroups instead of moved to a different primary one?
I assume this could be changed by editing this part:
I'm just not familiar enough with vB yet; I assume it could simply be about using a different key/parameter instead of "usergroupid" in the first couple of lines.
I'd appreciate any help or input!
@AshenTemper / case-sensitive issues...
While a vB newbie, I do know PHP, and you could achieve case-insensitivity by editing the code a tiny bit. Open the XML file in a text editor (e.g. Notepad, not Word) and look at like 30 that contains the following:
Code:
if (substr($cruser['email'],strlen($cremail)*-1) == $cremail)
Replace this line with the following:
Code:
if (strtolower(substr($cruser['email'],strlen($cremail)*-1)) == strtolower($cremail))
What this will do is turn ANY capital letter into lowercase on both ends before comparing the two - i.e. both the list you've entered in admin and the email the user signed up with will be converted to lowercase for comparison. I haven't tested this, but it should do the trick.
I realize that you asked this question about a year ago, but maybe this will help others down the road.
Following up on my own question above about adding users to a secondary usergroup instead of moving them to a different primary one:
I found the solution and modified the code of the plugin - it works perfectly. If anyone is interested, let me know and I can upload the modified XML here.