How to block a certain emailaddress sitewide?
I have a client that has a customer she wants to add on the blacklist. Is there a way to prevent this person to do anything on the site?
No form submissions, no purchases, no bookings?
TIA
Create a role that has no access to anything.
Also, if you have saved their IP you can block it but they can use a VPN and get around that.
Add a snippet that checks the email field for blacklisted emails. This can be used as a blueprint: https://fluentforms.com/docs/email-verification-with-emailable/
Just omit the form ID and replace emailable with a static list of email addresses or even domains. You can then tweak the error message to something like βSorry. Youβre not allowed to use this form.β
AndrΓ© DausΒ does this work for fluentcart and booking too?
Natascha VantuykomΒ no, unfortunately not. Because you posted it in the FluentForms group, I assumed you talk about FluentForms. You'd need a similar snippet for each Fluent product.
There isn't a built-in sitewide blacklist that blocks an email address across Fluent Forms, purchases, and bookings all at once.
For Fluent Forms, you can block the email using the form's restriction/keyword restriction settings. FluentBooking and FluentCart don't currently have a built-in email blacklist, so those would need to be handled separately with custom validation or another restriction method.
If the person already has a WordPress account, blocking or disabling that account is also a good option. Just keep in mind that blocking by email only works if they continue using the same email address.