![]() |
Add URL to profile to Welcome Message in navbar
Add URL to profile to Welcome Message in navbar One of the few things which annoy me about vB is having to look for a link for my profile (either a post or in the WOL), unlike in IPB. So, I wrote this little template edit to make my life, your life and your members life a bit easier ;).The edits: Open up the Navbar template (Admincp -> Styles & Templates -> Style Manager -> Select the "Edit Templates" options in the dropdown next to the skin you wish to edit -> Click "[? ?]" next to "Navigation / Breadcrumb Templates" -> Click [Edit] next to "navbar") Find: PHP Code:
PHP Code:
This will change the: Welcome, Deaths. You last visited: Today at 10:55 AM Private Messages: Unread 0, Total 74. Text into: Welcome, Deaths. You last visited: Today at 10:55 AM Private Messages: Unread 0, Total 74. PLEASE NOTE: This may not work on custom styles. If you have a custom style and wish to apply this hack but can't, post the navbar template (and possibly a link to your site) and I'll see if I can help. Looking for more great vB 3.5 modifications? Some exclusive modifications only available at vBhackers.com: [high]* Deaths BBCode, /you BBCode, WikiPedia BBCode, Bump System Plugin, Today's Posts on Forumhome (numer), Latest X Threads on Forumhome Advanced (with forumname!) and many, many more![/high] |
This is nice. Thanks!
|
No problem ;).
Imo vB should add this or something similar to the default version, as it doesn't increase site load or any of that, it simply shows an extra link. |
If you click the drop down link for Quick Links, it has a My Profile link in there
|
Quote:
1. Some sites removed the quick links dropdown 2. It's still an extra click :p |
I prefer my hack which goes in the usercp :/
|
Quote:
Quote:
|
Quote:
Maybe this'll do as a justification than: This hack is what I described it. A very small addition which saves you and your users a click or two. Ofcourse you can use quicklinks, ofcourse you can scroll to the homepage and click your profile. Heck, you can even send a PM to yourself to get to your profile. Which is fastest though? I'm pretty sure we both know ;) |
Quote:
|
Quote:
|
Quote:
|
Thank you very much, this mod makes VB more intuitive, especially for noobs who used to ask where their user profile is at. This worked perfectly on my VB 3.6.4... the code to replace was the same. Cheers.
|
Actually The original code is a bit flawed...
Try replacing your 1st phrase 1.... Code:
<phrase 1="<a href='member.php?u=$userid'>$bbuserinfo[username]</a>"> $vbphrase[welcome_x]</phrase></strong><br /> Code:
<phrase 1="<a href='member.php?{$session[sessionurl]}u={$bbuserinfo['userid']}'>{$bbuserinfo['musername']}</a>">$vbphrase[welcome_x]</phrase></strong><br /> Jacquii. |
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|