Topic: Is there any way to make {username} for template?

Is there any way to modify show.inc.php to make {username}? I need it to make member pages for my website and it seems like CuteNews doesn't have that tag yet. They only have {author} or {author-name}, when I need the username, not the full name of the author. Does anyone know how to do this? Thanks a lot in advance.

2 (edited by 2012-07-30 07:15:30)

Re: Is there any way to make {username} for template?

This problem can be solved by adding after the line (it's in two places at show.inc.php)

$output = str_replace("{author}", $my_author, $output);


this one:

$output = str_replace("{username}", $news_arr[1], $output);
Best regards,
CN Support team

Re: Is there any way to make {username} for template?

This problem can be solved by adding after the line (it's in two places at show.inc.php)

$output = str_replace("{author}", $my_author, $output);


this one:

$output = str_replace("{username}", $news_arr[1], $output);

Thank you!