The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi!
I'm making external php script and I need to get some information about user, etc. In VB4 for example, I did it like this to check if user is logged in or not: HTML Code:
require_once('./global.php');
global $db;
global $vbulletin;
$userid = $vbulletin->userinfo["userid"];
if ($userid == "")
die;
Thanks! |
|
#2
|
||||
|
||||
|
try to use that code
PHP Code:
|
|
#3
|
|||
|
|||
|
Thank you! It's working!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|