MyBB Community Forums

Full Version: Get user name every time they change
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm make a custom page for my forums and I can't figure out how to get the username to update if someone changes their username.

How would I go about doing this?

I've thought and researched this for a little bit now, so I decided I would ask here.

What I have tried:

{$mybb->user['username']} // This gets YOUR own username.


Nothing else seemed like it would make sense to use.
I have no idea what you mean, $mybb->user['username'] stores current's user username available at the time when the PHP script is run. WHat exactly do you need?