![]() |
need help w/ code to bring up a profile
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... Code:
<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> |
Try this....
HTML Code:
<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> |
It's not pulling the id up, but it pulls up the rest of the code.
|
Ok, try this one...
HTML Code:
<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> |
It was close. I had to add /forums to make it work for my site but we got it.
Thanks! |
All times are GMT. The time now is 05:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|