MDN

Go Back   Mambo - Forums Closed for posting > Mambo 4.5.5 - Stable > General Questions

Reply
 
Thread Tools Search this Thread Display Modes
Old February 24th, 2005, 00:30   #1
thedropzone
 
Join Date: Dec 2004
Posts: 36
thedropzone is on a distinguished road
Default Bad word filter Mambo

Found this bad word filter

http://mamboforge.net/frs/?group_id=251&release_id=671

Has anyone got better instructions on installing this or has anyone got this to work?


Installation
------------
Badword Filter is very easy to install and get going.
You don't have to edit anything, just upload and that's about it.

Follow these easy steps to install the Recommend:

1) Upload the zip package through Mambo component installer.
2) You are done! installating

Usage directives
----------------
Badword Filter is an API component which provides an API for badword filtering
that can be invoked through any of your Mambo components

1) Include the components/com_badword/class.badword.filter.php in your php files
2) Invoke the Badword::Filter(text, user) API which returns
"true" - if the text includes a bad word
"false" - if the text passes the badword test


Sample usage
----------------
Include the following lines at appropriate places in your php file

require_once( 'components/com_badword/class.badword.php' );

// $msg is the text to be filtered
// $my is Mambo user variable available as a global
$expletivesExist = Badword::filter($msg, $my);

if ($expletivesExist == "false")
{
// do something
}
else
{
// throw error
}


Configuration
-------------
1. You can add / modify / remove badwords as necessary through the admin panel
2. You can add / modify / remove regular expressions through the admin panel.
3. You can provide special badword access for users
4. You can turn on / off badword filtering, advanced filtering
__________________
sig removed - please read forum rules
thedropzone is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is mambo... pixelsoul General Discussion 23 October 22nd, 2007 15:55
NZMac.com goes Mambo Philip Roy Sites using Mambo 14 July 21st, 2005 22:03
Xaraya or Mambo? Arrrrgh. zmcnulty Evaluating Mambo? 3 February 6th, 2005 06:13
A few questions about Mambo velocitygirl General Questions 9 November 10th, 2004 23:53
MS word or similar into mambo alf149 Wishlist & Feature Requests 11 March 14th, 2004 20:03


All times are GMT -7. The time now is 07:30.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.