Free Adult Tube-Video Script Forum
How to show date and time to comments - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: How to show date and time to comments (/showthread.php?tid=247)



How to show date and time to comments - Role-Model - 18-02-2011 03:15 PM

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


RE: How to show date and time to comments - admin - 18-02-2011 05:17 PM

thanks Svetoslav
in future i may get you ass a script bug fixer Smile


RE: How to show date and time to comments - Role-Model - 19-02-2011 02:26 AM

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


RE: How to show date and time to comments - Punktured - 11-03-2011 05:36 PM

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