Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#313 2021-08-02 08:06:00

etc
Developer
Registered: 2010-11-11
Posts: 5,189
Website GitHub

Re: com_connect - form and contact mailer

phiw13 wrote #331184:

hmmm… as I am messing with a contact form, a quick test. Odd this:

Thanks, try this.

Offline

#314 2021-08-02 08:21:54

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: com_connect - form and contact mailer

etc wrote #331188:

Thanks, try “this’:https://github.com/textpattern/com_connect/commit/4c03614f64325b42f439555904e25fcf4b98537e.

Much better! This one works nicely for the offending txp:com_connect_option />, and the HTML source code for all other fields in use is as expected. I dunno if the form actually submits / sends correctly as localhost here is not configured to do that.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#315 2021-08-02 08:23:47

etc
Developer
Registered: 2010-11-11
Posts: 5,189
Website GitHub

Re: com_connect - form and contact mailer

phiw13 wrote #331189:

I dunno if the form actually submits / sends correctly as localhost here is not configured to do that.

There should be no changes in this part.

Offline

#316 2021-08-02 08:41:39

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: com_connect - form and contact mailer

BTW – Does anyone have a take about this issue ? Bug or some kind of misunderstanding on my side?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#317 2021-08-03 03:04:51

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: com_connect - form and contact mailer

phiw13 wrote #331191:

BTW – Does anyone have a take about this issue ? Bug or some kind of misunderstanding on my side?

Whatever syntax for the the com_connect_select and com_connect__option I try, this results in the same br0ken subject line. even the most basic one:

<txp:com_connect_select class="" delimiter="," label="Subject" name="subject" options="{Select one},Something,Or other,And more" />

So right now, I have removed that custom subject line, and insert/output the value of the com_connect_select in the body of the message (this works fine). On the end-user side, I use AppleScript to extract that out of the body and filter the message as needed. Much less efficient though. Or maybe I should revert to com_connect v. 4.6. That did work OK, iirc.

(and I’ll probably add this to the Github issues when I have some time later this week)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#318 2021-08-09 02:55:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: com_connect - form and contact mailer

phiw13 wrote #331197:

(and I’ll probably add this to the Github issues when I have some time later this week)

done now. filed as: github.com/textpattern/com_connect/issues/75


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#319 2021-08-31 10:28:30

ar
Member
From: Nuremberg, Germany
Registered: 2012-03-08
Posts: 45
Website

Re: com_connect - form and contact mailer

Hi,

I am constantly getting spam from a person called “Eric Jones” (eric.jones.z.mail@gmail.com, ericjonesonline@outlook.com) on my contact form. Is there any way to prevent this? I have already considered disabling the contact form altogether, because of the frequency.

Thank you very much,

Alex

Last edited by ar (2021-08-31 10:55:55)

Offline

#320 2021-08-31 10:45:15

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: com_connect - form and contact mailer

You too, huh? *shakes fist at Eric Jones*

You could try ext_captcha. I’ve not compiled it yet but in Txp 4.7+ you can just drag the .php file into your Plugins panel’s Browse… button to install it.

If you want to use hCaptcha, that’s it. The docs explain how to set it up. For ReCaptcha you’ll need to copy up the additional ReCaptcha library to a directory called textpattern/vendors/ReCaptcha (so you have two ‘ReCaptcha’ dirs in a row). Then follow the instructions in the plugin.

It’s experimental at the moment so any feedback would be welcome. But I’ve had it working on client sites and it seems to be holding up.


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

#321 2021-08-31 10:54:08

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: com_connect - form and contact mailer

I wouldn’t mind being spammed by Erik Jones – he is one of my favorite drivers – but yeah, this sounds annoying.

Offline

#322 2021-08-31 10:59:47

ar
Member
From: Nuremberg, Germany
Registered: 2012-03-08
Posts: 45
Website

Re: com_connect - form and contact mailer

Thanks, but I wouldn’t like bothering regular people with Captchas. Since our friend Eric seems to be the only annoying person out there (which I guess is a good thing), I had hoped that one could just add some blacklist words in the config file, like his name and/or e-mail address. :)

Edit: hCaptcha seems to be working smoothly, I will give it a try since there was no quest for me when signing up.

Last edited by ar (2021-08-31 11:18:59)

Offline

#323 2021-08-31 11:06:50

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: com_connect - form and contact mailer

Yeah, I don’t like captchas at all. It’s a last-ditch attempt, imo.

It’s pretty easy to write a module for com_connect that’ll scan the content (sender, subject, body) for people’s names or words and flag them. The pap_contact_cleaner plugin shows an example of how to link into the com_connect spam engine (albeit that uses hidden fields).

How configurable such a plugin ultimately becomes is up to the plugin author.


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

#324 2021-08-31 11:18:23

ar
Member
From: Nuremberg, Germany
Registered: 2012-03-08
Posts: 45
Website

Re: com_connect - form and contact mailer

Seems to work well. The “Download this plugin” link did not work, however. I have downloaded the ext_captcha.php file then, instead of a zip file. Do I need the composer- and manifest.json files?

Last edited by ar (2021-08-31 11:33:28)

Offline

Board footer

Powered by FluxBB