Registration E-Mail customization

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Exa²
Posts: 2
Joined: Tue Mar 18, 2008 7:06 pm
Location: Mortara
Contact:

Registration E-Mail customization

Post by Exa² »

Hi to everyone. Firstly, let me excuse myself for my very bad English.

I've got a little problem with my s9y: I wanna change some parameters of the e-mail that is automatically sent when an author is created and when a new post is sent. I'd like to change the text of the mail, to translate in a better way the text and to modify the sending-list (the mail is currently sent even to johndoe@example.com and this doesn't fit my will...)

I'm looking forward for answer :? And, please, if you don't understand something, ask any question you want... My english is so bad!

(ps: if someone (read me) has got the tranlation of some of s9y' documentation in Italian, where can he post it?)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Registration E-Mail customization

Post by garvinhicking »

Hi!

You can find the text of that mail inside the lang_XX.inc.php file of the plugin directory, and there you can change it. Links are substituted with %s strings, so you might not be able to change everything.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Exa²
Posts: 2
Joined: Tue Mar 18, 2008 7:06 pm
Location: Mortara
Contact:

Special letters

Post by Exa² »

Thks! thks a lot! It is not the kind of work I like to do, but I've done it and it all works.

But another questions is still in my mind: how can I insert special letters, like stressed letters (à ò and so on) in the *.php file so that every browser can recognise them?

My language, Italian, is full of stressed words (i.e. sarà, farò, dirò) that need to be write with the stress. But if I wrote them in this way in the *.php file, they are to be shown as little ugly sqares. Should I use the linked code for every letter (i.e. & e acute for è - delete spaces)? Would it work? There is another way?

thanks for any answer!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Special letters

Post by garvinhicking »

Hi!
But another questions is still in my mind: how can I insert special letters, like stressed letters (à ò and so on) in the *.php file so that every browser can recognise them
That depends on the charset you use. If you edit the lang_it.inc.php file in the base directory of the plugin, you are only allowed to insert ISO-8859-1 characters.

In the UTF-8/lang_it.inc.php file you can insert UTF-8 special characters (UTf-8 is the default for new s9y installations). IF you use a good editor, it will insert your stressed words correctly automatically. Good editors are Notepad+, UltraEdit or the likes.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply