MyBB Community Forums

Full Version: Display userprofile variable in templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, this is my first topic of support in community MyBB.

I need to show the usernameĀ of each user's profile, i don't want the {$mybb->user['username']} variable because that's not what i'm looking.

{$mybb->user['username']} displays the name of the user logged; however, i need a variable that displays the username of the profile that i or someone visit.

Normally I would use {$formattedname} but that variable does not work in a global template generated by a plugin, thatĀ then the variable generated, that contains all the global template, is inserted in the member_profile template.

Any way to do or get what I want?

Regards.
What exactly are you trying to achieve?

Do you want to show the latest visitors? If so that functionality is included in this plugin.
http://community.mybb.com/mods.php?action=view&pid=198