Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Having trouble (http://www.bvlist.com/showthread.php?t=4451)

pwnage 8th February 2010 09:46

Quote:

Originally Posted by wolfman (Post 20659)
please read my post again i updated it

phpMyBitTorrent2.0.4-repack is what i got

wMan 8th February 2010 09:51

then hove comes ur index.php is not updated ?

on index.php before
PHP Code:

include("header.php"); 

must be
PHP Code:

<?php
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);

on main.php

before
PHP Code:

$tableopen false;
$errtableopen false;
$table2open false;
$btback1 "f0f0f0";
$btback2 "f9f9f9";
$btback3 "EBDDE2"

must be
PHP Code:

if (!defined('IN_PMBT')) die ("You can't access this file directly"); 


pwnage 8th February 2010 09:57

now it says
Code:

Parse error:  syntax error, unexpected '<' in /home/content/80/5579080/html/index.php on line 30

wMan 8th February 2010 09:58

please post lines from 28 to 32

pwnage 8th February 2010 10:01

PHP Code:

if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
include(
"header.php"); 

this is what i had b4

but when i put what u said to put in it said parse error

wMan 8th February 2010 10:05

it's not repack m8

repack post is here http://bvlist.com/phpmy-bittorrent/4...t-version.html at last post

pwnage 8th February 2010 10:07

Quote:

Originally Posted by wolfman (Post 20665)
it's not repack m8

what i gotta do to make it work without losing all the torrents
jus replace everything except themes and torrents folder and includes?

wMan 8th February 2010 10:10

all except torents, themes and include/configdata.php

i think u can also try my moded index.php

look for "tiger theme" it's in int's post

pwnage 8th February 2010 10:14

gimmie link for ur modded index ill check it out

wMan 8th February 2010 10:17

1 Attachment(s)
1. open index.php
2. deleate it all
3. copy and paste this code in it
[php] if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
?>





include("header.php");
////////////////////////////MOD ARCADE/////////////////////
$player = getuserid($btuser);
if(isset($_GET["act"]) AND $_GET["act"]=="Arcade")
{
if($_POST['gname'] == "asteroids")
{
$game = 1;
$level = 1;
$score = $_POST['score'];
}
if($_POST['gname'] == "breakout")
{
$game = 2;
$level = 1;
$score = $_POST['gscore'];
}
if($_POST['gname'] == "hexxagon")
{
$game = 3;
$level = 1;
$score = $_POST['gscore'];
}
if($_POST['gname'] == "invaders")
{
$game = 4;
$level = 1;
$score = $_POST['score'];
}
if($_POST['gname'] == "moonlander")
{
$game = 5;
$level = 1;
$score = $_POST['gscore'];
}
if($_POST['gname'] == "pacman")
{
$game = 6;
$level = 1;
$score = $_POST['gscore'];
}
if($_POST['gname'] == "psol")
{
$game = 7;
$level = 1;
$score = $_POST['gscore'];
}
if($_POST['gname'] == "simon")
{
$game = 8;
$level = 1;
$score = $_POST['gscore'];
}
if($_POST['gname'] == "snake")
{
$game = 9;
if($_POST['levelName'] == "LEVEL: SLUG")
{
$level = 1;
}
if($_POST['levelName'] == "LEVEL: WORM")
{
$level = 2;
}
if($_POST['levelName'] == "LEVEL: PYTHON")
{
$level = 3;
}
$score = $_POST['score'];
}
if($_POST['gname'] == "tetris")
{
$game = 10;
$level = $_POST['level'];
$score = $_POST['gscore'];
}
$db->sql_query("INSERT INTO `".$db_prefix."_flashscores` ( `ID` , `game` , `user` , `level` , `score`, `date`) VALUES ( '', '".$game."', '".$player."', '".$level."', '".$score."', '" . get_date_time() . "');") OR DIE(MySQL_ERROR());
$urlc="flashscores.php";
print("\n");
die;

}
if (isset($has_newpm) AND $has_newpm) {
OpenTable2(_btpm);
echo "

"._btyougotpm."

";
CloseTable2();
}
if ($welcome_message != ""){
OpenTable2(_btsitenews);
$welcome_message = format_comment($welcome_message);
parse_smiles($welcome_message);
echo "


All times are GMT +2. The time now is 13:01.

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