Author Topic: User Box  (Read 3028 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaotic

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • Site Jump Photo Post Community
User Box
« on: June 03, 2007, 02:30:27 PM »
Ok I want to add a link in the User Box to take the registered member of my site to their profile where they can see the info that any other user can see if they click on their name...

Example: http://site-jump.com/photopost/member.php?action=showprofile&user_id=1

I can not figure out what to add so that the code in the user box will take that user to their profile.

I would like to have it be like this:

» {lang_lightbox}
» {lang_control_panel}
» {lang_logout}
» My Profile (This would be the link to take them to their profile)

Any help would be much appreciated :D

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: User Box
« Reply #1 on: June 03, 2007, 02:52:00 PM »
Hi,

open includes/page_header.html

search:
Code: [Select]
  "url_member" => (!empty($url_member)) ? $site_sess->url($url_member) : $site_sess->url(ROOT_PATH."member.php"),after add:
Code: [Select]
  "url_member_profile" => $site_sess->url(ROOT_PATH."member.php?action=showprofile&user_id=".$user_info['user_id'].""), 
open templates/default/user_logininfo.html

add:
Code: [Select]
      &raquo; <a href="{url_member_profile}">My Profile</a>

cu
KUrt

Offline Chaotic

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • Site Jump Photo Post Community
Re: User Box
« Reply #2 on: June 03, 2007, 03:11:37 PM »
Dude your Awesome...

I never thought to look in the page_header.php file


Thank you  8)