2014-09-30, 06:07 PM
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.
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.