For those that have the
Code:
"Access Denied!","We come to believe you are using a fake account, therefore we've logged this action!"
problem after installing this source that is because you need to write the name of the tracker admins in bittorrent.php
1. You can open
bittorrent.php and on line 55 you will find:
Code:
$lsysopnames = array("Admin", "Admin2", "Neptune", "Admin3"); // Case sensitive. Change this (YOUR SYSOP-ADMIN NAMES GOES HERE) (example: array("adminname1","adminname2","adminname3","adminname4","so far")
You need to replace the names "Admin, Neptune..." with the names of your admins ( I wrote Fynnon) :P
2. If that doesn`t work you can disable this mod be deleting the:
Max. Staff v0.2 by xam mod from "
bittorrent.php"
Code:
//---------------------------------
//---- Max. Staff v0.2 by xam
//---------------------------------
function maxsysop () {
global $CURUSER;
// Check Staff Names
$lmaxclass = 96;
$lsysopnames = array("Admin", "admin", "Neptune"); // Case sensitive. Change this (YOUR SYSOP-ADMIN NAMES GOES HERE) (example: array("adminname1","adminname2","adminname3","adminname4","so far")
if ($CURUSER["class"] >= $lmaxclass)
if (!in_array($CURUSER["username"], $lsysopnames, true)) { // true for strict comparison
$msg = "Fake Account Detected: Username: ".$CURUSER["username"]." - UserID: ".$CURUSER["id"]." - UserIP : ".getip();
write_log($msg);
stderr("Access Denied!","We come to believe you are using a fake account, therefore we've logged this action!");
}
// Check Staff IDS
define ('UC_STAFF', 64); // Minumum Staff Level (4= UC_MODERATOR)
if ($CURUSER['class'] >= UC_MODERATOR) {
$allowed_ID = array(1); // Change this (YOUR SYSOP-ADMIN IDS GOES HERE) (example: array(1,2,3,4,5))
if (!in_array((int)$CURUSER['id'], $allowed_ID, true)) { // true for strict comparison
$msg = "Fake Account Detected: Username: ".$CURUSER["username"]." - UserID: ".$CURUSER["id"]." - UserIP : ".getip();
write_log($msg);
stderr("Access Denied!","We come to believe you are using a fake account, therefore we've logged this action!");
}
}
}
//---------------------------------
//---- Max. Staff v0.2 by xam
//---------------------------------
and the code line
from every page you get the error.