It is great idea.
Can you share your updated version with log feature if you already made it?
Thread Starter
Guti
(@gutibitacorascom)
It’s is not already implemented. Just looked at the source, and find it not to difficult to implement it, but was not sure if you would prefer to code it by yourself or not.
I am a little bit busy right now and I can work on it in a week or so.
Thread Starter
Guti
(@gutibitacorascom)
OK, just added that and setup in my blog in 30 min: http://www.javiergutierrezchamorro.com/_temp/anti-spam.php.zip
Maybe not elegant, because it is reusing the login for administrator email sendings, but working.
Let me know if any concerns.
I like your solution.
The only issue can be with the huge size of the log file.
I will try to add year to the name of the log file.
In this case log files will be smaller in size and spam will be sorted by year.
I will update the code and test the plugin for a few days.
I will reply if any updates.
I published Anti-Spam plugin to Github.
I made a commit with log spam to file feature.
I don’t know if we should enable log feature by default or not.
It depends on spammers activity and the size of log files.
Thread Starter
Guti
(@gutibitacorascom)
Thank you.
Do not think enabling it by default would be a good idea. Specially without an options panel to easily disable it.
Most users will not read documentation, and left it enabled filling its web storage. Also, logging only makes sense to me for testing, and making sure it is working properly.
Hey Guti,
I published new Anti-Spam version with logging spam comments to files feature.
It is disabled by default for sake of saving space.
Log files can be dozens of megabytes in size in a few days.
Spammers are working hard these days 🙂
Thank you very much for you help and contribution.
I published Anti-Spam plugin to Github and I hope it will simplifies the future contributions to the plugin.
Please let me know if you will found any issues after update.
All the best.
P.S. By the way I added funny video about Captcha madness to Anti-Spam description page.
This video perfectly describes why I decided to create this plugin 😉
I enabled the logging to test it out. I added my own logging back in.
[25-Oct-2015 05:35:36 PM CDT -0500] - 66.150.34.250 - 18500 Anti Spam detected - antspm-q: 4.1 - antspm-e: Not Empty - Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
[25-Oct-2015 05:18:37 PM CDT -0500] - 5.164.218.223 - 18499 Anti Spam detected - antspm-q: 4.0 - antspm-e: Not Empty - Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
[25-Oct-2015 05:11:42 PM CDT -0500] - 188.143.232.26 - 18498 Anti Spam detected - antspm-q: 4.0 - antspm-e: Not Empty - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
After I see what the log files look like, may write a separate PHP script front-end to list/view/delete them. Just have to see what info is in them and if I really do anything with it.