Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
level_list.php
#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//--[ Extended Censoring Mod Start ]-----------------------------------------------------
// Define censored word matches
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
//--[ Extended Censoring Mod End ]-------------------------------------------------------
#
#-----[ FIND ]------------------------------------------
#
if ( $row = $db->sql_fetchrow($result) )
{
$i = 0;
do
{
$username = $row['username'];
$user_id = $row['user_id'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
//--[ Extended Censoring Mod Start ]-----------------------------------------------------
$row['user_from'] = preg_replace($orig_word, '', $row['user_from']);
$row['user_email'] = preg_replace($orig_word, '', $row['user_email']);
$row['user_website'] = preg_replace($orig_word, $replacement_word, $row['user_website']);
$row['user_aim'] = preg_replace($orig_word, '', $row['user_aim']);
$row['user_msnm'] = preg_replace($orig_word, '', $row['user_msnm']);
$row['user_yim'] = preg_replace($orig_word, '', $row['user_yim']);
//--[ Extended Censoring Mod End ]-------------------------------------------------------
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
nycore wrote: Any instructs on how to use this? Installed with EasyMod but dont see any new features / options anywhere
wiccaan wrote:nycore wrote:Any instructs on how to use this? Installed with EasyMod but dont see any new features / options anywhere
There isnt any way to turn it on / off. Its just on at all times.
What it does is takes the Censored word list and expands whats censored on your forums. Instead of just changing bad words in posts, it extends to much more.
It will censor things inside URL tags killing bad links that are against your censored rule list, as well as remove bad worded email, AIM, MSN, Email, ect publicly viewable to anyone on your forums.
Once its installed your done. Just add words to your censored list and your done.
Code: Select all
//--[ Extended Censoring Mod Start ]-----------------------------------------------------
// Define censored word matches
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
$text = preg_replace($orig_word, $replacement_word, $text);
//--[ Extended Censoring Mod End ]-------------------------------------------------------
wiccaan wrote: What it does is takes the Censored word list and expands whats censored on your forums. Instead of just changing bad words in posts, it extends to much more.
It will censor things inside URL tags killing bad links that are against your censored rule list, as well as remove bad worded email, AIM, MSN, Email, ect publicly viewable to anyone on your forums.