The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I'm making a page that basically outputs the username to use with another script. Is there code that would make this page vB-powered? I'm assuming I can use something like this - Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
chdir('/home/httpd/vhosts/onlinepokerlistings.com/httpdocs/forums');
require_once('./global.php');
php echo $bbuserinfo['username'];
?>
|
|
#2
|
|||
|
|||
|
Anyone?
|
|
#3
|
||||
|
||||
|
That should work but I think it should be
PHP Code:
|
|
#4
|
|||
|
|||
|
Excellent. Thanks!!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|