Quote:
Originally Posted by hhc81
well i new here and this is my firts posts, firts at all thanks for this script, second, y tested the script online with a friend, and i haved a problem... when i put this friend in class like moderator, administrator, sysop or team leader start to show me a warning that says
Code:
Warning: Fake Account Detected!
can someone help me please
sorry for my bad english
|
If you search the forum you can find the answer...
Code:
function maxsysop () {
global $CURUSER;
// Check Staff Names
$lmaxclass = 100;
$lsysopnames = array("Admin1", "Admin2", etc etc); // 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);
mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg) VALUES(0, 0, '1', '" . get_date_time() . "', " .sqlesc($msg) . ")") or sqlerr(__FILE__, __LINE__);
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', 50); // Minumum Staff Level (50= UC_MODERATOR)
if ($CURUSER['class'] >= UC_STAFF) {
$allowed_ID = array(1,2,3,etc etc); // 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!");
}
}
}
Quote:
Originally Posted by 517530
Site error: the file C:\xampp\htdocs\include\benc.php requires the ionCube PHP Loader ioncube_loader_win_5.2.dll to be installed by the site administrator.
What is this?
plz Help
|
You should also search the forum...it has been answered many times !