Author Topic: Any variable like "{user_profile_link}"?  (Read 2873 times)

0 Members and 1 Guest are viewing this topic.

Offline www.girls-on-bikes.com

  • Full Member
  • ***
  • Posts: 145
    • View Profile
    • http://www.girls-on-bikes.com/
Any variable like "{user_profile_link}"?
« on: June 12, 2003, 10:18:52 PM »
Hello All,
I'm currently scooping user id's out of a table, and I want to make links to their profiles.  How would I go about using something like {user_profile_link} ?

Thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Any variable like "{user_profile_link}"?
« Reply #1 on: June 12, 2003, 11:15:44 PM »
u must first register it like this:
Code: [Select]
$site_template->register_vars("user_profile_link", $site_sess->url(ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$user_id));
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)