![]() |
Can anyone show me some simple code to read vBulletins cookies? I want to use vBulletins membership list and cookies for my entire site(e.g. for site news commenting) so users dont have to register twice.
I just need code to tell if they are logged in and read the username into $user and password in $password. If they are not logged in I will display a form pointing to user.php and set there username as anonymous. I looked around vb's code for a while before posting this but just got confused. Any help appreciated! (this is for vb 2.0 rc 2 btw) |
Sorry for bumping this thread but can anyone help me out? Must be simple for anyone whos done a bit of php/cookie programming.
Using vb version 2.0 now btw. Most grateful for any help. |
Require global.php in your pages and all they will be read automatically.
|
Thanks I will try that :)
|
All times are GMT. The time now is 02:42 PM. |
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:
|