Current time: 01-09-2009, 06:07 AM Hello There, Guest! (LoginRegister)


Post Reply 
Plugin Question
08-29-2008, 09:29 AM
Post: #1
Question Plugin Question
I've been looking around on the site and through some other plugins, but I can't find anything on how to get the currently logged in users information in a plugin.

I was expecting to use a class like $user->input('uid') or something, and have an array returned with all the information about the current user in.

Does anyone know if this exists?

Thank you.
Find all posts by this user
Quote this message in a reply
08-29-2008, 09:34 AM
Post: #2
RE: Plugin Question
The $mybb->user array contains information on the current user. The UID can be retrieved from $mybb->user['uid']

Who is Yumi?


It's still the KFC crazed person who can't spell names properly with annoying AlTeRnAtInG CaPiTaLs in the NaMe
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: