|
#1
|
|||
|
|||
Class problem
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 |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
addition of class | Tory | Torrent Trader | 0 | 13th January 2010 09:33 |
Styles and class | FMI | TBDev | 6 | 25th May 2009 12:55 |
New class | ciobancai | Free Torrent Source | 3 | 30th January 2009 09:56 |
I need my users (Class:0) can upload | The_Darkness | Yuna Scatari Edition (YSE) | 1 | 16th January 2009 17:12 |
user title under class ? | jora33 | Yuna Scatari Edition (YSE) | 1 | 12th June 2008 10:37 |