Info
- 3 posts
- 3 voices
- Started 3 years ago by Hempsworth
- Latest reply from _ck_
- This topic is not resolved
Censor forum posts only if user is not logged in...
-
- Posted 3 years ago #
I'm looking for a solution which would censor forum posts from a blacklist of 'bad words' - but only if the user is not logged in.
If somebody were to view the forums whilst being logged in, they would see the 'bad words'
Any ideas?
-
- Posted 3 years ago #
How do users who have not logged in post to your forum? Is that done with some sort of plugin?
-
- Posted 3 years ago #
I think they mean the block words would not be visible to non-members that aren't logged in. Not to allow anonymous posting.
A weird request but easily doable - you just take the word censoring plugin and add a
if ( !bb_is_user_logged_in() ) { add_filter(blah blah blah)}to it's add_filter. -
You must log in to post.