Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#201 2020-01-31 20:32:10

jrmartin
Member
Registered: 2013-03-07
Posts: 83

Re: com_connect - form and contact mailer

Yeah, I hadn’t thought about that. Thanks.

I wonder if I should put something on the page about not autofilling.

james

Offline

#202 2020-01-31 20:42:26

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,493
Website

Re: com_connect - form and contact mailer

While pap_comconnect works, it is a little annoying: if you have explicitly defined ‘phone’ and/or ‘mail’ fields in your form, you’ll probably get bounced.

I was thinking it might be better to use less-likely-to-be-used-for-real field names, or make the names configurable by exposing the plugin as a public tag. Default to a couple of form-ish sounding field names (so it’s not obvious that they’re fake) but allow you to change them if you need.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#203 2020-02-01 05:12:11

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,360
Website

Re: com_connect - form and contact mailer

Exact Stef!

That’s the reason why I changed these 2 fields by: date (date type) and place (text type) into the plugin.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#204 2020-02-01 06:33:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,041
Website

Re: com_connect - form and contact mailer

pap_comconnect reduced the spam i receive dramatically. Also i am kind of glad that the spam that comes through is sent by actual people, who I imagine they are trying to make ends meet. As such, by separating the boys from the bots, we are creating paid jobs.

If you think that the pap_comconnect fields could be configurable, I would still keep them invisible but have them named by admins in the plugin’s preferences. This is the first time the issue has come up. The other way is to have a help file stating the names of the fields and warning users to to use them in their actual fields.

> Edit. I added the names of the fields pap_comconnect uses in the plugin’s help with a warning not to use them.

# Name: pap_comconnect v0.1.2 (compressed)
# Type: Public plugin
# Prevent Spam through com_connect
# Author: tranquillo and Stef
# URL: https://forum.textpattern.io/viewtopic.php?pid=312784#p312784
# Recommended load order: 5

# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................

H4sIAAAAAAAAA4VUwW7bOBA920D/YaoWlQNkpUhx4kRxvFj0tLcC6Z4FWhpZRCmSS46cGm3+
fUlKrm3YuwsYMDUzfHzvDYesyLLihy3mRSRZh9GTLTK31kyXleoqJSVW5KP3RcR6apUJJY9F
RIbJv3suhAIma3ghbELqZl9Y9oaHnVkRtUTaFmnaKNN3CeF30owIjUy4SrccX0lpXiW61b9r
Xj/fZvniYf5BD/8eZFFEWzSWK+m/7oroJsmSPBzo4Gu0leGaxvRtXkRfDG5RErxo1gG1RvWb
Fpyk8kiTE1qpOohezJ0kgxtuHauyYkKsWfVtFp8aUTr+XXwdHyJJiFw9vZv+/2bbrztOp9vH
mAd4N216WXkNcOHU2RX88DWTjw1HUcMzxMuab8HSTuBztOWWr7ngtCug5XWNMlrFScOl7mkW
e8PdubpVEuNrbWfj8uo6jk9/YzyJl2sD6TlEx7gYEMLqHGAIu/2pY7eKna6JQeqNhIF4EPr2
X2oHSw56qxarb1xuSg9d7tWT4d3swMMbeFQaZJzXjuoGtycfcctEzwKH50+wQTqmMSaVmY3l
aQp/Nu4q4WgwBHgLzKBbCoE1qJ6uQ4UDIVYR+M7Bq5IxwRphUEZYv3dwvIHZRW3vXWtj+PkT
LssJ6SvnzeREwG8rYHV94iMx6u0sC9a8/erDvgHjANBOD1PvRmocLWVqNGPsbow1gm3scZ3b
2qLQIZ25gmWbrb4wDZ9H5Z8FMolmmbr4dDpZ6tXXllvQot9w6alaoFcFXIabK3DvJinYqd4c
j2pwMdmbf+b6Zcc/fXjIs8UT+bYejE/gq6sdSfQW/4WEfwprWGK3Cs4vU7cKr5wP+VYdIudk
B4iKSakIWrZFx09ZDKA2Waba+TEa8ouKc2bNrL9BEqxQm9K6Z2ueBzHrnSOtOmbhpWoNc70Z
QSbe878s2+CRy5kzSrrWCzHOVbClrIZ2QGNUdymR0HdKhpmf5gn84SZzywiDtfueObWvjKo2
BD1BqLllWiMbGIWnt4i6+m7/CGe3+eNiMWf5On94zHNW3+D8oWL3i/vHecMad/He/gHSQV9P
gQYAAA==

Last edited by colak (2020-02-01 06:56:38)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#205 2020-02-01 07:11:43

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,017
Website

Re: com_connect - form and contact mailer

jrmartin wrote #321454:

I had been trying to send a message by using autofill to enter the names and email address.

Interesting. When I use autofill (with Safari), i do not have that issue; can’t test with Firefox though as it does not “know” me and it does not read the macOS data (my ‘me’ card in particular).

colak wrote #321461:

[…] As such, by separating the boys from the bots, we are creating paid jobs.

hmmm that is definitely not an argument i would make in favour of the plugin. Ever seen the inside one of those manual “bot” factories? It is about as bad as the English 19th century textile factories

If you think that the pap_comconnect fields could be configurable, I would still keep them invisible but have them named by admins in the preferences.

Yes.

The other way is to have a help file stating the names of the fields and warning users to to use them in their actual fields.

That is already a step forward. (I actually always use tel and email by habit I think, or maybe it is a Japanese tradition ?).


Where is that emoji for a solar powered submarine when you need it ?

Offline

#206 2020-02-01 07:45:49

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,854
Website

Re: com_connect - form and contact mailer

I guess the true test is what the bots fill out. It’d be interesting to know what fields are most effective.

I doubt that bots are terribly specific in their market-focus – except maybe in non-latin languages – so cultural convention may play only a secondary role.

What could be a good idea, though, is to set autocomplete="off" for those fields to prevent the browser filling them out: autocomplete docs and support for autocomplete on / off is at least reasonable.


TXP Builders – finely-crafted code, design and txp

Offline

#207 2020-06-02 07:48:09

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,041
Website

Re: com_connect - form and contact mailer

I have a long form which for some reason refuses to post, every time returning errors that such and such fields are required, in spite of the fact that I fill them all.

The form is a survey we are conducting and includes 35 fields, consisting of text, select, check boxes and a textarea. Although the form requires about 5 to 6 minutes to complete, I’ve set the expiration to 1200 secs in order to allow for coffee breaks:)

I am using the latest stable 4.6 release on the latest txp stable version. At the moment the form is in an draft article, but I also tested it using a future date without any success.

The contact form on our site appears to be working just fine. Did I hit a limitation on the allowed number of fields?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#208 2020-06-02 07:56:20

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,493
Website

Re: com_connect - form and contact mailer

Might be the payload size. Can you please share your contact form with me? PM is fine. I’ll see if I can get to the bottom of it.

Last edited by Bloke (2020-06-02 07:56:58)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#209 2020-06-02 08:34:43

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,041
Website

Re: com_connect - form and contact mailer

Solved. We are allowed no spaces for the name attribute. Once I deleted those. All works as expected.

Stef, although I did send you an email, you can ignore it, unless of course you wish to snoop in:)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#210 2020-06-02 08:58:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,493
Website

Re: com_connect - form and contact mailer

Ah yes. That’s correct. I wonder if we should dumb down the name field automatically? I think we do that if you just use label, can’t remember offhand.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB