Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Downloads
Reply
  #11  
Old 11th August 2008, 15:11
tobbie91@hotmail.com tobbie91@hotmail.com is offline
Member
 
Join Date: Aug 2008
Posts: 3
Default
Add it to your sql db in users and the users will get a specific passkey so it don
Reply With Quote
  #12  
Old 11th August 2008, 23:24
snakebite snakebite is offline
Senior Member
 
Join Date: Apr 2008
Default
Posts: 47
Default
Quote:
Originally Posted by huly View Post
I just install this program

but error
Code:
Tracker sending invalid data: <NULL>
why?

my passkey Always changes
You just got to fill in your db info into announce.php
__________________
Go here! ----> "HERE"
Reply With Quote
  #13  
Old 12th August 2008, 10:30
huly huly is offline
Member
 
Join Date: Jun 2008
Posts: 8
Default
Quote:
Originally Posted by snakebite View Post
You just got to fill in your db info into announce.php
thanks,how fill my db info into announce.php??

$mysql_host = "localhost";
$mysql_user = "root";
$mysql_pass = "123456";
$mysql_db = "torrents";

is this???
Reply With Quote
  #14  
Old 12th August 2008, 14:53
snakebite snakebite is offline
Senior Member
 
Join Date: Apr 2008
Default
Posts: 47
Smile
Quote:
Originally Posted by huly View Post
thanks,how fill my db info into announce.php??

$mysql_host = "localhost";
$mysql_user = "root";
$mysql_pass = "123456";
$mysql_db = "torrents";

is this???
jup !
that's the place :D
__________________
Go here! ----> "HERE"
Reply With Quote
  #15  
Old 13th August 2008, 00:22
HIENA HIENA is offline
Senior Member
 
Join Date: May 2008
Posts: 18
Default
please can somebody tell me where i edited in bittorrent i don`t understand where i edite
Fatal error: Call to undefined function htmlstrip() in C:\xampp\htdocs\include\bittorrent.php on line 191


Code:
function maxsysop () {
global $CURUSER;
$lmaxsysop = 4; // How many sysop account on your website? HIENA
$lmaxclass  = 6; // Max. Class, e.g: mine is: define ("UC_SYSOP", 8);
$lsysopnames = array("Admin"); // Case sensitive.
$query = mysql_query("SELECT COUNT(id) AS total FROM users WHERE class >= $lmaxclass")  or sqlerr(__FILE__, __LINE__); // get total sysops
list($info['maxsysop']) = mysql_fetch_row($query); // list

if ($info['maxsysop'] > $lmaxsysop)
    if ($CURUSER['class'] >= $lmaxclass)
      if (!in_array($CURUSER["username"], $lsysopnames)){
      write_log(htmlstrip($CURUSER['username'])." changed themselves to class ".htmlstrip($CURUSER['class']).". Current page: $_SERVER[PHP_SELF], previous page: $_SERVER[HTTP_REFERER]");
       mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");

Last edited by HIENA; 13th August 2008 at 01:59.
Reply With Quote
  #16  
Old 13th August 2008, 02:27
Neptune
Guest
 
Posts: n/a
Default
#####IMPORTANT#####
12. In bittorrent.php at line 189 add user ids and on line 174 add all sysop name on the site.
!if you dont edit this you will get the error on the line under at almost every page!
Fatal error: Call to undefined function htmlstrip() in C:\xampp\htdocs\include\bittorrent.php on line 191
#####IMPORTANT#####
Reply With Quote
  #17  
Old 13th August 2008, 02:40
HIENA HIENA is offline
Senior Member
 
Join Date: May 2008
Posts: 18
Default
i reed but i don`t understand in line 189 where i put the name
Reply With Quote
  #18  
Old 13th August 2008, 08:13
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
Change the highlighted text to your username

$lsysopnames = array("Admin"); // Case sensitive.
Reply With Quote
  #19  
Old 13th August 2008, 08:15
snakebite snakebite is offline
Senior Member
 
Join Date: Apr 2008
Default
Posts: 47
Wink
Quote:
Originally Posted by HIENA View Post
please can somebody tell me where i edited in bittorrent i don`t understand where i edite
Fatal error: Call to undefined function htmlstrip() in C:\xampp\htdocs\include\bittorrent.php on line 191


Code:
function maxsysop () {
global $CURUSER;
$lmaxsysop = 4; // How many sysop account on your website? HIENA
$lmaxclass  = 6; // Max. Class, e.g: mine is: define ("UC_SYSOP", 8);
$lsysopnames = array("Admin"); // Case sensitive.
$query = mysql_query("SELECT COUNT(id) AS total FROM users WHERE class >= $lmaxclass")  or sqlerr(__FILE__, __LINE__); // get total sysops
list($info['maxsysop']) = mysql_fetch_row($query); // list

if ($info['maxsysop'] > $lmaxsysop)
    if ($CURUSER['class'] >= $lmaxclass)
      if (!in_array($CURUSER["username"], $lsysopnames)){
      write_log(htmlstrip($CURUSER['username'])." changed themselves to class ".htmlstrip($CURUSER['class']).". Current page: $_SERVER[PHP_SELF], previous page: $_SERVER[HTTP_REFERER]");
       mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
Code:
function maxsysop () {
global $CURUSER;
$lmaxsysop = 4; // How many sysop account on your website? HIENA
$lmaxclass  = 6; // Max. Class, e.g: mine is: define ("UC_SYSOP", 8);
$lsysopnames = array("here you put your username"); // Case sensitive.
$query = mysql_query("SELECT COUNT(id) AS total FROM users WHERE class >= $lmaxclass")  or sqlerr(__FILE__, __LINE__); // get total sysops
list($info['maxsysop']) = mysql_fetch_row($query); // list

if ($info['maxsysop'] > $lmaxsysop)
    if ($CURUSER['class'] >= $lmaxclass)
      if (!in_array($CURUSER["username"], $lsysopnames)){
      write_log(htmlstrip($CURUSER['username'])." changed themselves to class ".htmlstrip($CURUSER['class']).". Current page: $_SERVER[PHP_SELF], previous page: $_SERVER[HTTP_REFERER]");
       mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
__________________
Go here! ----> "HERE"
Reply With Quote
  #20  
Old 13th August 2008, 10:54
HIENA HIENA is offline
Senior Member
 
Join Date: May 2008
Posts: 18
Default
i write there but not working

Code:
function maxsysop () {
global $CURUSER;
$lmaxsysop = 4; // How many sysop account on your website? HIENA
$lmaxclass  = 6; // Max. Class, e.g: mine is: define ("UC_SYSOP", 8);
$lsysopnames = array("HIENA"); // Case sensitive.
$query = mysql_query("SELECT COUNT(id) AS total FROM users WHERE class >= $lmaxclass")  or sqlerr(__FILE__, __LINE__); // get total sysops
list($info['maxsysop']) = mysql_fetch_row($query); // list

if ($info['maxsysop'] > $lmaxsysop)
    if ($CURUSER['class'] >= $lmaxclass)
      if (!in_array($CURUSER["username"], $lsysopnames)){
      write_log(htmlstrip($CURUSER['username'])." changed themselves to class ".htmlstrip($CURUSER['class']).". Current page: $_SERVER[PHP_SELF], previous page: $_SERVER[HTTP_REFERER]");
       mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
Reply With Quote
Reply

Tags
edition , netmaniack tbdev source , tbdev , tobbies

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 Music Mania Edition hellix Downloads 43 14th August 2013 12:51
TBDev Modded Edition v1.3? jernej1 Community Cafe 3 29th January 2010 16:35
TBDev v2.0 Yuna Scatari Edition BEST TBDev 0 16th October 2009 19:49
TBDev Catarr Edition Beta 0.1 Mindfreak Downloads 9 30th July 2009 20:18
TBDev Bravo Edition ANDiTKO Community Cafe 17 19th August 2008 23:27



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