4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Stoleti on January 13, 2006, 03:44:38 PM

Title: Image Comments "comment_user_name" as profile link ?
Post by: Stoleti 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 ;)
Title: Re: Image Comments "comment_user_name" as profile link ?
Post by: TheOracle 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.
Title: Re: Image Comments "comment_user_name" as profile link ?
Post by: V@no 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}
Title: Re: Image Comments "comment_user_name" as profile link ?
Post by: Stoleti on January 14, 2006, 02:18:52 AM
thanks , works perfect :D