@ladydekade
For donuts and coffee I tested it myself and it works but if you copied and pasted that patch code from the site it won’t work because the single quotes are not right. In wp-content-filter.php at line 208 add this:

In that list of swear words you may find a few words with a semi-colon(;) after them. You will need to remove those semi-colons as all is required is a comma to separate the words. You can also add other swear words to that list if it missed any! Cheers!

@ladydekade
After further thought you may want to add the code supplied in bp-custom.php instead of modifying the code in the plugin because if you update that plugin in the future it will be overwritten and you would have to add it back but if it is in bp-custom.php it will remain untouched!

Hi, I’m using Buddypress Version 1.7.2 and WP Content Filter Version 2.33. i already add your code at line 208 and it doesn’t work. i also add it into bp-custom.php file and also doesn’t work. did you have any suggestion for me.

You will need to search google to find a list of swear words to add to the plugins dashboard filter options because the link I used is no longer available. Also make sure the words are separated by a comma like so:

I’m not really one for PHP though, so I’m not sure if that works entirely fine. I was able to filter the comments with that code too.

Basically you’re adding it to the plugin filters so that it thinks it should also filter through the comments and activity.

For further reference, line 284 should start like this and then end where it says “//bbPress specific filtering…” (make sure the apostrophes are showing up right, if you copy and paste code sometimes they get messed up but look the same, that’s why the comments weren’t happening before):

@geistschatten
I am fairly certain you could fork that plugin if you wanted with some of the additions you made as well as others being that it is GPL and adding the support for BP etc. and adding it to the repository but you should give the original authors credit as well as any contributor. I am sure other BP users would love a plugin to help with profanity that they didn’t have to modify because not everyone is comfortably adding code, of course this is just a suggestion and I thought about doing it a few years back but I prefer writing my own code because I know it best but if you or someone else does it I think it would be a welcome addition. Good luck!