This mod works fine in 1.7.4 version
but fix this code!
with follow problems
-spam words not with name separate **** in admin control panel
-view not correct <a href= in user control panel and others
find in includes/functions.php
}
$text = str_replace("[hr]", "<hr>", $text);
}
$text = replace_url($text);
if ($word_wrap && $text != "") {
$text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
}
$text = str_replace("\n", "<br />", $text);
$text = str_replace("\\'", "'", $text);
$text = str_replace("\\\"", """, $text);
return replace_badwords(stripslashes($text));
}
and replace
}
$text = str_replace("[hr]", "<hr>", $text);
}
if ($html !== 2) {
$text = nl2br(trim($text));
$text = replace_url($text);
}
if ($word_wrap && $text != "") {
$text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
$text = replace_badwords($text);
}
$text = str_replace("\n", "<br />", $text);
$text = str_replace("\\'", "'", $text);
$text = str_replace("\\\"", """, $text);
return $text;
}