MyBB Community Forums

Full Version: Echo users refer UID?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there someway which I can echo out the users refer UID?

So that I in header can say, you got refered to this forum by UID: 1 (or whatever UID the user have been refered from?)
Use the following code;
Referrer UID: {$mybb->user['referrer']}
(2012-05-16, 11:57 AM)Yaldaram Wrote: [ -> ]Use the following code;
Referrer UID: {$mybb->user['referrer']}

is there a place i can get information on each of these variables? trying to work out some stuff but dont know where i can find these.
{$mybb->XXX['XXX']}

thanks and sorry for the hijack
(2012-05-16, 02:24 PM)Yaldaram Wrote: [ -> ]http://community.mybb.com/thread-112004-...#pid815003

thanks so much.