Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By pauldreed on
My forum rules stipulate that users must communicate within the forum for safety reasons. Is there anyway that I can prevent email and web addresses being included within posts?
I realise that there are workarounds such as meATmydomainDOTcom but I want to block the obvious.
Comments
It can be done. What you'd
It can be done. What you'd need to do is filter the contents of the post with a regular expression that matches emails. I'm not sure if there's an existing filter module to do this, but it shouldn't be hard to implement it by hand.
--
John Forsythe
Blamcast - Custom theme design and more...
Thanks John, there must be a
Thanks John, there must be a module or some code out there somewhere to filter posts.
I'm suprised it's not in more demand.