bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Censor forum posts only if user is not logged in...

(3 posts)
  • Started 7 months ago by hempsworth
  • Latest reply from _ck_
  • This topic is not resolved

Tags:

  1. hempsworth
    Member

    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 7 months ago #
  2. How do users who have not logged in post to your forum? Is that done with some sort of plugin?

    Posted 7 months ago #
  3. 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.

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.