![]() |
Nobody has seniority at registration time, so no. This mod can't help you. You can use the built in promotion system, I believe.
Amy |
Quote:
Marry Me? Rabbit (with respect) |
Doh. Sorry for my stupid initial response. Let me look at it a bit and get back to you. I'm multitasking right now.
|
Quote:
Quote:
Thx Will Check Back LATER!! Rabbit |
Quote:
|
Nice mod I wondered how to do this.
I'm using this mod to ask the user if they wish to receive the site newsletter or not. This works fine on registration but they can't change their minds. So I added the option and two plugin's for the user to select yes or no on update profile. The problem I'm having is it does not always work I have to select Yes or No and save twice for the plugin to actually do the job of moving the user from one group to the other. Is there anyway to combine these two options into one and is there a more sure way to ensure that the update actually occurs? Hook Location profile_updateprofile // Get the value for field 5 $user = $db->query_first(" SELECT field5 FROM " . TABLE_PREFIX . "userfield WHERE userid = " . $vbulletin->userinfo['userid'] . " "); if ($user['field5'] == 'Yes') { $userdata->set('usergroupid', 2); } AND // Get the value for field 5 $user = $db->query_first(" SELECT field5 FROM " . TABLE_PREFIX . "userfield WHERE userid = " . $vbulletin->userinfo['userid'] . " "); if ($user['field5'] == 'No') { $userdata->set('usergroupid', 44); } |
Hey there,
This is exactly what I want to do, but I'm having a little trouble with it. I'm checking the correct field for the correct value (field6 is populating properly & I'm checking for the right values). It's hooked at the right place, register_activate_process. I am using vB 3.5.2 - is that the problem? If so, any thoughts on how to get this to work? Here's the code I'm using: Code:
<?xml version="1.0" encoding="ISO-8859-1" ?> When I click the activation link in the email, a blank window pops up with this address... http://www.mydomain.com/forums/regis...=15&i=80639843 ...but it freezes there. The user gets activated, but is not assigned to the desired usergroup. Thanks a bunch for any help. |
fixed
|
Great plugin Amy!
I'm wondering if you (or any other able person) would help me? I want to use the plugin, but I don't have email verification turned on. What do I need to change to make this work without email verification? Val |
Can anyone help me? :)
|
All times are GMT. The time now is 05:30 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:
|