Author Topic: Image Comments "comment_user_name" as profile link ?  (Read 3539 times)

0 Members and 1 Guest are viewing this topic.

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Image Comments "comment_user_name" as profile link ?
« on: January 13, 2006, 03:44:38 PM »
I've a simple question, how make the tag {comment_user_name} on image comments (comment_bit.html) as profile link ?


Cheers ;)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: Image Comments "comment_user_name" as profile link ?
« Reply #1 on: January 13, 2006, 03:46:48 PM »
Follow this tutorial :

http://www.4homepages.de/forum/index.php?topic=10897.0

it should help you out.

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
Re: Image Comments "comment_user_name" as profile link ?
« Reply #2 on: January 14, 2006, 01:31:04 AM »
in details.php find:
Code: [Select]
        "comment_user_profile_button" => $comment_user_profile_button,Insert below:
Code: [Select]
        "comment_user_profile_link" => ($comment_user_id > GUEST) ? $comment_user_profile_link : REPLACE_EMPTY,Then in comment_bit.html template you can use
Code: [Select]
{if comment_user_profile_link}<a href="{comment_user_profile_link}">{endif comment_user_profile_link}{comment_user_name}{if comment_user_profile_link}</a>{endif comment_user_profile_link}
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)

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: Image Comments "comment_user_name" as profile link ?
« Reply #3 on: January 14, 2006, 02:18:52 AM »
thanks , works perfect :D