The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
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); $userdata->set('usertitle',$vbulletin->GPC[COOKIE_PREFIX . 'Foo']); 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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|