Log in

View Full Version : Get user name detail


vidya
12-02-2008, 09:54 AM
Hi i am trying to add the username details on a non vb page which has the following code

'user_id' => ' space i can include some code to get user name',
'name' => 'MSN',
'gender' => '1',
'age' => '35',
'country' => 'United States',
'city' => 'New York',

how can u get the username and other details.is it possible atleast user name...

--------------- Added 1228221292 at 1228221292 ---------------

Anyone ? plz :(

Lynne
12-02-2008, 02:33 PM
If you include global.php in your page, then the $userinfo array should be available to you. See these articles - How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009)

vidya
12-02-2008, 04:26 PM
thanks lynne.i will have a look :)