Hi,
Running EE Forum 2.1.0 Build 20080421 and EE 1.6.3 20080421. We have implemented word censoring throughout EE and the Forum. It generally works as expected. However, today the client informed us that unfiltered words were showing in forum search results.
My initial checks suggest that on or about line 10902 in mod.forum_core.php the variable $snippet is assigned the value of the SQL query for post body but is then not filtered. I’ve been able to filter the results by adding this code
require_once(PATH_CORE.'core.typography'.EXT);
$TYPE = new Typography;
$snippet = $TYPE->filter_censored_words($snippet);
directly above this code on or about line 10899
$reply_info[$row['post_id']] = array(
'member_id' => $row['member_id'],
'screen_name' => $row['screen_name'],
'snippet' => $snippet);
Cheers
Dry
