Firefox PHP

Module: Customize Mail Messages

Posted by Maurice Makaay 
All files from this thread

File Name File Size   Posted by Date  
customize_mail_messages-1.0.0.tar.gz 3.4 KB open | download Maurice Makaay 01/07/2008 Read message
customize_mail_messages-1.0.0.zip 4.6 KB open | download Maurice Makaay 01/07/2008 Read message
Module: Customize Mail Messages
August 20, 2007 08:32PM
This module can be used to customize the mail messages that are sent out by Phorum. You can also do this by editing the language files, but using this module, you won't have to be afraid of overwriting the modified language file(s) on upgrades.

Changelog:
----------

2007-06-26 v1.0.0

    - Initial release.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 1 time(s). Last edit at 08/20/2007 08:33PM by mmakaay.
Attachments:
open | download - customize_mail_messages-1.0.0.tar.gz (3.4 KB)
open | download - customize_mail_messages-1.0.0.zip (4.6 KB)
Re: Module: Customize Mail Messages
February 21, 2008 02:16PM
Maurice,

It's becoming a ritual, a user asks me if Phorum can do something, I come on this forum and surprisingly find a module.

This last request was to change the wording of the Follow Topic email and this module worked like a charm.

Thanks again, I'll be back ;)

--
Bert Garcia - When all you have is a keyboard
Re: Module: Customize Mail Messages
February 21, 2008 03:46PM
Nice ritual and you're welcome ;-)


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Customize Mail Messages
February 21, 2008 04:48PM
Nice Mod, thanks Maurice!

A little suggestion: what about system-messages linke the welcome-message?

greetings,

Sun
Re: Module: Customize Mail Messages
February 21, 2008 05:18PM
"customize the mail messages that are sent out by Phorum" - so what is the activation message? ;)


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Customize Mail Messages
February 21, 2008 07:14PM
I know ts77 ;)

But the options by now are:
-User: new pm recieved
-User: new message in a followed thread
-Mod: news messages to approve
-Mod: news messages not to approve
-Mod: reported message

no other mailoptions included... therefore my question / suggestion.

greetings,

Sun
Re: Module: Customize Mail Messages
March 03, 2008 04:04AM
I looked into this and the problem is that the registration and restore password emails are put in the language file in a different way than the other email messages. Unfortunately, this makes them unfit for customization through this module.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Customize Mail Messages
March 03, 2008 08:29AM
All right, thank you Maurice for having a look at it.
Re: Module: Customize Mail Messages
May 04, 2008 01:00PM
Hello,

I've done an upgrade from the 51.6a release to the 5.2.7 release and all my customization that is keeped into the database table "settings", row "mod_customize_mail_messages" is not taken in account when a mail is sent.

Moreover, when I go to see which is the current values for the fileds through the module screen, all remains empty.

So I cannot understand why none of my old values that remain in the database are not viewable after a migration?

I've 2 language files, english and french and for both of them nothing works properly

Is there a link between the values and the absolute name of the language files. Even if they the name of the language files still remains the same, their full name have cahnge because of the directory path containing the release of Phorum.

Previously the full name was www/blabla~/Phorum-5.1.6a/include/lang/english.php
and now it is www/blabla~/Phorum-5.1.7/include/lang/english.php


How can I force the module to take the old values without doing a "new" customization of these variables?


Thank's
Re: Module: Customize Mail Messages
May 04, 2008 04:15PM
Old values should be used if the filename (english.php) is the same. The path doesn't matter. Did you by any chance use iso-8859-1 before and UTF-8 now (do you have "utf8" as the charset in config.php or did you reuse your old config?). If that is the case, then it might be that PHP cannot turn the config field value into an array. But only if special characters are in use in the mail message data.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login