View Full Version : How do I determine the user ID?
RedGTiVR6
01-03-2007, 05:41 PM
:classic: Not the user name, but rather the user ID number...
hope I'm using the right wording...
RedGTiVR6
01-04-2007, 08:44 PM
anyone?
calorie
01-04-2007, 09:11 PM
Run a query:
# vb3_ is your vB table prefix
SELECT userid FROM vb3_user WHERE username = 'RedGTiVR6';
Use one of these:
$vbulletin->userinfo['userid'] in PHP code
$bbuserinfo[userid] in vB template
Shazz
01-04-2007, 09:14 PM
Can't you also view it when viewing someones profile it will say in the address bar
member.php?u=[ID number here]
RedGTiVR6
01-05-2007, 11:28 AM
Yes, it can be found at the top when editing a user. I kept looking on that page, just couldn't find it...finally found it though.
Thanks!
Shazz
01-05-2007, 01:09 PM
Your welcome :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.