Version: 1.02, by dstruct2k
Developer Last Online: Apr 2014
Category: Profile Enhancements -
Version: 3.8.x
Rating:
Released: 04-12-2009
Last Update: 04-12-2009
Installs: 17
Uses Plugins
Re-useable Code
No support by the author.
This is a remake of one of my earlier mods, found here.
The original did not support the plugin system, and could not deal with email activation. Now both of these issues have been addressed!
What does this addon do?
This addon will allow admins to set a list of usergroups by usergroupid for new members to be randomly sorted into. You still have to create the usergroups yourself, this addon just sorts people into them.
Why do I want this addon?
If you have any reason to split your members into groups (the first example that comes to mind would be a Harry Potter website) and would like people to be sorted automatically.
Can the system be disabled?
Just disable the addon from your admincp.
Help! I can't find my usergroupid's/this addon doesn't work/I think it ate my cat!
Post your questions here! I'll be glad to assist in any way. Oh, and good luck with the cat.
Changelog 1.0 - Initial release.
1.01 - Bug Fix Release
Fixed issue where "random" was sometimes selecting an invalid usergroup.
Corrected install file to create a setting under Registration Options in vBulletin where the usergroup list could be maintained.
1.02 - Bug Fix Release
Corrected errors in setting validation - Please follow the example when entering your settings.
I have 3.7.2--will this still work? I installed the product, and it says it worked fine, but I can't find where to define which usergroups should be used during the random assignments.
Without the setting/settinggroup in there at all, it would result in the problem Tobes talked about - being unable to alter the settings. This code change adds an option for the random group thing to the registration options and ensures that the list entered is a valid list of numbers separated by commas or spaces (or if they want to disable it they can just enter a blank, this will stop the extra code from running in the plugins which saves on server load - though they can also enter a singular 2).
I'm certain the XML should've included that... I exported the product in its entirety. I suppose there's a bug with Advanced Product Management then!
Re-upped, update sent to all installed users. Thanks Tiger, I'll be doing more addons of varying difficulty over the next little while and I'll definitely keep you in mind if I get stumped again
I suppose there's a bug with Advanced Product Management then!
Ah ha! So that's why your XML has a problem with mixed newline characters. It contains both linux and windows newline characters, which isn't a problem for machines to overlook but with human debugging it's a real pain. At least this modification isn't a very large one.
I have 3.7.2--will this still work? I installed the product, and it says it worked fine, but I can't find where to define which usergroups should be used during the random assignments.
Please update to the latest version, this will correct your issues.
PS - It should work on any version of vB that supports hooks in the registration file. If you're curious, open up your register.php file and look for these 2 text blocks:
If both of these lines already exist in your register.php file, this addon will work fine. You cannot manually add these lines in, they must already exist in your version of vBulletin.
I'd like to use this to assign my users to one of two groups randomly, but how would I go about doing that for members who have already registered? Can this mod do that?