The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
I figured it out. Here is the code I use if anyone else needs it.
Code:
<?php $root_path = $_SERVER['DOCUMENT_ROOT']; chdir($root_path."/forum/"); require($root_path."/forum/global.php"); require_once($root_path."/forum/includes/functions_login.php"); $username = $vbulletin->userinfo['username']; $userid = $vbulletin->userinfo['userid']; if ($userid !=0) { echo "Hello $username"; } else { echo "No account logged in"; } ?> Thanks KH99! |
Благодарность от: | ||
Simon Lloyd |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|