The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
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) Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
Require global.php in your pages and all they will be read automatically.
|
|
#4
|
|||
|
|||
|
Thanks I will try that
|
![]() |
|
|