Firefox PHP

Module: Group Auto-Email

Posted by Joe Curia 
Re: Module: Group Auto-Email
March 12, 2008 04:36PM
Ok, works fine, but there is a little char-set problem... Umlaute (don't know the english expression) like ä,ö,ü, etc are in mails just �, �, � etc. How can i fix this?

(in the spoiler-mod it's the same problem)

greetings
Sun
Re: Module: Group Auto-Email
March 12, 2008 06:40PM
it's not the same character set. One is probably ISO-8859-1 and the other UTF-8. For German, the safest thing to do is replace the umlauts and other special characters with HTML entities. E.g.:

- ä = ä
- Ä = Ä
- ß = ß
- ü = ü

By doing do, you make the german translation charset independent.

In a perfect world would probably include the charset in the language filename to have a clear distinction (e.g. german.iso-8859-1.php v.s. german.utf-8.php) or we would all be using UTF-8 and drop the older charsets. This is not the case unfortunately, which means that the language files for both translations might be called german.php, where a mixture of charsets is possible. That is the case here.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Group Auto-Email
March 15, 2008 01:23PM
This way doesn't work... i can't write 1000 signs and replace in this text every "umlaut". The "simple text replacement"Mod also doesn't mach mails, just the post in the forum...

There musst be something configured in the mail-functions. But all my test failed. :(
Re: Module: Group Auto-Email
March 15, 2008 01:30PM
The problem is simply that in one part of Phorum you are using character encoding X, while another part uses character encoding Y. All character encodings must match or else you'll get those question mark characters. I don't know what character set you are using where, but the module language files must match the character set from your main language file that is stored under include/lang/......php

If that one defines the charset as UTF-8, then you need to save the translation file for the module as a UTF-8 file too. If that is saved differently, then the characters will be wrong.

Sorry that we can't make this any more convenient for you right now. Character encoding is a tough one.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Group Auto-Email
March 15, 2008 01:40PM
what do you have in the language file as $PHORUM["DATA"]['CHARSET'] and $PHORUM["DATA"]["MAILENCODING"] ?
UTF-8 and 8bit? then you'll have to save the language file as utf8 too.


Thomas Seifert
Re: Module: Group Auto-Email
March 15, 2008 01:55PM
I had both (language-file and group_autoemail.php) configured with utf8 and the problem was like written above. After Maurices hint i switched both zu iso-8859-1 an it works fine.

Thanks again, for your help! Now i hvae my newsletter as I asked for here. I have a hidden Forum and all threads written this forum are mailed out as newsletter for anyone in the newslettergroup.

Now, i just need a little hint (perhaps the code? i'm not the best coder) who to integrate a checkbox at the registering-point for the newsletter. When this checkbox is activated the user shall automatically join the newsletter-group (emaol-options --> recieved groupemails --> on) and recieve the newsletter. Then I realyy would bve happy ;)
Module: Group Auto-Email v5.2.1.02 - Only send if group has read access
May 08, 2008 02:12PM
I have finished v5.2.1.02 with these changes:
- Fixed a bug which would send emails to users if they were part of a group that was assigned to a forum, even if that group was not given permission to read the forum. Now groups will need to have the read permission in order to receive messages from that forum.

- Changed version naming convention to reflect Phorum compatibility.

The file at the top of this page contains the latest version.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Group Auto-Email
May 09, 2008 02:05AM
can you build in a option to turn this feature on and off? For my solution of a newsletter this wouldn't be good. The users schould not see / read the forum, but receive the newsletter.

For further updates on this module this would be important. Thanks ;)

Sun
Re: Module: Group Auto-Email
July 02, 2008 09:26PM
I have been running this mod for months (Version 2.01) and all of a sudden e-mails have stopped being sent out. No changes were made to anything. Is this most likely a PHP problem on the server end?

Thanks!
Re: Module: Group Auto-Email
July 02, 2008 09:47PM
Quote
itasor
I have been running this mod for months (Version 2.01) and all of a sudden e-mails have stopped being sent out. No changes were made to anything. Is this most likely a PHP problem on the server end?

Thanks!

It would seem to be a server error yes. Do you see any errors in the Event Logging module? In the server logs?


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Sorry, only registered users may post in this forum.

Click here to login