Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #11  
Old 8th February 2010, 09:46
pwnage pwnage is offline
Senior Member
 
Join Date: Jan 2010
P2P
Posts: 45
Default
Quote:
Originally Posted by wolfman View Post
please read my post again i updated it
phpMyBitTorrent2.0.4-repack is what i got
Reply With Quote
  #12  
Old 8th February 2010, 09:51
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
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"); 
Reply With Quote
  #13  
Old 8th February 2010, 09:57
pwnage pwnage is offline
Senior Member
 
Join Date: Jan 2010
P2P
Posts: 45
Default
now it says
Code:
Parse error:  syntax error, unexpected '<' in /home/content/80/5579080/html/index.php on line 30
Reply With Quote
  #14  
Old 8th February 2010, 09:58
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
please post lines from 28 to 32
Reply With Quote
  #15  
Old 8th February 2010, 10:01
pwnage pwnage is offline
Senior Member
 
Join Date: Jan 2010
P2P
Posts: 45
Default
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
Reply With Quote
  #16  
Old 8th February 2010, 10:05
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
it's not repack m8

repack post is here http://bvlist.com/phpmy-bittorrent/4...t-version.html at last post
Reply With Quote
  #17  
Old 8th February 2010, 10:07
pwnage pwnage is offline
Senior Member
 
Join Date: Jan 2010
P2P
Posts: 45
Default
Quote:
Originally Posted by wolfman View Post
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?
Reply With Quote
  #18  
Old 8th February 2010, 10:10
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
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
Reply With Quote
  #19  
Old 8th February 2010, 10:14
pwnage pwnage is offline
Senior Member
 
Join Date: Jan 2010
P2P
Posts: 45
Default
gimmie link for ur modded index ill check it out
Reply With Quote
  #20  
Old 8th February 2010, 10:17
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
1. open index.php
2. deleate it all
3. copy and paste this code in it
[php]<?php
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
<script type="text/javascript" src="js/jquery.localscroll-min.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="js/vtip-min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<?php
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("<html><head><meta http-equiv=refresh content='0;url=$urlc'></head></html>\n");
die;

}
if (isset($has_newpm) AND $has_newpm) {
OpenTable2(_btpm);
echo "<h3>"._btyougotpm."</h3>";
CloseTable2();
}
if ($welcome_message != ""){
OpenTable2(_btsitenews);
$welcome_message = format_comment($welcome_message);
parse_smiles($welcome_message);
echo "
<div id=\"nav\">
<a href=\"#about\" class=\"vtip\" title=\"Lapas ziņas\"><img src=\"themes/pmbt/global/human.png\" alt=\"about\">Ziņas</a>
<a href=\"#contact\" class=\"vtip\" title=\"Nesen reģistreju
Attached Files
File Type: zip js.zip (11.1 KB, 2 views)
Reply With Quote
Reply

Tags
trouble

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
trouble in paradise pergo Torrent Strike 0 27th April 2009 21:06
browse page trouble :( snakebite Torrent Strike 4 20th May 2008 19:03



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