2024-02-23 09:48:44 +01:00
|
|
|
# Contact Form
|
|
|
|
|
|
|
|
|
|
## About
|
|
|
|
|
|
2024-03-08 12:37:03 +01:00
|
|
|
Solido 2024
|
2024-02-23 09:48:44 +01:00
|
|
|
Prestashop versions 1.7.X
|
|
|
|
|
Based on module contactform version = '4.4.1';
|
|
|
|
|
Help to detect and ban spam adresses in contact form.
|
|
|
|
|
|
|
|
|
|
Modified contactform.php : test link and html on the message content, block if so.
|
|
|
|
|
|
|
|
|
|
- Paste files in correct place
|
|
|
|
|
- override/modules/contactform/contactform.php
|
|
|
|
|
- override/controllers/front/ContactContrioller.php
|
|
|
|
|
- themes/themexxx/moddules/contactform/views
|
|
|
|
|
- banned.txt to complet is to place at the root of your site
|
2024-03-08 12:37:03 +01:00
|
|
|
- use spam tester at https://www.spammaster.org/licenses-stats/?m=l
|
|
|
|
|
- replace with proprer key at line 104
|
2024-02-23 09:48:44 +01:00
|
|
|
-
|
|
|
|
|
- To do : get text file from spam addresses databases
|
|
|
|
|
- Create a module to be able to modify bannedlist in the BO
|