Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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
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
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
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
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
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
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
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
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