5
Hey i found another way of banning u people, i edited the mainfile.php here is the code.
It goes before anything in the mainfile.php
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// BANNING System
$ip = getenv("REMOTE_ADDR");
if ($ip=="85.94.106.7" or $ip=="207.200.116.65" or $ip=="207.200.116.5" or strstr($ip,"83.131.130.")) {
echo "@ You @
";
echo "@ Are banned!! @";
exit();
}
// End of banning sistem
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);
$ip=="85.94.106.7" here you type in the ip you want to ban
strstr($ip,"83.131.130.") when you want to ban the ip range.
It works great