| ||||||
![]() |
|
#1
|
|||
|
|||
|
when give grade 14 that is how Staff Leader appears will help me solve the problem
Search I found something I gave but I understood nothing of the topic Code:
Access Denied! We come to believe you are using a fake account, therefore we've logged this action! Code:
// Check Staff Names
$lmaxclass = 14;
$lsysopnames = array("poly","); // 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!");
}
Last edited by poly; 21st December 2009 at 20:24. |
|
#2
|
||||
|
||||
|
remove ," bit at the end of polly
|
|
#3
|
||||
|
||||
|
edit
Code:
// Check Staff Names
$lmaxclass = 14;
$lsysopnames = array("poly","); // 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!");
}
Code:
$lmaxclass = 14; and Code:
$lsysopnames = array("poly",");
Code:
$lsysopnames = array("poly");
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
![]() |
| Tags |
| class , problem |
|
|