Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1189 2012-06-15 14:48:05
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: zem_contact_reborn 4.0.3.20
RedFox wrote:
But what does
no_widow="0"
do? The docs say > ‘- allow the last word in the title to appear on its own line, i.e. the title content is rendered unchanged’ … magic I suppose!
The widow pref decides whether an & #160 ;
(aka non-breaking space, which I saw in your select) is inserted between the last two words of an article title. The attribute in the title
tag can overrule the pref setting.
Last edited by uli (2012-06-15 14:50:19)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#1190 2012-06-15 20:48:10
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
RedFox wrote:
@Els: Mm … I can’t get a .htaccess file (with ‘SecFilterScanPOST Off’) into /textpattern … !? … what has to be the precise content of that file, Els?
Just that line, as far as I know. I don’t understand why you can’t get the file in /textpattern… Just create the file locally and FTP it?
Offline
#1191 2012-06-16 00:23:20
Re: zem_contact_reborn 4.0.3.20
Yep, I did … and than I get an Internal Server Error … in Test, Debug and Live mode … !?
Offline
#1192 2012-06-16 12:22:20
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
And if you change it to
<IfModule mod_security.c>
SecFilterScanPOST Off
</IfModule>
Offline
#1193 2012-06-16 16:00:13
Re: zem_contact_reborn 4.0.3.20
Helaas … :(
Offline
#1194 2012-06-16 16:29:21
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
Then I think you’ll need to contact the host, it must be a server setting. See Gocom’s post here.
Edit: the thread I linked to is about saving articles, but if you search the forum people had the same problem saving pages, forms, plugins too.
Last edited by els (2012-06-16 16:32:22)
Offline
#1195 2012-07-04 20:36:28
- quicknquiet
- Member
- From: Moscow
- Registered: 2012-07-02
- Posts: 11
Re: zem_contact_reborn 4.0.3.20
Does anybody has idea why can i always get “you didn’t fill in the email field” error, when trying to use my form?
<txp:zem_contact to="john.doe@example.com" label="">
<txp:zem_contact_textarea cols="25" rows="5" label="" name="message field" default=""/>
<txp:zem_contact_text label="" size="21" break="" name="sender name" default="Your name" />
<txp:zem_contact_email min="7" size="21" break="" label="" name="sender email" default="Your email" />
<txp:zem_contact_submit><img src="i/btn3.gif" alt="Send"></txp:zem_contact_submit>
</txp:zem_contact>
Edit. removed the visible email address from the code -Gocom
Last edited by Gocom (2012-07-04 21:26:00)
Offline
#1196 2012-07-04 21:23:37
Re: zem_contact_reborn 4.0.3.20
quicknquiet wrote:
Does anybody has idea why can i always get “you didn’t fill in the email field” error, when trying to use my form?
Try to remove space name
values. Please use single word as a name
, using only a-z, 0-9 and _ characters. No special characters or full stops are allowed. E.g.
<txp:zem_contact to="john.doe@example.com" label="">
<txp:zem_contact_textarea cols="25" rows="5" label="" name="message" default=""/>
<txp:zem_contact_text label="" size="21" break="" name="sender_name" default="Your name" />
<txp:zem_contact_email min="7" size="21" break="" label="" name="sender_email" default="Your email" />
<txp:zem_contact_submit><img src="i/btn3.gif" alt="Send"></txp:zem_contact_submit>
</txp:zem_contact>
The name attribute is used as the HTML field’s name
and as the HTTP POST field, both not liking spaces. If you want a human-readable label, you should use to label
attribute.
Last edited by Gocom (2012-07-04 21:24:33)
Offline
#1197 2012-07-05 17:40:05
Re: zem_contact_reborn 4.0.3.20
Is there a way to block an IP in the ZCR page? We have some persistent spam from a particular IP whom I do not particularly want to block from the rest of the site.
> Edited to add that we have a separate section/template for the contact form.
Last edited by colak (2012-07-05 17:42:20)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#1198 2012-07-06 13:18:42
Re: zem_contact_reborn 4.0.3.20
.htaccess should help. This is an example I found via www.google.de/search?q=.htaccess+block+single+IP+from+single+page
ErrorDocument 403 /contact_section
order allow,deny
deny from 111.222.333.444
allow from all
AFAIK you can add as many ‘deny’ lines as you want.
Edit: Switched order of two last lines. Makes more sense to me :)
Last edited by merz1 (2012-07-06 13:23:59)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#1199 2012-07-06 15:36:03
Re: zem_contact_reborn 4.0.3.20
Hi Markus, thanks for the reply, I will try it and check the movement of the particular IP in the site….
To expand regarding the particular IP. It comes from a university in the States and there is someone in there who is pestering us using various emails. It would be wrong to block the entire site from them but blocking just the form for a while might help. I wish I knew of a php way to do it.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#1200 2012-07-14 10:24:42
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: zem_contact_reborn 4.0.3.20
Have any of you ever had problems with people missing the warning about missing required fields thinking they’ve submitted successfully?
I was wondering whether it’s possible to pop in a large mesage at the top of the result page without hacking the plugin?
Warning – Form not submitted !
Please complete all required fields and re-submit.*
I can’t seem to find anything in the plugins help.
Offline