Author |
Message |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 28/02/2005 17:51:23
|
captainc
Beginner
Joined: 28/02/2005 00:07:35
Messages: 15
Offline
|
Could someone tell me if it's fairly easy to add the date & time to a reply comment. Right now all that shows is the person's name. I'd like to have the date & time show up as it does when a new entry is added to the guestbook. (ie, Sunday, February 27, 2005 01:42 PM )
The guestbook is currently at http://www.troymcmanus.com/guestbook/
I made a couple of other cool mods, such as ability to add smilies on a reply comment. Check it out.
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2005 08:29:50
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I've already added this to The db Guestbook (aka Advanced Guestbook 2.3.1). Is it worth me writing a mod for it? I am contemplating writing a proper Yahoo/MSN mod but is it worth it or should I just let people update to The db Guestbook to get the extra stuff?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2005 16:27:46
|
Anonymous
|
The mod, please, and thank you.
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2005 16:30:05
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Which mod? Yahoo/MSN or the time/date in comment ?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/03/2005 20:31:20
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Can I get the mod for the time/date in comment ? Thanks.
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/03/2005 21:04:44
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Open lib/gb.class.php. Replace
- $com['comments'] = nl2br($com['comments']);
with
- $COMDATE = $this->db->DateFormat($com['timestamp']);
- $com['comments'] = nl2br($com['comments']);
Then you need to open up templates/com.php and put $COMDATE where you want the time/date to be displayed.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|