MyBB Community Forums

Full Version: Template Editing Hooks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I was looking at a template.... and I was wondering what hooks there are for:
The Username logged in and their profile link...

This is the code I was planning to do
Hey, <a href="{$mybb->settings['bburl']}/{profilelink}">{user}</a> <br />
<a href="{$mybb->settings['bburl']}/{profilelink}">Visit My Profile</a>
I'm confused...
You know how in templates, you add things within {} such as
{$mybb->settings['bburl']}
{$lang->welcome_pms}
{$lang->welcome_current_time}

Well I want the same thing for:
The user logged in
Their profile link
I was planning to put it into a code, so it's easier on our theme.
{$mybb->user[username]}
What about the profile link?
Do you use an SEO plugin?
SEO? I guess I don't
member.php?action=profile&uid={$mybb->user[uid]}
Thanks!