Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
My script works great. Am wondering if instead of having the bad words in the en.php file be filtered could the script be modified to automatically reject posts that contain any words in the bad words/en.php file? That would give us control over the rejected posts(via bad word list) and not have to be there constantly monitoring for it. That would be awesome. Thanks very much. The script is great by the way.
Developer Request - auto reject of "bad word" post
Haven't tested this, but try:
1. open mboard.php in Notepad or some other text editor
2. change lines 218-221 from to
3. save, upload, test.
1. open mboard.php in Notepad or some other text editor
2. change lines 218-221 from
Code: Select all
foreach ($settings['badwords'] as $k => $v)
{
$text = preg_replace("/\b$k\b/i",$v,$text);
}
Code: Select all
foreach ($settings['badwords'] as $k => $v)
{
if(preg_match("/\b$k\b/i",$text)) {
problem("Your post has been blocked!");
};
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools