Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 15th August 2008, 21:17
crstan crstan is offline
Member
 
Join Date: Aug 2008
Posts: 8
Default problem with TBDEV 01-01-2008
problem with Source Name: TBDEV 01-01-2008 Modded by D3SI

i make an account with same name in bittorrent.php at sysop
and when i log-in the system give me PM with this :

Code:
Fake Account Detected: Username: cristian0s - UserID: 1 - UserIP : 192.168.0.1
Reply With Quote
  #2  
Old 15th August 2008, 22:34
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
remove maxsysops in bittorrent.php plus maxsysop() in most files


//---------------------------------
//---- Max. Sysops Added by D3SI
//---------------------------------

function maxsysop () {
global $CURUSER;
// Check Staff Names
$lmaxclass = 6;
$lsysopnames = array("D3SI","Username"); // 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);
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', 4); // Minumum Staff Level (50= UC_MODERATOR)
if ($CURUSER['class'] >= UC_STAFF) {
$allowed_ID = array(1,); // 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!");
}
}
}

//---------------------------------
//---- Max. Sysops Added by D3SI
//---------------------------------
Reply With Quote
  #3  
Old 16th August 2008, 06:06
Avtec Avtec is offline
Member
 
Join Date: Jan 2008
Posts: 8
Default
Make sure its the same userid
Reply With Quote
  #4  
Old 22nd August 2008, 15:08
Server Server is offline
Member
 
Join Date: Aug 2008
Posts: 1
Default
yap .. set , and work :)
Reply With Quote
Reply

Tags
problem , tbdev

Thread Tools

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
tbdev 2008 wMan TBDev 5 24th March 2013 12:59
TBDev 2008 emilianstef Downloads 27 23rd May 2012 22:54
Problem with TBDEV Tracker - Torrents problem M4d4lyNn TBDev 0 15th January 2010 08:49
How to install theme In Source 1.1.2008 ? Amine TBDev 3 16th July 2009 23:38
YSE PRE6 - fixed - 24.09.2008 kp380lv Yuna Scatari Edition (YSE) 3 7th January 2009 18:57



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