Log in

View Full Version : Linking to user profile


medicalforums
09-22-2009, 02:00 AM
Sorry if this is a basic question but could not find it in search results

How do I link to the user public profile

I have this code

<td>
$posts[username]
<span class="smallfont">(<a href="search.php?do=finduser&userid=$posts[userid]">$posts[postcount]</a>)</span>
</td>

That cell is showing the username and a link to the posts posted by that specific user

What I want is to have the link to the user public profile rather than his/her posts

Lynne
09-22-2009, 02:46 PM
You didn't say which template this would be in, so I can't give you the exact variables, but this is the code from the postbit:
<a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a>