• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to call user information in a PHP file?

Hey guys,

how can I get user information inside of a php file I include via addon?

In vBulletin it was something like:
global $vbulletin;
$username = $vbulletin['username']

How to do this in xenForo?

Have a nice weekend! :)