1
exbanious
datestring for comment posts..
  • 2005/5/11 18:53

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


This isn't the question you probably think it is...

In news 1.2... or if that matters.

i keep wandering through the same files trying to locate where the datestring format is defined specifically for the comment posts.

i know where to change the format for the datestrings, but
i cannot change any of the three definitions without affecting other areas of the site.
i am actually looking to create a separate datestring definition for the comment posts only.

can anybody point me to the correct file?

2
hervet
Re: datestring for comment posts..
  • 2005/5/22 12:53

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Try this :
/xoops/class/commentrenderer.php
line 124 :
Quote:

'date_posted' => formatTimestamp($this->_comments[$i]->getVar('com_created'), 'm'), 'date_modified' => formatTimestamp($this->_comments[$i]->getVar('com_modified'), 'm')

3
Dave_L
Re: datestring for comment posts..
  • 2005/5/22 13:15

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


And if you need to extract some of the code from the function formatTimestamp, that's defined in include/functions.php.

4
exbanious
Re: datestring for comment posts..
  • 2005/5/22 20:23

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


thanks fellas....
that was exactly what i needed.

Login

Who's Online

238 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 238


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