Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#133 2007-04-13 01:48:24

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: zem_contact_reborn 4.0.3.19 (old version)

Offline

#134 2007-04-13 10:42:23

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Email validation was copied from TXP. In fact, I had planned to switch to using the TXP function is_valid_email instead of duplicating the validation code… but it looks like I’ll have to abandon that idea for now ;)

Offline

#135 2007-04-13 18:50:15

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Ruud,

I figured out my problems with the email messages. I have textpattern installed on an Oracle Application Server. Which Oracle recommends configuring php with the —enable-sigchild option. This option makes php always return false for child processes (bug?).

So the plugin’s if (mail($var, $var, $var, $var)){} test was failing. But that test sends the email first and then if it returns false shows the error message. That is why I was still getting the error message even though I would get the mail.

I can’t reconfigure php without that option so I created a workaround that is acceptable for this particular instance.

Offline

#136 2007-04-15 09:56:47

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Ruud, any idea how to change the fieldset legend for each form? Seems the default is contact, and I’d like to change that for each fieldset…can’t see the best place to change that..

Offline

#137 2007-04-15 10:47:08

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

jstubbs, you can change the translation of the ‘contact’ string in the zem_contact_lang plugin. If you or anyone else thinks the default translation can be improved, feel free to make suggestions.

tinyfly, thanks for reporting what caused the problem.

Offline

#138 2007-04-15 11:11:04

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Thanks Ruud. I am not sure what the translation should be per se, but on one contact form “contact” is fine, but in another form “registration” would be more appropriate, since its a registration form. I guess only one translation is possible?

Offline

#139 2007-04-15 14:12:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: zem_contact_reborn 4.0.3.19 (old version)

jstubbs, you can use the label attribute to set the fieldset legend!

Offline

#140 2007-04-15 14:27:57

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

What an idiot! I looked for it and did not see that label attribute….I was looking for the fieldset attribute. Doh! Thanks Els.

Offline

#141 2007-04-17 16:52:52

millo
Member
From: Spain
Registered: 2007-01-25
Posts: 21

Re: zem_contact_reborn 4.0.3.19 (old version)

Hi,

I’ve just installed Zem Contact Reborn without the Language plug-in for Zem Contact Reborn because I already have installed MLP (Multi-Lingual Publishing Pack) which comes with it’s own Zem Contact Lang, it says (MLP strings plug-in for Zem Contact Reborn) however when I go into the help/detail page for Zem Contact Reborn I get the following error in red:

This plugin requires a separate language plugin called zem_contact_lang to be installed and activated to work properly.

Does anybody else have the same plugins installed and have the same error occur? I don’t know what I should do about this.

Thanks in advance.

Offline

#142 2007-04-17 17:44:45

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

When you have zem_contact_mlp installed, you don’t need zem_contact_lang (to be more precise: you can have only one of them active at the same time). Both serve a similar purpose, which is to provide translations.

Red lines of text in the plugin help are not error messages, they’re just warnings or very important bits of information. Red draws more attention than black text. You can ignore it because you’ve installed an zem_contact_mlp, which is an alternative for zem_contact_lang.

Last edited by ruud (2007-04-17 17:49:58)

Offline

#143 2007-04-17 19:38:13

millo
Member
From: Spain
Registered: 2007-01-25
Posts: 21

Re: zem_contact_reborn 4.0.3.19 (old version)

Great Thanks Ruud, that get’s rid of my worry.

I’m just looking around and trying to find information on how to actually add a translation. Don’t suppose you can point me in the right direction?

Thanks! :-)

Offline

#144 2007-04-17 19:41:23

saszownik
Member
Registered: 2007-01-23
Posts: 13

Re: zem_contact_reborn 4.0.3.19 (old version)

Hi,

I’ve problem with contact form. My page is in iso-8859-2 encoding (for polish language) and when I try send form with polish signs I have info: “Message” contains invalid UTF-8 characters.

I must change something?

Offline

Board footer

Powered by FluxBB