The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Registration process: Allow user to select user group?
I'm looking to modify the registration process slightly but I'm not sure where to begin with it. When users sign up for the board I'm designing, they need to be able to select the type of user they are. Based on this selection, they're assigned to one of several corresponding user groups or redirected to the subscriptions page (one of the options is a recurring paid monthly subscription). I'm thinking this would need to be a second step to the registration process (presented to them after they verify their account).
How could I add this so it happens automatically, like after they click the confirmation URL for their account? |
#2
|
|||
|
|||
The only step I can give you on this is in register.php lines 346 -> 357.
That piece of code: PHP Code:
My guess would be that you would want to manipulate that code (or use one of the plugin hooks) to change $newusergroupid to the usergroup ID selected by the user. |
#3
|
|||
|
|||
This would be a nice feature to have working
|
#4
|
||||
|
||||
There was a mod for this in 3.7
https://vborg.vbsupport.ru/showthread.php?t=186076 You could ask the developer to upgrade the mod for 4.0 compatibility. |
#5
|
||||
|
||||
You could use my mod.. and preset usergroups in admincp
then change the title with instructions in html format.. like Enter wanted usergroup :
and then the invitation codes just match accordingly,, like 1 = wankerg group A, 2 group b etc etc.. .. And it runs on vb 4... https://vborg.vbsupport.ru/showthread.php?t=238681 |
#6
|
||||
|
||||
Hey razec,
What did you end up doing? I want to do the same thing, but am not sure what would be the best method. Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|