![]() |
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?
|
All times are GMT. The time now is 03:52 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:
|