Firefox PHP

Module: Readable Dates

Posted by Maurice Makaay 
Re: Module: Readable Dates
July 25, 2008 04:32PM
I uploaded version 1.1.7 of the module. From the Changelog:

"Added a switch in the module config to enable/disable the formatting of the user registration date on the read pages (Registered: ... ago). If this switch is enabled, then dates after the configured time limit will be formatted using a standard short date. This is different from Phorum's default behavior, because by default Phorum would use a readable date-like formatting for this date already."

So, if you want the registration date for users on the read page to show up as a real date, instead of Phorum's default relative date (... ago), then enable the new feature.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Readable Dates
December 14, 2008 05:05PM
I uploaded version 1.1.8 of the module.
This release fixes a typo that caused "date_last_active" for the user profile screen to never be formatted by this module.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Readable Dates
January 14, 2009 09:44AM
Default for my forum is 24 hour format, and non modified dates for this forum are shown fine
Dates modified by this module show 12AM/PM format

Tried to look something relevant on the mod but find nothing relevant
Any ideas?

Thanks
Re: Module: Readable Dates
January 14, 2009 11:27AM
The dates are formatted using the language file entries.
Take a look at mods/readable_dates/lang/yourlanguage.php
You are probably seeing issues for these language keys:

You did not mention which language your forum is in, but based on the available language files, I think this would be English or the spanish.php. These have respectively:

    'days_ago_0'      => 'today, %I:%M%p',
    'days_ago_1'      => 'yesterday, %I:%M%p',

    'days_ago_0'      => 'Hoy, %I:%M%p',
    'days_ago_1'      => 'Ayer, %I:%M%p',

Change these lines in the language file that you use. Change %I:%M%p to %H:%M


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Readable Dates
January 14, 2009 12:08PM
I thought I modified that before and didn't work
Did it know and works fine

The magic of the masters....

Thank you :)
Re: Module: Readable Dates
March 24, 2009 06:57PM
Hello,
I've writen a french translation for this module.
Manu.

mmakaay: removed the attachment. The language file is now included in the package.



Edited 3 time(s). Last edit at 08/26/2009 07:38PM by Maurice Makaay.
Re: Module: Readable Dates
June 26, 2009 11:47AM
Hi

I have installed the module but how do I change the language to german ? I have the same problem with other modules e.g. "spamhurdles" or "onlineUser". Can you help me ?

Thanks in advance

greetings

DiscDog Admin

My DiscDog phorum
Re: Module: Readable Dates
June 26, 2009 11:49AM
name your language file the same as the language files in the lang directory of the module, then those will be used.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Readable Dates
June 26, 2009 11:58AM
Oh, ok. It works now, thanks a lot. There is another question and it concerns the "last_forum_post" module:

Now it displays the whole last subject and the author. I just want to display "last post" from "author" and the "last post" should be the link to the subject...as it is shown in yopur forums.

Greetings

DiscDog Admin
Re: Module: Readable Dates
June 26, 2009 01:04PM
please post this in thread for the appropriate module.
also I don't see the "as it is shown in your forums" as this module isn't installed here.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Sorry, only registered users may post in this forum.

Click here to login