2007-10-15, 04:44 PM
Pages: 1 2
2007-10-15, 04:56 PM
ACP - Message Filters - Manage Bad Words
Edit;
If you want to filter badwords in the PM Message; you need to edit (private.php) and parse the message with $parser->parse_badwords($message) ;
Edit;
If you want to filter badwords in the PM Message; you need to edit (private.php) and parse the message with $parser->parse_badwords($message) ;
2007-10-15, 05:09 PM
LeX- Wrote:ACP - Message Filters - Manage Bad WordsThe word filters dont work in PMs?
Edit;
If you want to filter badwords in the PM Message; you need to edit (private.php) and parse the message with $parser->parse_badwords($message) ;
2007-10-15, 05:10 PM
xcx Wrote:LeX- Wrote:ACP - Message Filters - Manage Bad WordsThe word filters dont work in PMs?
Edit;
If you want to filter badwords in the PM Message; you need to edit (private.php) and parse the message with $parser->parse_badwords($message) ;
By default ? As far i've seen in the code, just the subject gets filtered.
2007-10-16, 11:17 PM
That doesn't make sense If it's filtered for the subject, it should be filtered for the body lol. I don't have time to check this right now though...
2007-10-16, 11:18 PM
As far as I remember, subjects don't get filtered, just messages themselves
2007-10-17, 02:40 AM
spinning Wrote:Where can I find the bad word filter.This bad words filter is not that practical a solution. You should nib such users in the bud. I find TikiTiki's great plugin, Akismet, the only possible solution to fight those idiots who post bad words:
Can I use it also for pm's.
Someone is making links to other forums that I do not want.
http://mods.mybboard.net/view/akismet-(spam-protection)
Regards
2007-10-20, 10:27 PM
Akismet only prevents spam, not inappropriate language
2007-10-21, 08:03 AM
In the read action (private.php)
And if you follow the build_postbit function
So i don't see where the message gets filtered for badwords, just the subject ...
$pm['subject'] = htmlspecialchars_uni($parser->parse_badwords($pm['subject']));
$message = build_postbit($pm, "2");
And if you follow the build_postbit function
case "2": // Private message
global $message, $pmid;
$parser_options['allow_html'] = $mybb->settings['pmsallowhtml'];
$parser_options['allow_mycode'] = $mybb->settings['pmsallowmycode'];
$parser_options['allow_smilies'] = $mybb->settings['pmsallowsmilies'];
$parser_options['allow_imgcode'] = $mybb->settings['pmsallowimgcode'];
$parser_options['me_username'] = $post['username'];
$id = $pmid;
break;
//******************
// Dont want any little 'nasties' in the subject
$post['subject'] = $parser->parse_badwords($post['subject']);
So i don't see where the message gets filtered for badwords, just the subject ...
2007-10-21, 04:43 PM
LeX- Wrote:And if you follow the build_postbit function
$post['message'] = $parser->parse_message($post['message'], $parser_options);
which in turns parses the bad words in the parse_message function
Also it appears I was wrong. Both are filtered
Pages: 1 2