Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
phiw13 on Codeberg
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,331
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
phiw13 on Codeberg
Offline
Re: com_connect - form and contact mailer
phiw13 wrote #312249:
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.
Hi Philippe, I have included more domains in the list some time ago but forgot to update it on github. Now it is more up to date.
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
gavnosis wrote #312217:
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?
Hi, I’m not sure as I have not really compared the two. I compiled the plugin from Stef’s code and just followed his instructions from there on.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#87 2018-06-04 07:32:02
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: com_connect - form and contact mailer
Gallex wrote #312209:
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. ;)
nobody has tried to implement it?
Offline
Re: com_connect - form and contact mailer
Hi Gallex,
reCAPTCIA seems to require a script hosted by google hence it comes with tracking so it might not be a good idea.
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 compiled the pap_contact_cleaner plugin with the changes suggested by Stef so as to make it play with com_connect. It is not fully tested yet but it does not break my site.
# Name: pap_comconnect v0.1.2 (compressed)
# Type: Public plugin
# Prevent Spam through com_connect
# Author: tranquillo and Stef
# URL: https://forum.textpattern.com/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:
# .....................................................................
H4sIAAAAAAAAA4VUUW/aMBB+Bqn/4ZZOC5W6pElpoSllmva0t0ndniOTXIg1x/bsCx3q+t/n
OKGAijYJCed89/n7vvOZZUmSPdtsmgWSNRjc2yxxa810XqimUFJiQV30NgtYS7UyPuUuC8gw
+avlQihgsoRHwspvXe0S89ZwX5lkQU2kbRbHlTJtExH+Js2I0MiIq3jD8YmU5kWka/1J8/Lh
Okln8+m57v87kFkWbNBYrmT3dZMFV1ESpf5AB1+iLQzXNGxfp1nwzeAGJcGjZg1QbVS7rsFJ
yg80OaGFKr3o2dRJMrjm1rHKCybEihU/J+GxEbnj34SX4T4S+cjF/dn4/8W2XTWcjsuHWAdw
Nq5aWXQa4MSpkwt47nJG7yuOooQHCBcl34ClrcCHYMMtX3HBaZtBzcsSZbAMo4pL3dIk7Ax3
5+paSQwvtZ0My4vLMDz+DfEoXKwMxG8hGsZFj+BXbwH6sKuPHbtl6HSNDFJrJPTEvdCXf6nt
LdnrLWosfnK5zjvofKeeDG8mex6dgQepXsbb3EFd7/boPW6YaJnn8PAB1kiHNIZNZSZDehzD
18pdJRwMBg9vgRl0SyGwBNXSpc9wIMQKgq5z8KRkSLBC6JURlu8cHK9gclLbO9faEP78gdNy
/PaF82Z0JODjElhZHvlIjFo7Sbw1L6992DVgGADa6n7q3UgNo6VMiWaI3QyxSrC1PcxzpTUK
7cdt7hIWdbL8xjR8GZR/EcgkmkXs4uPxaKGX32tuQYt2zWVH1QI9KeDS31yBOzdJwVa15nBU
vYvRzvw3rp92/MP5PE1m99S1dW98tIj1Kx3csXG8Vsx2/ZNghVrn1j0a09RDrbbwvVYNs/BY
1IY5Z14xnLIflq3xQGPiaEpnvBDDrfak8qI3AyqjmlMbEf2mqJ+4cRrBZzcXG0bohe0cc2/s
E6Oi9sGOIJTcMq2R9Yx8J7KgKW92T2Bynd7NZlOWrtL5XZqy8gqn84Ldzm7vphWrXNtf/gLa
BAXM/wUAAA==
Last edited by colak (2018-07-01 07:02:32)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#90 2018-07-10 10:38:22
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: com_connect - form and contact mailer
colak wrote #312784:
I compiled the pap_contact_cleaner plugin with the changes suggested by Stef so as to make it play with com_connect. It is not fully tested yet but it does not break my site.
# Name: pap_comconnect v0.1.2 (compressed)...
installed. i very much hope it helps.
quite soon i have installed com_connect to clients websites, they starting to report massive spam. most texts are in russian
Offline