PDA

View Full Version : Which for which? $bbuserinfo[] vs $userinfo[]


doob
03-28-2014, 12:51 AM
I'm trying to understand the methodology of the use of $bbuserinfo vs. $userinfo in the templates.

Zachery
03-28-2014, 01:01 AM
$bbuserinfo current user browsing the site
$userinfo data related user in this template's output, not global, not always available.

doob
03-28-2014, 01:49 AM
is $bbuserinfo global?

ozzy47
03-28-2014, 01:51 AM
It should be pretty much global in any default vB templates.

doob
03-28-2014, 02:30 AM
Thanks a bunch Zachary and ozzy47. Just too many php files to look through...

:)

ozzy47
03-28-2014, 02:48 AM
Not a problem, glad to help. :)