Version: 1.00, by RLShare
Developer Last Online: Aug 2011
Category: End-User Options -
Version: 3.7.2
Rating:
Released: 07-22-2008
Last Update: 07-22-2008
Installs: 78
Uses Plugins
No support by the author.
What does it do?
Allows a user to be assigned to a certain usergroup based on a drop down menu at registration time.
How is it different from the one posted a couple of days ago by Viet:
Well,
1. This one will work with email verification. So you can still require email verification for all new users and they will be assigned to the appropriate usergroup after their email has been verified.
2. It will automatically draw in the usergroup names for the ids instead of having you type out both the usergroup ID's and usergroup names.
Installation:
1. Import the product
2. Go to AdminCP->vbulletin Options->Vbulletin Options->PB Usergroup Choice on Register
and set up the options the way you want...
Notes:
Will add 1 query when showing the registration form.
Will add 1 more query to the processing of a registration if VB is set up for every user having to verify email addresses.
Fixed:
Forgot table prefix in one call to the database causing database error.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This mod seemed at first glance to do exactly what we wanted, then we realised that it was bypassing the registered users group, and making it the primary group they joined.
We then read further and saw coffees mod of the mod which bypassed adding them to the primary user group but for us it didnt add them into the secondary user group either, although this option was given to join. any ideas?
ideally we would like for users requests to join to be submitted to the group leaders rather than being directly injected into the chosen group, has anyone made this work yet?
I needed (as everybody of course) the user choice to be put in a secondary group, which is the field "membergroupids".
the usergroupid is a one value field and it's meant to have usergroup id's from 1 to 9 (standard users, admin, moderators, registered etc..) which is "2" as default registration.
I modified the "if not email" script to write "2" in usergroupid and the user choice in the membergroupids.
that might work fine..
the problem is when you are using email verification.. (of course, everybody does).
the user is temporarily registered in a "useractivation" table and the userchoice goes into the usergroupid of the useractivation table.
when the activation is completed from the email link the membergroupids "hack" is lost again. so if you want to modify it as you did for the if-not-email script you can't!
I am a fan of this plugin, I currently have it installed, but I would recommend some vBulletin official user to clarify what should be done and what should not by plugins like this.
I'm afraid I'll have to uninstall it before launching my board, I don't want to have to manually modify the usergroup memberships of every user once it's up and running.
ok I think I sorted out the scripts and now I have this plugin adding the usergroup choice on the memberships (secondary usergroup) instead of the primary usergroup (that is defaulted to "2")