Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] {$mybb->user['avatar']}
#10
Not Solved
(2012-11-20, 06:26 PM)NNT_ Wrote:
(2012-11-20, 04:32 PM)Vernier Wrote: It's defined on line 110 of ./inc/class_session.php and referenced on line 73. Smile

No, I don't mean that I can't find that fuction. I mean I can't find anything relate to {$mybb->user['avatar']}.

	function load_user($uid, $password='')
	{
		global $mybb, $db, $time, $lang, $mybbgroups, $session, $cache;

		[...]

		$uid = intval($uid);
		$query = $db->query("
			SELECT u.*, f.*
			FROM ".TABLE_PREFIX."users u 
			LEFT JOIN ".TABLE_PREFIX."userfields f ON (f.ufid=u.uid) 
			WHERE u.uid='$uid'
			LIMIT 1
		");
		$mybb->user = $db->fetch_array($query);

		[...]

		return true;
	}

There it is ( $mybb->user ).


Messages In This Thread
{$mybb->user['avatar']} - by NNT_ - 2012-11-18, 05:34 AM
RE: {$mybb->user['avatar']} - by Omar G. - 2012-11-18, 06:47 AM
RE: {$mybb->user['avatar']} - by NNT_ - 2012-11-18, 08:17 AM
RE: {$mybb->user['avatar']} - by Omar G. - 2012-11-18, 08:22 AM
RE: {$mybb->user['avatar']} - by NNT_ - 2012-11-19, 02:06 PM
RE: {$mybb->user['avatar']} - by Omar G. - 2012-11-19, 10:23 PM
RE: {$mybb->user['avatar']} - by NNT_ - 2012-11-20, 01:15 PM
RE: {$mybb->user['avatar']} - by Vernier - 2012-11-20, 04:32 PM
RE: {$mybb->user['avatar']} - by NNT_ - 2012-11-20, 06:26 PM
RE: {$mybb->user['avatar']} - by Omar G. - 2012-11-21, 03:08 AM
RE: {$mybb->user['avatar']} - by Nebulon Ranger - 2012-11-21, 04:04 AM
RE: {$mybb->user['avatar']} - by Leefish - 2012-11-21, 04:12 AM
RE: {$mybb->user['avatar']} - by NNT_ - 2012-11-21, 05:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)