Back to vBulletin 3.5 Template Modifications

Add URL to profile to Welcome Message in navbar
Mod Version: 1.00, by Deaths

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 2
Released: 30 Mar 2006 Last Update: Never Downloads: 2
Not Supported Template Edits  

Add URL to profile to Welcome Message in navbar

http://www.vbhackers.com

Introduction:
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:
<div class="smallfont">
            <
strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
            <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
            <if 
condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
        </
div
Replace it with:
PHP Code:
<div class="smallfont">
<
strong>
<
phrase 1="<a href='member.php?u=$userid'>$bbuserinfo[username]</a>"$vbphrase[welcome_x]</phrase></strong><br />
<
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if 
condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
</
div
Press save!

This will change the:

Welcome, Deaths.
You last visited: Today at 10:55 AM
Private Messages: Unread 0, Total 74.

Text into:
Welcome, http://LINK_TO_PROFILE.
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 http://www.vbhackers.com:

http://www.vbhackers.com/forum/index.php?t=3598, http://www.vbhackers.com/forum/index.php?t=3597, http://www.vbhackers.com/forum/index.php?t=3594, http://www.vbhackers.com/forum/index.php?t=3319, http://www.vbhackers.com/forum/index.php?t=3223, http://www.vbhackers.com/forum/index.php?t=3593 and http://www.vbhackers.com/forum/index.php

Download

No files for download.

Similar Mods

Profile Enhancements Profile Welcome Message - Users can add a message at the top of their profile vBulletin 3.7 Add-ons
Profile Enhancements UnC Stylish Profile Navbar vBulletin 3.7 Template Modifications

vblts.ru supports vBulletin®, 2022-2024