The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|