MyBB Community Forums

Full Version: What can I use for X = Username?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to edit this plugin here - http://mods.mybb.com/view/myyoutube

I want it to say X's Favorite YouTube Video instead of Youtube Video but I don't know the code for username.

Plugin file code (straight from the inc/plugin folder):

<snip>

Here's the section that I want to edit:

<td colspan="2" class="thead"><strong>Youtube Video</strong></td>

I want it to say (Username's) Favorite YouTube Video but I don't know how.

Thanks.

Edit - I was editing the core files, not the template. The issue is fixed, global templates > look for the YouTube templates.

-.-
Please next time avoid sharing plugin's code if not necessary and allowed.
Didn't get you what exactly you want.

To display current user the variable is {$mybb->user['username']}
Closed on request