![]() |
Additional Usergroup based on profile field
Description
This hack allows you to assign an additional usergroup when a new user signs up on your board, based on the selection made for a custom profile field (Single Selection Menu or Single Selection Radio Buttons). You can use this to set different permissions basend on gender for example. Details Files to modify: 1 Templates to modify: 0 Queries to run: 0 Difficulty: Advanced |
I have been waiting for this for quite some time. Thank you so very much. Will have to install very soon.
One question, does this assign a secondary usergroup or a primary? Thanks again for sharing! |
I'm not sure exactly how I will use it, but I'm beginning to formulate an evil plan.
:bandit: |
@jzewatsky
It assigns an additional (eg. secondary) usergroup. Changing the primary usergroup would require quite a bit more work. |
Does this have a default in case they don't pick an option upon registering?
|
Default = None :)
|
Quote:
|
I havent looked at the code, but it only works on signup? What if the user unchecks the option in USER/CP, will he/she be removed from the secondary group? This hack has so much usage. Thanks a lot.
|
If the secondary group is public they can leave it through User CP, yes.
|
If the secondary usergroup assigned by the script is a moderated one, will it treat it as a join request?
|
No, it will just join the group.
But this functionality (create join request if public moderated) could be easily added :) |
can you make this so that it chages the primary usergroup? I am trying to filter underage users based on their birthdate entered.
|
outstanding this should came by default with vbulletin, thanks
|
Quote:
|
How would this hack be modified if I wanted to send a user into a usergroup based upon a text field, instead of radio options and menu options.
Thanks, Paul |
Nevermind, got it working... Once the users sign up at www.xyztraining.com with the correct activation code, they are promoted to the correct group.
Thanks, Paul |
All times are GMT. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|