11
Anonymous
Re: How to change recent comments time & date format
  • 2008/11/17 8:55

  • Anonymous

  • Posts: 0

  • Since:


Quote:
sailjapan wrote:

Ah, so.....


You've been in Japan too long, mate

12
BigJim
Re: How to change recent comments time & date format
  • 2008/11/17 11:54

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Thanks for the replies but I'm totally confused.

I tried to make your language changes javesey but that didn't do it.

Is there some code from newbb/frameworks I need to include? Or is this a really difficult hack?

thanks

13
ghia
Re: How to change recent comments time & date format
  • 2008/11/17 13:22

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have a look at function newbb_formatTimestamp from /modules/newbb/include/functions.ini.php and adapt formatTimestamp in /include/functions.php and /language/xxx/local.class.php for a sitewide change.
If you want to do it alone for the comments then you must change all formatTimestamp to eg comment_formatTimestamp in /class/xoopscomment.php and /class/commentrenderer.php (probably some system blocks also) and include the newbb_formatTimestamp function with that name in /include/functions.php

14
BigJim
Re: How to change recent comments time & date format
  • 2008/11/25 8:53

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


forgot to say thanks. Thanks Ghia!

15
ghia
Re: How to change recent comments time & date format
  • 2008/11/25 11:00

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You're welcome!
I suppose you got it working.
If so and if you wish, you can show your modifications here, which may be of interest to other people.

16
BigJim
Re: How to change recent comments time & date format
  • 2008/11/26 10:50

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


I'm afraid to say i didn't get it working and have went back to using newbb

Login

Who's Online

413 user(s) are online (299 user(s) are browsing Support Forums)


Members: 0


Guests: 413


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits