2016-08-06, 05:42 AM
I'm stuck on trying to figure out how to link my avatar and username into my profile section.
This is what you see after you log into the website. I'm trying to display my own information on the left side of the page.
https://gyazo.com/ba4bc50438e991763f65f761485025fa
So I started exploring the codes behind "member_profile" template and "usercp_profile" template.
As I'm trying to find a shortcut to linking my avatar and username, I can't figure out why it doesn't work.
Avatar:
{$avatar}
<img src="{$useravatar['image']}" alt="{$lang->avatar_mine}" title="{$lang->avatar_mine}" {$useravatar['width_height']} />
or
Username:
{$username}
<a href="#">{$formattedname}</a>
Any idea how I can make this work? I've done this before (like 3 years ago), so I'm trying to figure out how to do this again.
I'm working on adding the total amount of posts as well.
This is my header_welcome_block so far
https://gyazo.com/9e747c97e7b212a817fb3ed70190694b
Username/Avatar/Posts not working at all. I'm obviously over-looking something wrong.
This is what you see after you log into the website. I'm trying to display my own information on the left side of the page.
https://gyazo.com/ba4bc50438e991763f65f761485025fa
So I started exploring the codes behind "member_profile" template and "usercp_profile" template.
As I'm trying to find a shortcut to linking my avatar and username, I can't figure out why it doesn't work.
Avatar:
{$avatar}
<img src="{$useravatar['image']}" alt="{$lang->avatar_mine}" title="{$lang->avatar_mine}" {$useravatar['width_height']} />
or
Username:
{$username}
<a href="#">{$formattedname}</a>
Any idea how I can make this work? I've done this before (like 3 years ago), so I'm trying to figure out how to do this again.
I'm working on adding the total amount of posts as well.
This is my header_welcome_block so far
https://gyazo.com/9e747c97e7b212a817fb3ed70190694b
Username/Avatar/Posts not working at all. I'm obviously over-looking something wrong.