![]() |
Hey,
I would like to have a the usergroup be based on the email domain. i.e. if the register with one domain they get put in a special usergroup but if it's any other domain they are simply put into registered users. Is this possible with this plugin? Thanks! |
Hello. You can definitely set it up so if a user is from a certain domain they get put into a special user-group. You just setup a text field, and point this script towards this text field, and your good to go. You could probably setup the script to do an "if and or" statement. If it's from this domain do this, otherwise do this. But I'm not the person to ask about how to program this... But it can be done.
Thanks, Paul |
Do you know off the top of your head what the variable is that holds the users email address? I could just get the domain off of that.
|
I don't know off the top of my head what this variable is. You could try contacting vBulletin.com support.
Thanks, Paul |
Anyone got any links to a similar system that would allow users to either switch their primary usergroup or secondary at any time via the control panel?
|
Thank you for this mod. It was just what I was looking for :)
on a side note though, if you don't have email confirmation, do you know which hook to use? |
I have a question is there anyway to mass add the users that have already registered to that usergroup?
if i ran this as a cron would it do it? // Get the value for field 11 $user = $db->query_first(" SELECT field11 FROM " . TABLE_PREFIX . "userfield WHERE userid = " . $vbulletin->userinfo['userid'] . " "); if ($user['field11'] == 'No') { $userdata->set('usergroupid', 18); } or if i add it as a hook somewhere else on the site? like forumhome? |
Can anyone tell me what other hooks I can use this doesnt work on our forums if they activate manually.
|
Quote:
i dont use email verification so is there any other solution to make this hack work cause i need it... |
How is this for 3.6? I absolutely need this one.
|
All times are GMT. The time now is 06:29 AM. |
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:
|