PDA

View Full Version : need help w/ code to bring up a profile


Chimpie
08-08-2009, 04:06 PM
This should be a simple one, I just can't figure it out.

I need the code to bring up the member's own profile as if it were being viewed by someone else.

This is what I have...

<tr><td class="thead" nowrap="nowrap"><div style="float:left;margin-right:5px;"><img border="0" src="$stylevar[imgdir_misc]/nav_icons/application_form.png" alt="Your Profile" /></div><a class="smallfont" href="/forums/profile.php">View Your Profile</a></td></tr>

Thanks!

HMBeaty
08-08-2009, 04:10 PM
Try this....
<tr><td class="thead" nowrap="nowrap"><div style="float:left;margin-right:5px;"><img border="0" src="$stylevar[imgdir_misc]/nav_icons/application_form.png" alt="Your Profile" /></div><a class="smallfont" href="member.php?$session[sessionurl]u=$userinfo[userid]">View Your Profile</a></td></tr>

Chimpie
08-08-2009, 04:30 PM
It's not pulling the id up, but it pulls up the rest of the code.

HMBeaty
08-08-2009, 04:37 PM
Ok, try this one...
<tr><td class="thead" nowrap="nowrap"><div style="float:left;margin-right:5px;"><img border="0" src="$stylevar[imgdir_misc]/nav_icons/application_form.png" alt="Your Profile" /></div><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View Your Profile</a></td></tr>

Chimpie
08-08-2009, 05:26 PM
It was close. I had to add /forums to make it work for my site but we got it.

Thanks!