PDA

View Full Version : Linking to user's own profile


DivineMessenger
02-24-2010, 03:09 AM
How can I make the "home" tab link to the user's profile. Not the "edit profile" page but to the front end of the profile that all members see.

ChopSuey
02-27-2010, 03:04 PM
There is already two profile links at the top right lol i think thats enough :p

compwhizii
02-27-2010, 03:10 PM
In navbar, Look for
<a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>

Replace with

<vb:if condition="$show['member']"><a class="navtab" href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase forum}</a><vb:else /><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a></vb:if>

Didn't test it though.

There is already two profile links at the top right lol i think thats enough :p

I didn't know you were the god of link placement. If he wants to, he can.