Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-21 05:37:13

mariela
Member
Registered: 2006-07-20
Posts: 12

Is there a way to not allow certain words to be posted in comments?

I apologize if this has been gone over somewhere before; I searched the FAQ, forums and textbook but did not see anything about not allowing certain words in comments. I would like to know if there is a way that you can keep certain words (swears, etc.) from being posted in comments. Or, is there an option to view each comment before it is posted? Thanks

Offline

#2 2006-10-21 06:48:52

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Is there a way to not allow certain words to be posted in comments?

Built-in is comment-moderation, i.e. you can view each comment before making it publicly viewable.

If you wan to disalow certain words, there is a plugin called mrw_spamkeywords_urlcount which let’s you define certain “bad words”. You can edit the plugin to add words, and to change whether those comments should be marked as “hidden (unmoderated)”, “hidden (spam)” or whether the comment-form shoud be reloaded until the user has removed the words (you’d probably need to make it output an error-message for that to be useful).

Offline

Board footer

Powered by FluxBB