Module: Recent Messages
Posted by Maurice Makaay
|
Re: Module: Recent Messages July 01, 2008 02:18AM |
Admin Registered: 22 years ago Posts: 8,532 |
That time is formatted using the standard formatting in the language file. Take a look at include/lang/<yourlanguage>.php for the used time formats (long_date_time and short_date_time). This is what I use in my Dutch language file for 24 hour (a.k.a. military time) support:
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
$PHORUM['long_date_time'] = '%d %B %Y %H:%M'; $PHORUM['short_date_time'] = '%d/%m/%Y %H:%M';
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: Recent Messages July 01, 2008 11:02AM |
Registered: 20 years ago Posts: 54 |
|
Re: Module: Recent Messages July 01, 2008 01:20PM |
Admin Registered: 22 years ago Posts: 8,532 |
Oh, that is because short_time is not part of the standard definitions in the language file. I though that you were looking at one of the default date formats here. My bad. That one is only defined for the module. Check the language file in mods/recent_messages/lang/yourlanguage.php
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: Recent Messages July 02, 2008 03:37AM |
Registered: 19 years ago Posts: 62 |
|
Re: Module: Recent Messages July 02, 2008 03:46AM |
Admin Registered: 22 years ago Posts: 8,532 |
That module sets up data for the index page only. There's no easy way of getting it to work for other pages too.
Could be a future extension of the module. In the first versions of the module, the forums listing that was provided to the index hook function was used to mark all forums read. A later version switched to selecting all forums from the database and marking those read, so also hidden forums and deeper level forums would be marked read. Based on that new logic, there's no reason why this module couldn't run on other pages than the index. But it's substantial change nonetheless, not a quicky.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Could be a future extension of the module. In the first versions of the module, the forums listing that was provided to the index hook function was used to mark all forums read. A later version switched to selecting all forums from the database and marking those read, so also hidden forums and deeper level forums would be marked read. Based on that new logic, there's no reason why this module couldn't run on other pages than the index. But it's substantial change nonetheless, not a quicky.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: Recent Messages July 07, 2008 03:18AM |
Registered: 20 years ago Posts: 54 |
|
Re: Module: Recent Messages July 07, 2008 03:37AM |
Admin Registered: 22 years ago Posts: 8,532 |
Sorry, you will have to rephrase that.
I am afraid that I do not understand your question.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
I am afraid that I do not understand your question.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Module: Recent Messages September 24, 2008 09:03AM |
Registered: 22 years ago Posts: 65 |
Here's come the french version of this module.
You can verify the translation on my forums :
[www.notre-planete.info]
mmakaay: removed the translation file.
It is now part of the module package.
--------------------------------
Christophe, [www.notre-planete.info]
Edited 1 time(s). Last edit at 07/22/2009 10:47AM by Maurice Makaay.
You can verify the translation on my forums :
[www.notre-planete.info]
mmakaay: removed the translation file.
It is now part of the module package.
--------------------------------
Christophe, [www.notre-planete.info]
Edited 1 time(s). Last edit at 07/22/2009 10:47AM by Maurice Makaay.
|
Re: Module: Recent Messages October 01, 2008 03:18PM |
Registered: 17 years ago Posts: 1 |
|
Re: Module: Recent Messages October 01, 2008 05:31PM |
Admin Registered: 22 years ago Posts: 8,532 |
No, this module has a totally different goal. It provides an interface for a user to find recent messages / threads, grouped in various ways. It is not for adding such a sidebar thing. That would require a different module really. Or you could possibly build some RSS reading PHP script in your page template and point that one at the Phorum RSS feed.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Sorry, only registered users may post in this forum.


