The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi i'm just looking for a way to set the cookie when a user registeres? I've tried adding
Code:
vbsetcookie('userid', $vbulletin->userinfo['userid'], true, true, true);
vbsetcookie('password', md5($vbulletin->userinfo['password'] . COOKIE_SALT), true, true, true);
Thanks very much Dave |
|
#2
|
|||
|
|||
|
I tried it and it worked for me, but it does add the value of $config['Misc']['cookieprefix'] (from includes/config.php) to the front of the name so that the cookies were named bbuserid and bbpassword.
|
|
#3
|
|||
|
|||
|
Sorry just tried it again and it did indeed work, must have been hit by the stupid stick this am
Cheers Dave |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|