Firefox PHP

Module: Conceal Message Timestamp

All files from this thread

File Name File Size   Posted by Date  
conceal_message_timestamp-1.0.3.zip 2.7 KB open | download Oliver Riesen-Mallmann 10/01/2015 Read message
conceal_message_timestamp-1.0.3.tar.gz 1.7 KB open | download Oliver Riesen-Mallmann 10/01/2015 Read message
Module: Conceal Message Timestamp
April 08, 2008 12:50PM
Module: Conceal Message Timestamp
Version: 1.0.3 Last Edition
Author: Oliver Riesen <oliver@riesen.org>

Conceals message timestamp for messages older than 24 hours. Don't let your boss know that you wrote at work ...

LAST EDITION!

The functions of this module are now included in the "Readable Dates and Concealed Times Module" (formerly "Readable Dates Module") from version 1.2.0 and above.

Formatting date and times in two separate modules doesn't work well (see "known issues"). So I decided to extend the old "Readable Dates Module".

Tested on version 5.2.20


License:

Free to use, modify, or redistribute this code so long as I am given credit for the original development somewhere. This code comes with absolutly no warranty.


Installation:

1. Unpack the archive.

2. Move the directory "conceal_message_timestamp" to the directory "mods" within your Phorum installation. Don't change the directory name!

3. Login as administrator in Phorum's administrative interface and go to the "Modules" section.

4. Enable the module "Conceal Message Timestamp".


Module settings:

There are no settings.


Language support:

This module doesn't contain any language text.


Dependencies:

- Do not use this module together with the "Readable Dates and Concealed Times Module", version 1.2.0 and above.


Known issues:

- Conceal timestamp in last edit notice is not supported.

- The "Recent Message Module" (till version 1.1.x) doesn't support concealing message timestamps.


Contribution:

Contribute on GitHub:
[github.com]


Changelog:

2008/04/08 version 1.0.0 by Oliver Riesen <oliver@riesen.org>
- Initial release for Phorum 5.2

2008/04/11 version 1.0.1 by Oliver Riesen <oliver@riesen.org>
- Fix for undefined index.

2008/04/15 version 1.0.2 by Oliver Riesen <oliver@riesen.org>
- Fix for list page.

2015/10/01 version 1.0.3 by Oliver Riesen <oliver@riesen.org>
- Last Edition! The functions of this module are now included in the "Readable Dates and Concealed Times Module" (formerly "Readable Dates Module") from version 1.2.0 and above.
- Known issues added.


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.




Edited 4 time(s). Last edit at 10/01/2015 10:04AM by Oliver Riesen.
Attachments:
open | download - conceal_message_timestamp-1.0.3.zip (2.7 KB)
open | download - conceal_message_timestamp-1.0.3.tar.gz (1.7 KB)
Re: Module: Conceal Message Timestamp
April 11, 2008 11:15AM
New Version

2008/04/11 version 1.0.1 by Oliver Riesen <oliver@riesen.org>
- Fix for undefined index.


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Conceal Message Timestamp
April 11, 2008 11:43AM
Nice module!

For the paranoid, the "Last edit at ..." timestamp should be concealed as well.

Cheers,
Marian (who's his own boss ... :-))
Re: Module: Conceal Message Timestamp
April 15, 2008 05:12PM
New version!

2008/04/15 version 1.0.2 by Oliver Riesen <oliver@riesen.org>
- Fix for list page.

Quote
Marian
For the paranoid, the "Last edit at ..." timestamp should be concealed as well.

It doesn't seems to be so easy. I putted on the wish list.

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Conceal Message Timestamp
April 15, 2008 06:17PM
You could use the same kind of logic that the edit message formatting module uses. Put some container tags around the line, which you can use in the format_fixup hook to get out the original edit message, so you can replace it with your updated one. Another option could be the method that the readable dates module uses (reformat the original edit message and do a string search and replace to replace that original message with your updated one).


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Conceal Message Timestamp
October 01, 2015 10:05AM
New version 1.0.3:

2015/10/01 version 1.0.3 by Oliver Riesen <oliver@riesen.org>
- Last Edition! The functions of this module are now included in the "Readable
  Dates and Concealed Times Module" (formerly "Readable Dates Module") from
  version 1.2.0 and above.
- Known issues added.


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.




Edited 1 time(s). Last edit at 10/01/2015 10:06AM by Oliver Riesen.
Sorry, only registered users may post in this forum.

Click here to login