I have a user ID, how do I get information about the user?
posted by Stephan Borg on 03 Jul 2005 (03:03 UTC)
Well, in Smarty templates, using the {displayname} tag works a treat. For example, I have a user ID and I want their real name:

The user name is 
{displayname user_id=$gBitUser->getUserId()}

See Smarty Functions for more short-cut functions.

Permalink (referenced by: 0 posts references: 0 posts)