View Full Version : Additional Usergroup based on profile field
Andreas
06-05-2005, 10:00 PM
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
jzewatsky
06-06-2005, 12:55 AM
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!
dsboyce8624
06-06-2005, 12:56 AM
I'm not sure exactly how I will use it, but I'm beginning to formulate an evil plan.
:bandit:
Andreas
06-06-2005, 01:02 AM
@jzewatsky
It assigns an additional (eg. secondary) usergroup.
Changing the primary usergroup would require quite a bit more work.
Boofo
06-06-2005, 01:59 AM
Does this have a default in case they don't pick an option upon registering?
Andreas
06-06-2005, 02:20 AM
Default = None :)
Bad Bunny
06-06-2005, 11:25 AM
Does this have a default in case they don't pick an option upon registering?
I would make it mandatory if using this hack. The field that is.
Aurous
06-07-2005, 08:38 AM
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.
Andreas
06-07-2005, 02:32 PM
If the secondary group is public they can leave it through User CP, yes.
HellRazor
06-08-2005, 02:05 AM
If the secondary usergroup assigned by the script is a moderated one, will it treat it as a join request?
Andreas
06-08-2005, 02:10 AM
No, it will just join the group.
But this functionality (create join request if public moderated) could be easily added :)
gilbert
06-27-2005, 03:54 PM
can you make this so that it chages the primary usergroup? I am trying to filter underage users based on their birthdate entered.
sensimilla
07-06-2005, 06:06 PM
outstanding this should came by default with vbulletin, thanks
Andreas
07-06-2005, 06:35 PM
can you make this so that it chages the primary usergroup? I am trying to filter underage users based on their birthdate entered.
Amykhar has relases a Plugin for vBulletin 3.5 which does that :)
paulfletcher
03-06-2006, 01:59 AM
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
paulfletcher
04-01-2006, 06:11 PM
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.