2016-04-07, 09:45 PM
So he is an interesting question. For header_welcomeback_member I added an avatar that has a link that goes to the profile of whoever clicks it. Here is the code:
Now when you click this link it will bring you to your own profile but in the URL after the domain is this
Now my question is can this be fiddled with to make it so when you click the link the URL will show your username? For example: www.mybb.com/user-scoopy
I have google SEO installed so profiles display the "/user-scoopy" just not for the avatar code for the header. Any ideas? One of these days I will decide to learn to code stuff like this...
<span style="text-align:left;"> <a href="{$mybb->settings['bburl']}/member.php?action=profile"> <img class="panelavatar" style="vertical-align: top; margin-top: 5px;" src="{$mybb->user['avatar']} /images/default_avatar.png" height="40"></a></span>
Now when you click this link it will bring you to your own profile but in the URL after the domain is this
Now my question is can this be fiddled with to make it so when you click the link the URL will show your username? For example: www.mybb.com/user-scoopy
I have google SEO installed so profiles display the "/user-scoopy" just not for the avatar code for the header. Any ideas? One of these days I will decide to learn to code stuff like this...