![]() |
How Can I set a Custom User Title?
I've been trying to mod the code in my forum to set the user title for new users based on a custom Cookie that I've set using the vbSetCookie function.
When the user registers, I try to set the usertitle to the value of the cookie. So in global.php, i have Code:
vbsetcookie('Foo','Bar'); Code:
$userdata->set('customtitle',1); Please help? --------------- Added [DATE]1215530388[/DATE] at [TIME]1215530388[/TIME] --------------- Found it! I wasn't setting the GPC properly. Had to add $vbulletin->input->clean_gpc('c','Foo',TYPE_NOCLEAN); Thanks anyways. |
All times are GMT. The time now is 01:32 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:
|