Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2008-01-08 16:27: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.20

Does the minimalist usage of the tag work properly?:

<txp:zem_contact_select list="Руководство - общие вопросы" />

Offline

#170 2008-01-08 17:03:50

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

Does the minimalist usage of the tag work properly?:

<txp:zem_contact_select list="Руководство - общие вопросы" />

No :( It stumbles over “Р” whenever it’s placed in string…


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#171 2008-01-08 17:56:24

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

Re: zem_contact_reborn 4.0.3.20

Does this only happen in ZCR or also when you use that “Р” in a core TXP tag (for example as a label attribute value)?

Offline

#172 2008-01-09 11:36:13

wii
Member
Registered: 2005-05-08
Posts: 77

Re: zem_contact_reborn 4.0.3.20

I have a standard mailform, but get spam, what can I do to prevent this ? I am using the latest version.

Thanks

Offline

#173 2008-01-09 15:23:26

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

wii wrote:

I have a standard mailform, but get spam, what can I do to prevent this ? I am using the latest version.

Are you sure it’s robot’s spam? May be it is somebody’s “joke”?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#174 2008-01-09 15:28:02

wii
Member
Registered: 2005-05-08
Posts: 77

Re: zem_contact_reborn 4.0.3.20

Can´t be sure, but it´s definately spam.

Offline

#175 2008-01-09 19:57:44

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

Re: zem_contact_reborn 4.0.3.20

the pap_contact_cleaner plugin seems to be effective for a lot of people.

Offline

#176 2008-01-09 23:50:32

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

Does this only happen in ZCR or also when you use that “Р” in a core TXP tag (for example as a label attribute value)?

Hm.. Tried to use “P” as label attrbute value – nothing goes wrong… Strnge indeed :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#177 2008-01-10 07:56:27

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

Martin, if these are the hidden fields that ZCR adds itself for nonce and form_id, then it’s likely a <br /> tag that was added in the form used for the zem_contact tag.

Yes, it’s the fields you mention, but now I’m stumped.

I don’t use a custom form for ZCR, instead I specify the following directly in an article …

<txp:zem_contact to="xxxxx@xxx.xx" label="" copysender="1" thanks="Thank you, your inquiry has been sent.">
<txp:zem_contact_email  size="40" />
<txp:zem_contact_text label="Reference number(s)" size="40" required="0" />
<txp:zem_contact_textarea label="Your inquiry" />
<txp:zem_contact_submit label="Send" />
</txp:zem_contact>

Somehow it is caused by Textile. If I insert a space before the opening <txp:zem_contact_email ... /> the <br /> following the hidden fields is not generated, but neither are the breaks between the label tags and any preceeding <input>, which screws up the layout. (The breaks after the label tags do appear.)

Any ideas?

Offline

#178 2008-01-10 08:11:36

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: zem_contact_reborn 4.0.3.20

<notextile>
<txp:zem_contact to="xxxxx@xxx.xx" label="" copysender="1" thanks="Thank you, your inquiry has been sent.">
<txp:zem_contact_email  size="40" />
<txp:zem_contact_text label="Reference number(s)" size="40" required="0" />
<txp:zem_contact_textarea label="Your inquiry" />
<txp:zem_contact_submit label="Send" />
</txp:zem_contact>
</notextile>

Offline

#179 2008-01-10 10:05:33

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: zem_contact_reborn 4.0.3.20

Thanks Robert, I tried that but unfortunately the outcome is the same: no breaks preceeding the label tags, but only the ones following the labels are generated.

No big deal though, if there’s no way around that.

On a related note, why are these hidden fields generated? Could it be because I chose the option to mail a copy to the sender?
I have the original zem_contact installed on another site and no hidden fileds appear there.

Thanks for the help!

Offline

#180 2008-01-10 10:34:06

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: zem_contact_reborn 4.0.3.20

zem_contact and zem_contact_reborn are basically completely different plugin, but many of us won’t even notice it, because of the similiar names.

And what comes those hiddens, it’s part of the spam protection – as if you mean the nonce value. Without those and couple more things, you could basically use html-form instead of zem_contact_reborn. Then you could say “spam, spam”.

Could it be because I chose the option to mail a copy to the sender?

Yep, the other one is because of it. Or could be there be some mystic way to tell the plugin that send this to the sender… ;)

I have the original zem_contact

zem_contact_reborn. Differs. Different. Better. Even better. Not same.

Cheers!

Last edited by Gocom (2008-01-10 10:34:32)

Offline

Board footer

Powered by FluxBB