Log in

View Full Version : I need some coding help on navbar (Profiles)


Ash Ketchum
07-16-2008, 09:20 PM
I'm trying to add a link on navbar that links to the members profiles. But what code do I put? I put this:
<td class="vbmenu_control"><a href="member.php?username=$userinfo">Profile</a></td>It says" This user has not registered and therefore does not have a profile to view."


What code am I suppose to put? Thanks!

Dylanblitz
07-16-2008, 09:45 PM
I'm trying to add a link on navbar that links to the members profiles. But what code do I put? I put this:
<td class="vbmenu_control"><a href="member.php?username=$userinfo">Profile</a></td>It says" This user has not registered and therefore does not have a profile to view."


What code am I suppose to put? Thanks!

You almost got it. The variable is $bbuserinfo and it is an array so you need to tell it what you want to use.

<td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">Profile</a></td>

Ash Ketchum
07-16-2008, 10:27 PM
You almost got it. The variable is $bbuserinfo and it is an array so you need to tell it what you want to use.

<td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">Profile</a></td>
Thanks dude! I really apperciate it. =)