Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2018-05-25 12:27:16

Summer
Member
Registered: 2018-01-29
Posts: 60

Re: com_connect - form and contact mailer

How to use third party (smtp) to send emails?

Offline

#74 2018-05-26 07:59:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

In zcr we used to have a zemError class. Is this no longer needed?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#75 2018-05-26 09:14:32

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: com_connect - form and contact mailer

Hi Yiannis,

The class names have changed. It’s now called comError. More infos on changed class names in the docs.


TXP Builders – finely-crafted code, design and txp

Offline

#76 2018-05-26 09:26:53

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

Re: com_connect - form and contact mailer

As Jacob notes, The class name has changed. You probably still need an ‘error’ class , even as most browsers today do a validation for required fields. If the plugin detects some additional error, it can flag that and then uses that class to indicate the field that contains an error. Example: x @ x.com is accepted by most browsers as an email address, but the plugin rejects it (rightly so).


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

Offline

#77 2018-05-26 10:21:18

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

Thanks so much guys…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#78 2018-05-30 20:32:57

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: com_connect - form and contact mailer

What’s the best way to protect the com_connect plugin from being used to send spam? I’ve read through this thread and the github stuff too, and there’s talk of using the API with pap_cleaner etc. but I can’t see a paint-by-numbers example anywhere… can anyone point me towards a walk through of best practice?

Offline

#79 2018-05-31 05:45:32

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

gavnosis wrote #312196:

What’s the best way to protect the com_connect plugin from being used to send spam? I’ve read through this thread and the github stuff too, and there’s talk of using the API with pap_cleaner etc. but I can’t see a paint-by-numbers example anywhere… can anyone point me towards a walk through of best practice?

Are there patterns in the spam email addresses? If they are Stef has provided a method here which is a conversion from the zcr plugin. Follow that thread regarding usage.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#80 2018-05-31 08:45:28

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: com_connect - form and contact mailer

I just hoped it would work like magic ;-)
I’ll reinstate the contact form that was causing the problems and see what patterns I can see…

Offline

#81 2018-05-31 11:44:22

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: com_connect - form and contact mailer

can i use the form with reCAPTCHA?

i inserted the provided line of code inside the com_connect code – but how to make it required?
right now it’s sender’s choice to solve it or not. ;)

Offline

#82 2018-05-31 12:01:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

gavnosis wrote #312203:

I just hoped it would work like magic ;-)
I’ll reinstate the contact form that was causing the problems and see what patterns I can see…

Just in case you may need some help on this. Here is the misc form named comcon_spam_patterns.tpl as used in our site, and I compiled Stef’s plugin which I posted here.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#83 2018-05-31 14:08:06

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: com_connect - form and contact mailer

Thank you Yiannis,

I think I’ve understood this correctly:

Your compiled plugin is just an updated version of pap_contact_cleaner and which will then look for a form (of type misc. ) named comcon_spam_patterns, yes? And as soon as I spot the pattern of spammers I just edit this form?

Offline

#84 2018-06-02 07:21:21

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

Re: com_connect - form and contact mailer

colak wrote #312211:

Just in case you may need some help on this. Here is the misc form named comcon_spam_patterns.tpl as used in our site, and I compiled Stef’s plugin which I posted here.

Thanks for this – I’ve received some spam from a similar domain as yours business-capital-advisor.com. Hopefully that will keep them out of the mailbox.


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

Offline

Board footer

Powered by FluxBB