Ok, and for future reference here is the source:
Code:
<?php
chdir('/path/to/your/forums');
require_once('/path/to/your/forums/global.php');
// Add the usual require stuff here
$wanted_userid = $_GET['u']; // The user id of the user you want the data from
$userinfo = fetch_userinfo($wanted_userid);
$posts = $userinfo['posts'];
$username = $userinfo['username'];
$joindate = vbdate($vbulletin->options[dateformat], $userinfo['joindate']);
?>
<h1>
<?php print $username; ?>
</h1>
Posts: <?php print $posts; ?><br />
<?php print $username; ?> Joined On: <?php print $joindate; ?><p>
Custom Profile Field #1: <?php print $userinfo['field4']; ?><br />
**NOTE** Change "chdir('/path/to/your/forums');" to the full path to your forums directory and "require_once('/path/to/your/forums/global.php');" to the full path to the global.php file.
- Pc1203