Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to show date and time to comments
18-02-2011, 03:15 PM (This post was last modified: 18-02-2011 03:28 PM by Role-Model.)
Post: #1
How to show date and time to comments
Hello,
Like to show you how to show date and time to comments
so go to root/include/functions.php and go to line 1031 or find next line:

$kategoriler=$kategoriler.'<li><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>';


And replace it with this line:

$kategoriler=$kategoriler.'<li><a href="'.$root_url.$linki.'">'.substr(urldecode($row['tarih']),0,60).'<br>'.substr(urldecode($row['comment']),0,60).'...</a></li>';

Thats all, hope it is helpfull
I Attach image what will happend

Kind Regards
Svetoslav

My sites are closed. Google disconnect them and i loose all users.
Visit this user's website Find all posts by this user
Quote this message in a reply
18-02-2011, 05:17 PM
Post: #2
RE: How to show date and time to comments
thanks Svetoslav
in future i may get you ass a script bug fixer Smile
Find all posts by this user
Quote this message in a reply
19-02-2011, 02:26 AM
Post: #3
RE: How to show date and time to comments
I'm glad that to be help full.
But i'm not expert in php Smile
I will help any time if i can.

Kind Regards
Svetoslav

My sites are closed. Google disconnect them and i loose all users.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-03-2011, 05:36 PM
Post: #4
RE: How to show date and time to comments
for date and time, there is no need for substr or urlencode.
this would be nice however, if it was included in mine which shows the name of the user who posted the comment.

name
date time
comment

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: