Log in

View Full Version : Member info array/DB handler?


SirThom
11-30-2005, 09:01 PM
Is there an array or something with the current users' information in it? Like userid, username, etc.?

Also, where can I find documentation on using vBulletin's database handling system? I just need to run simple queries like SELECT and UPDATE within my own database for a custom script I'm making.

Thanks!!

~ Tom

merk
11-30-2005, 11:25 PM
If you've included the core vbulletin files and everything went well with session handling, use $vbulletin->userinfo for the userinfo array.

Best place to look for info on the db class is to look at vbulletin scripts to see how its done. To get the extra stuff like how to set the db to use, look at class_core.php for the db class.