Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Downloads
Reply
Thread Tools
  #21  
Old 17th December 2012, 17:05
dorcel's Avatar
dorcel dorcel is offline
Member
 
Join Date: Dec 2012
Bahamas
Posts: 7
Default thnx
where it can provide. do not get me all the same. tried everything

Quote:
function maxsysop () {
global $CURUSER;
// Check Staff Names
$lmaxclass = 48;
$lsysopnames = array("your nick here","System",); // Case sensitive. Change this (YOUR SYSOP-ADMIN NAMES GOES HERE) (example: array("adminname1","adminname2","adminname3","admi nname4","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_OWNER', 12); // Minumum Staff Level (9= UC_MODERATOR)
if ($CURUSER['class'] >= UC_OWNER) {
$allowed_ID = array(1,2,); // 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!");
}
}
}

// Anti SQL injection
Reply With Quote
  #22  
Old 17th December 2012, 17:37
x360zone's Avatar
x360zone x360zone is offline
Senior Member
 
Join Date: Jul 2011
United Kingdom
Posts: 915
Default lol
$lsysopnames = array("your nick here","System",); // Case sensitive. Change this (YOUR SYSOP-ADMIN NAMES GOES HERE)


good tip read what it says above
__________________

7.5 tsse
future tracker source & hosting, vps
trackers installs + Themes
http://www.foxyhosting.co.uk
http://www.downmy.top testing zone
offshore vps & cpanel hosting & Shoutcast & VPN
STOP cyberbullying
any setups tracker installs vps hosting vps setups themes mods hit me up
over the last three months ive become a snake breeder,pythons,hogs,boa,corn,rat,king,carpet and what joy it is


Reply With Quote
  #23  
Old 17th December 2012, 18:06
dorcel's Avatar
dorcel dorcel is offline
Member
 
Join Date: Dec 2012
Bahamas
Posts: 7
Default дерьмо
it still does not work. I'm in shock
Reply With Quote
  #24  
Old 17th December 2012, 18:36
Lolle Lolle is offline
Senior Member
 
Join Date: Mar 2011
Denmark
Posts: 25
Default
tried to activate this? in PhpMyAdmin?

Click the image to open in full size.
Attached Thumbnails
Udklip.PNG  
Reply With Quote
  #25  
Old 17th December 2012, 18:51
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
and why ? its set up and working

@ userdetails
PHP Code:
  <td class=\"row1\" colspan=\"2\" align=\"left\"><input name=\"enabled\" value='yes' type=\"radio\"" . ($enabled " checked=\"checked\"" "") . "/>Enabled <input name=\"enabled\" value='no' type=\"radio\"" . (!$enabled " checked=\"checked\"" "") . "/>Disabled</td></tr>\n"); 
@modtask

PHP Code:
// Enable / Disable
if ((isset($_POST['enabled'])) && (($enabled $_POST['enabled']) != $user['enabled']))
{
if (
$enabled == 'yes'){
$modcomment gmdate("Y-m-d H:i") . " - Enabled by " $CURUSER['username'] . ".\n" $modcomment;

write_log("User: <b>" .$user['username']. "</b> | ID: <b>$userid</b> | Enabled. by " $CURUSER['username'] . ".");

}else{
$reasond $_POST["reasond"];
if(empty(
$reasond))
puke("You must enter a reason for disabling this user! - PS: This reason will show when he tries to login.");
$modcomment gmdate("Y-m-d H:i") . " - Disabled by " $CURUSER['username'] . ".\n" $modcomment;

write_log("User: <b>" .$user['username']. "</b> | ID: <b>$userid</b> | Disabled. by " $CURUSER['username'] . ". Reason: <b>$reasond</b>.");

}
$updateset[] = "enabled = " sqlesc($enabled);
$updateset[] = "disable_reason = " sqlesc($reasond);

so why it is set up ready to use
Reply With Quote
  #26  
Old 17th December 2012, 19:04
Lolle Lolle is offline
Senior Member
 
Join Date: Mar 2011
Denmark
Posts: 25
Default ..
I had the same problem as him. I just had to activate this button. And so it worked.


And the same with the staff panel, there is also an error. line 22

You have
PHP Code:
if ($ CURUSER ["class"] > 8
should be

PHP Code:
if ($ CURUSER ["class"] < 8
It worked for me if I write was a cheater


I do not have much the directors on it but it worked
Reply With Quote
  #27  
Old 17th December 2012, 19:15
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
Quote:
Originally Posted by dorcel View Post
what this change? please ask.


Installed on the local machine, tried a lot of options and still - This account has been disable - In what could be the problem?
ok now drop the database everything on it now fill the bittorrent in as you want with your nick do not change the id it is set to 1 just your nick only. now inport your the sql now resignup as first to signup is owner then add user call it system this is for your upload and new signup
Reply With Quote
  #28  
Old 17th December 2012, 19:37
dorcel's Avatar
dorcel dorcel is offline
Member
 
Join Date: Dec 2012
Bahamas
Posts: 7
Thumbs up thnx
Quote:
Originally Posted by Lolle View Post
tried to activate this? in PhpMyAdmin?

Click the image to open in full size.
work
Reply With Quote
  #29  
Old 17th December 2012, 19:38
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
nps
Reply With Quote
  #30  
Old 5th January 2013, 03:00
Damz's Avatar
Damz Damz is offline
Member
 
Join Date: Jun 2011
P2P
Posts: 7
Unhappy Tracker sending invalid data: <NULL>.
Hello, I have a problem

Click the image to open in full size.

and page

Click the image to open in full size.


Reply With Quote
Reply

Tags
tbversionsonic


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



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