![]() |
User Titles Don't Update With Usergroup
I'm currently using this code to change the usergroup based on input to a custom field. This works, but for some reason the user title doesn't change with it. Instead the user title that shows up is the user title for the default registered user type. I'm using the register_activate_process hook.
Any ideas? Thanks PHP Code:
|
It looks like this code:
Code:
$userdata->set_usertitle( is called before that hook. So maybe if you make that call again in your code, after you change the usergroup. |
All times are GMT. The time now is 03:19 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:
|