Erik
Forum Replies Created
-
Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] BUGHallo @bueropesche
Könntest du mir sagen, was genau bei dir nicht funktioniert? Ich habe es auf verschiedenen Websites getestet (das kannst du mit der Live-Vorschau auch tun) und hatte keinerlei Probleme, auch nicht mit den neuesten Versionen von CF7. Könnte es vielleicht ein Konflikt mit anderen Plugins sein? Könntest du mir das Fehlerprotokoll schicken? Das würde mir sehr helfen
Dies ist ein englischsprachiges Forum, und Englisch wäre die bevorzugte Sprache, danke!Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Expired Link msg when SPAM option is selectedFixed in 0.7.5. Thank you @jackrus60 for your help!
Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Possible EnhancementHello @jackrus60! Thanks for the great suggestion. To help you block those spam emails with multiple dots and random domains, we have added Regular Expression (Regex) support to the Bad Email Strings filter!
You can now set up rules that look for specific patterns rather than just exact words. To use it, simply add
regex:at the very beginning of your rule in the blocklist.For example, to block any email address that has multiple dots before the
@symbol, you can now add a rule like:regex:/(?:\..*){2,}@/Your existing plain-text rules will still work exactly as they did before.
TLDR; New Anti-Gibberish FilterAdditionally, based on your example of spam messages containing just a single random word, I have also added a new “High Entropy” filter to the plugin! This will automatically block messages that look like unnatural gibberish. Specifically, it flags a message if:
- The message contains fewer than 5 words.
- The message contains 6 or more consecutive consonants (unnatural typing).
Note: For this current release, this new filter is activated “behind the scenes” automatically as long as you have the Bad Email Strings option enabled. In the next plugin update, I will be adding a dedicated menu entry for it so you can toggle it on and off directly!
Let me know if this helps you catch that spam!
For Developers: How to create a Custom Filter
If you want to take things a step further and build your own custom spam rules using PHP, the plugin makes it easy via the
Abstract_CF7_AntiSpam_Filterclass.To create a custom filter, you just need to extend this abstract class and implement the
process()method. The class also provides a handyget_posted_value()helper to safely retrieve and sanitize form data.Here is a quick boilerplate example of how you could build a rule to check the message length:
use CF7_AntiSpam\Core\Abstract_CF7_AntiSpam_Filter; class My_Custom_CF7_Filter extends Abstract_CF7_AntiSpam_Filter { /** * Process the custom filter logic. * * @param array $spam_data The spam data context. * @return array The updated spam data context. */ protected function process( array $spam_data ): array { // 1. Safely get the submitted message field $message = $this->get_posted_value( 'your-message', '' ); $message = trim( $message ); // 2. Add your custom logic: check if the message is just a single word if ( ! empty( $message ) && str_word_count( $message ) === 1 ) { // 3. If it's spam, log the reason in the 'reasons' array $spam_data['reasons']['single_word_message'][] = 'The message contained only a single word'; } // 4. Always return the $spam_data array return $spam_data; } }The parent class automatically handles checking if the user is already allowlisted or if the form was already flagged as spam by a previous filter, so you only need to focus on your specific rule inside the
process()method.Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Edit B8 WordlistAvailable in 0.7.5… thanks @mberse, thank you for your contribution!
Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Blocked script execution in ‘about:blank’Thank you so much for confirming! I’ll publish the new version this evening.
Unfortunately, I can’t predict these changes in browsers, but I’ll do my best to fix them as soon as possible if this happens.
Thanks again!Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Blocked script execution in ‘about:blank’@oceandigitals,
Sorry the built version wasn’t published correctly… Please try again, now you will find a new entry named cf7-antispam-0.7.5.zip (before only source code was available, sorry!)Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Blocked script execution in ‘about:blank’Hi @oceandigitals,
If you have a moment, could you please try this version? It’s the release candidate for the new version, and I hope it will resolve your issue
https://github.com/wp-blocks/cf7-antispam/releases/tag/v0.7.5In any case, I haven’t used SureMail as an SMTP plugin, so if you could test the new version, I’d feel more confident about releasing it, thanks!
Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Blocked script execution in ‘about:blank’Hi @oceandigitals, thank you for the feedback.
This error is related to the fingerprinting feature and a recent change in Chrome’s security policies. Please try disabling ‘Bot Fingerprinting’ in the plugin settings to see if that restores email delivery.
I’m working on an update to resolve this sandbox permission issue, anyhow this should not completely block email from being sent. Thanks for your patience!
Forum: Plugins
In reply to: [md4AI] Generated Navigation lists includes non-public wp-admin URLsSorry @alh0319 I didn’t reply sooner,
but I’ve fixed this error and I’ve finished a new version of the plugin. I’m currently testing it and will be releasing it shortly, including the fixes you suggested.
Thanks for your feedback!
Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Edit B8 WordlistCiao @mberse!
Coincidentally, I was actually working on that for the next version. 🙂
Other features will include comment protection using B8 and regex patterns for “bad emails,” as well as integration with the other plugin I developed (cf7-smtp) to send a daily (or weekly) report of received spam.
The release is just around the corner, in a week or two… stay tuned!
Forum: Plugins
In reply to: [md4AI] llms.txt file 404sHi @alh0319 ,
Thanks for confirming that worked! And the fix was actually super easy. I just needed to include the standard WordPress function to automatically flush the rewrite rules (
flush_rewrite_rules()) upon activation, which I had simply forgotten to add.It will be handled automatically in the next update. Thanks for helping me catch this!
ref. https://github.com/erikyo/md4ai/pull/17Forum: Plugins
In reply to: [md4AI] llms.txt file 404sHi there, thanks for reaching out! The
llms.txtfile isn’t a physical file on your server; it’s dynamically generated by WordPress. It looks like your site’s permalink structure hasn’t recognized the new URL route yet.To fix this immediately, please go to your WordPress Admin dashboard, navigate to
Settings > Permalinks and simply click the “Save Changes” button at the bottom (you don’t need to actually change any settings). This will flush the rewrite rules, and the llms.txt URL will start working right away. I’ll also be releasing an update soon to handle this automatically upon activation!Forum: Plugins
In reply to: [AntiSpam for Contact Form 7] Possible EnhancementHi @jackrus60,
Thank you so much for using the plugin and for taking the time to provide such a detailed report. Feedback like this is exactly what helps make the plugin better for everyone!
You might have seen this already, but another user experienced something similar recently, and we discussed a temporary workaround here: https://ww.wp.xz.cn/support/topic/one-word-spam-and-possible-honeypot-bug/
However, your detailed breakdown of their patterns (high-entropy random strings, Gmail addresses with excessive dot-noise, and single-word answers) clearly highlights the need for a more solid, built-in solution. I am currently working on a plugin update that will introduce two new enhancements directly inspired by your report:
- Regex Support for Bad Email Strings: The email blocklist will soon support Regular Expressions, allowing you to easily block patterns like
ugi.vu.mu.gi...(e.g., by targeting Gmail addresses with an abnormal number of dots). - High-Entropy / Gibberish Detection: I’m introducing a new filter that checks for unnatural text patterns, such as an excessive number of consecutive consonants or unusually long single strings without spaces, which perfectly matches the
GqhYgcNDOSvSpobuTlwWTlpattern you shared.
In the meantime, give a try with the walkaround of the link i shared, but you should be able to rely entirely on the main plugin for this once the next update drops (currently I’m working to some improvements like extending B8 to wp comments submissions).
Thanks again for helping improve CF7 AntiSpam!
Best regards, Erik
Forum: Plugins
In reply to: [SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboardHello @islp!
First off, regarding the forum rules: I completely understand! We were definitely having a casual chat. I only mentioned it because the ww.wp.xz.cn moderators can be quite strict, and I really didn’t want your helpful messages to get deleted by them! 😅
Now, for the good news: I’ve put together a pre-release version of the plugin!
Here is what’s new:
- The Dashboard Fix: The widget visibility issue we discussed is officially resolved.
- OAuth Support: I’ve added the ability to connect via OAuth.
- Email Stats: A beautiful new statistics email feature, which is also integrated with my other plugin (CF7 Antispam).
- Minor Fixes: Several other small fixes and under-the-hood improvements (including how those logs are handled).
Since you were so kind to test things locally before, it would be awesome if you could give this a spin.
A quick heads-up, though: Please test this in your local environment only. While I have tested it extensively on a few sites, I cannot guarantee it is 100% bulletproof for a production site just yet. That is exactly what I am verifying these days before pushing the official update to the repository.
You can grab the pre-release from GitHub here: 👉 https://github.com/erikyo/cf7-smtp/releases/tag/pre-1.1.0
Let me know what you think if you get a chance to try it. Thanks again for your time!
Cheers,
ErikForum: Plugins
In reply to: [SMTP for Contact Form 7] CF7 stats in the Subscribers’ profile dashboardThanks for reporting this too!
Don’t worry, those logs just mean the plugin is doing its job: when it finds a CF7 form with an empty or invalid ‘From’ field, it automatically fixes it using the admin email as a fallback to ensure the email is actually sent. It’s likely due to some specific form configuration, but it’s not a critical error. I’ll keep an eye on this logic as well for the next update to see if I can make the validation even “quieter” or more descriptive.
I’ll get back to you here as soon as the update is ready. Thanks again for everything!
ps: In any case, remember that this would be against WordPress rules and you should open a new thread for this.- This reply was modified 3 months, 3 weeks ago by Erik.