Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Downloads (http://www.bvlist.com/forumdisplay.php?f=16)
-   -   TBDev Tobbies Edition (http://www.bvlist.com/showthread.php?t=794)

tobbie91@hotmail.com 11th August 2008 15:11

Add it to your sql db in users and the users will get a specific passkey so it don

snakebite 11th August 2008 23:24

Quote:

Originally Posted by huly (Post 3282)
I just install this program

but error
Code:

Tracker sending invalid data:
why?

my passkey Always changes

You just got to fill in your db info into announce.php

huly 12th August 2008 10:30

Quote:

Originally Posted by snakebite (Post 3362)
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???

snakebite 12th August 2008 14:53

Quote:

Originally Posted by huly (Post 3363)
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

HIENA 13th August 2008 00:22

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]");


Neptune 13th August 2008 02:27

#####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#####

HIENA 13th August 2008 02:40

i reed but i don`t understand in line 189 where i put the name

Krypto 13th August 2008 08:13

Change the highlighted text to your username

$lsysopnames = array("Admin"); // Case sensitive.

snakebite 13th August 2008 08:15

Quote:

Originally Posted by HIENA (Post 3392)
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]");


HIENA 13th August 2008 10:54

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]");



All times are GMT +2. The time now is 20:10.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.