Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 21st December 2009, 18:05
poly poly is offline
Member
 
Join Date: Dec 2009
Venezuela
Posts: 1
Talking 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.
Reply With Quote
  #2  
Old 22nd December 2009, 15:46
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
remove ," bit at the end of polly
Reply With Quote
  #3  
Old 22nd December 2009, 16:43
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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;
set it to 15
and
Code:
$lsysopnames = array("poly",");
to
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/
Reply With Quote
Reply

Tags
class , problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT +2. The time now is 05:25. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.