Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Downloads (http://www.bvlist.com/forumdisplay.php?f=16)
-   -   H-Tracker v2 (http://www.bvlist.com/showthread.php?t=1753)

raefor 28th October 2009 13:14

my old site that worked
 
1 Attachment(s)
just putting it out there for you all hope it my help someone

underx 28th October 2009 22:11

After adding a theme is says:
"'The following themes were added:
themename


Redirecting...'"
then you are not redirected!

raefor 29th October 2009 15:01

Quote:

Originally Posted by underx (Post 17019)
After adding a theme is says:
"'The following themes were added:
themename


Redirecting...'"
then you are not redirected!



just go back to themes it will load
:relax:

DooM 11th January 2010 14:42

How can I remove the ads from the banner ?

moondust5 19th January 2010 09:13

H-Tracker v2
 
I dled H-Tracker v2 couple days ago i got it installed an everything seems to be running fine except for torrent downloads.

Some of the torrent download links works an others i this msg
Code:

(Your Site has been attacked. Details about last attack: "random ip"  - Mozilla/5.0 ( Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 ).
Can anyone give pointers?
Thanks....

PerformerXTR 20th January 2010 20:21

how can i set another default theme? not the "fisubice" theme!
When a new user comes to the site to see a theme that i want.:unknown:

I tryied to delete the fisubice theme from theme management but then the index page was blank!:sad:


later edit:
!! i made it!

I modified in the database value of the fisubice! I put 1 to my theme and 6 to the fisubice theme! Newbie work! :P

oopss 21st January 2010 02:12

edit comment
 
Hi, sorry, im dont speak english :sorry:

Pleaz help..in torrents details and news ,dont work EDIT Comments..
This deleet all text, about edit..whay problem?


* Add Comment *
http://s004.radikal.ru/i207/1001/20/784b13daa1b7.png

* Edit Comment *
http://s006.radikal.ru/i214/1001/84/fb3589264049.png

moondust5 13th February 2010 15:26

H-Tracker 2
 
Has anyone been having problems with h-tracker 2 being able to track torrents,i think its a header error, whenever i upload a torrent then download it with a client i error msg in client saying "http error 406", i have downloaded other announce.php but i get same error, looked into the problem an cant seem to figure it out help plzzzz

");
}
}else{
if ($site_config["AGEON"] && $CURUSER["class"] <=3){
if ($CURUSER["age"] < $row["age_name"]){
$torrentage = "\"Age";
}else{
$torrentage = "\"Age";
}
}else{
$torrentage = "\"Age";
}
print("
raefor 23rd February 2010 20:26

Quote:

Originally Posted by moondust5 (Post 20938)
Has anyone been having problems with h-tracker 2 being able to track torrents,i think its a header error, whenever i upload a torrent then download it with a client i error msg in client saying "http error 406", i have downloaded other announce.php but i get same error, looked into the problem an cant seem to figure it out help plzzzz

This error occurs very infrequently in Web browsers, because most browsers will accept any data returned from the Web server.
If the client is not a Web browser, then anyone can only investigate the problem by looking at the Accept headers generated by the client system and the data stream returned by the Web server.

Quote:

Originally Posted by oopss (Post 19817)
Hi, sorry, im dont speak english :sorry:
Pleaz help..in torrents details and news ,dont work EDIT Comments..
This deleet all text, about edit..whay problem?

you can try this one

[php] //
// H-Tracker v0.2
// http://h-tracker.org
// Based on TorrentTrader (http://www.torrenttrader.org)
//
//
require_once("backend/functions.php");
require_once("backend/BDecode.php") ;
require_once("backend/parse.php") ;//replace with parse later
dbconn();
parked();

$torrent_dir = $site_config["torrent_dir"];
$nfo_dir = $site_config["nfo_dir"];

//check permissions
if ($site_config["MEMBERSONLY"]){
loggedinonly();

if($CURUSER["view_torrents"]=="no")
show_error_msg("Error","You do not have permission to view torrents",1);
}

//************ DO SOME "GET" STUFF BEFORE PAGE LAYOUT ***************

$id = (int) $_GET["id"];
$scrape = (int)$_GET["scrape"];
if (!is_valid_id($id))
show_error_msg("ERROR","Thats not a valid ID",1);

//GET ALL MYSQL VALUES FOR THIS TORRENT
$res = mysql_query("SELECT torrents.anon, torrents.seeders, torrents.vip, torrents.thanks, torrents.banned, torrents.nuked, torrents.tube, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.name, torrents.owner, torrents.save_as, torrents.descr, torrents.visible, torrents.size, torrents.added, torrents.views, torrents.hits, torrents.times_completed, torrents.id, torrents.type, torrents.external, torrents.image1, torrents.image2, torrents.announce, torrents.numfiles, torrents.freeleech, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating, torrents.numratings, categories.name AS cat_name, torrentlang.name AS lang_name, torrentlang.image AS lang_image, torrentage.name AS age_name, torrentage.image AS age_image, categories.parent_cat as cat_parent, users.username, users.privacy FROM torrents LEFT JOIN categories ON torrents.category = categories.id LEFT JOIN torrentlang ON torrents.torrentlang = torrentlang.id LEFT JOIN torrentage ON torrents.torrentage = torrentage.id LEFT JOIN users ON torrents.owner = users.id WHERE torrents.id = $id") or die(mysql_error());



$row = mysql_fetch_array($res);

$vip = $row["vip"];
$vips = $row["vip"];

if ($vip == "y") {
$vip = "Yes";
} else {
$vip = "No";
}
//DECIDE IF TORRENT EXISTS
if (!$row || ($row["banned"] == "yes" && !$moderator))
show_error_msg("Error","" . TORRENT_NOT_FOUND . "",1);

//torrent is availiable so do some stuff

if ($_GET["hit"]) {
mysql_query("UPDATE torrents SET views = views + 1 WHERE id = $id");
header("Location: torrents-details.php?id=$id");
die;
}

stdhead("Details for torrent \"" . $row["name"] . "\"");

if ($CURUSER["id"] == $row["owner"])
$owned = 1;
else
$owned = 0;

if ($CURUSER["edit_torrents"]=="yes")
$owned = 1;

//take rating
if ($_GET["takerating"] == 'yes'){
$rating = (int)$_POST['rating'];

if ($rating <= 0 || $rating > 5)
show_error_msg("Rating Error", "Invalid rating",1);

$res = mysql_query("INSERT INTO ratings (torrent, user, rating, added) VALUES ($id, " . $CURUSER["id"] . ", $rating, '".get_date_time()."')");

if (!$res) {
if (mysql_errno() == 1062)
show_error_msg("Rating Error", "You have already rated this torrent.",1);
else
show_error_msg("Rating Error", "A Unknown Error, contact staff",1);
}

mysql_query("UPDATE torrents SET numratings = numratings + 1, ratingsum = ratingsum + $rating WHERE id = $id");
autolink("torrents-details.php?id=$id", "Thank you for rating this torrent...");
}

//take comment add
if ($_GET["takecomment"] == 'yes'){
loggedinonly();
if (!($CURUSER['comment_count'] < $CURUSER['comment_max']))
show_error_msg("Notice","You have reached your Comment limit. Please wait 10 minutes before retrying.");
$commentbody = $_POST['body'];

if (!$commentbody)
show_error_msg("Error","You did not enter anything!",1);

mysql_query("UPDATE torrents SET comments = comments + 1 WHERE id = $id") or die(mysql_error());
mysql_query("UPDATE users SET comment_count = comment_count + 1 WHERE id = $id") or die(mysql_error());

mysql_query("INSERT INTO comments (user, torrent, added, text) VALUES (".$CURUSER["id"].", ".$id.", '" .get_date_time(). "', " . sqlesc($body).")") or die(mysql_error());

if (mysql_affected_rows() == 1)
autolink("torrents-details.php?id=$id", "Your Comment was added successfully");
else
show_error_msg("Error","Unable to add comment",0);
}//end insert comment

//START OF PAGE LAYOUT HERE
$char1 = 55; //cut length
$shortname = CutName(htmlspecialchars($row["name"]), $char1);

begin_frame("" . TORRENT_DETAILS_FOR . " \"" . $shortname . "\"");
if ($owned)
$edittorrent = "\"Edit";

// Calculate local torrent speed test
if ($row["leechers"] >= 1 && $row["seeders"] >= 1 && $row["external"]!='yes'){
$speedQ = mysql_query("SELECT (SUM(p.downloaded)) / (UNIX_TIMESTAMP('".get_date_time()."') - UNIX_TIMESTAMP(added)) AS totalspeed FROM torrents AS t LEFT JOIN peers AS p ON t.id = p.torrent WHERE p.seeder = 'no' AND p.torrent = '$id' GROUP BY t.id ORDER BY added ASC LIMIT 15") or die(mysql_error());
$a = mysql_fetch_assoc($speedQ);
$totalspeed = mksize($a["totalspeed"]) . "/s";
}else{
$totalspeed = "---";
}
echo "
Status";
echo "
";
if ($row["banned"] == "yes"){
print ("
" . DOWNLOAD . ": BANNED!
");
if ($vip == 'Yes' && get_user_class($CURSER) < 3) {
print("
VIP torrent!
");
print("

");
if ($row["external"]!='yes'){
print("");
}
print("");
if ($row["external"]!='yes' && $row["seeders"] <= 1 && $row["times_completed"] > 0){ //if local and completed
print("");
}
if ($row["external"]!='yes' && $row["freeleech"]=='1'){
print("");
}
if ($row["external"]!='yes' && $vips == "y") {
print("");
}
print("");
if ($row["external"]=='yes'){
if ($scrape =='1'){
if ($seeders1 != -1){
print("");
}else{
print("");
}
print("");
}else{
print("");
}
}

print("");
print("");
print("");
if ($row["external"]!='yes'){
print("");
}
print("");
if ($row["external"]!='yes' && $row["seeders"] <= 1 && $row["times_completed"] > 0){ //if local and completed
print("");
}
if ($row["external"]!='yes' && $row["freeleech"]=='1'){
print("");
}
if ($row["external"]!='yes' && $vips == "y") {
print("");
}
print("");

if ($row["external"]=='yes'){
if ($scrape =='1'){
print("\n");
$tracker=str_replace("/announce","/scrape",$row['announce']);
$stats = torrent_scrape_url($tracker, $row["info_hash"]);
$seeders1 = strip_tags($stats['seeds']);
$leechers1 = strip_tags($stats['peers']);
$downloaded1 = strip_tags($stats['downloaded']);

if ($seeders1 != -1){ //only update stats if data is received
print("");

mysql_query("UPDATE torrents SET leechers='".$leechers1."', seeders='".$seeders1."',times_completed='".$downloaded1."',last_action= '".get_date_time()."',visible='yes' WHERE id='".$row['id']."'");
}else{
print("");
}
}else{
print("\n");
}
print ("";
}
}
}
print ("");
echo "
" . HEALTH . ": \"" \""Speed:\""Who's Completed?Free Leech:VIP torrent: Last Checked:Tracked:Live StaTus:Live StaTus:Tracked:
".health($row["leechers"], $row["seeders"])."
" . $row["seeders"] . "" . $row["leechers"] . "" . $totalspeed . "" . $row["times_completed"] . "View  Request A Re-SeedThis torrent is freeleech so only upload counts!This torrent is for VIP members only!" . date("d-m-Y H:i:s", utc_to_tz_time($row["last_action"])) . " EXTERNAL ");
print ("Seeders: ".$seeders1."
");
print ("Leechers: ".$leechers1."
");
print ("Completed: ".$downloaded1."
\n");
print ("
");
print ("Tracker Timeout
Please retry later

EXTERNAL 
Tracker:
".$row['announce']."");
//read torrent info
$TorrentInfo = array();
$TorrentInfo = ParseTorrent("$torrent_dir/$id.torrent");
$annlist = $TorrentInfo[6];
$filelist = $TorrentInfo[8];

if (count($annlist)){
echo "
Backup trackers:";
foreach ($annlist as $alist) {
echo "
";
echo "".$alist[0]."";
}
echo"

";
//end download box
$ads = ads();
if ($ads){
echo "
Advertising";
echo"
".$ads."
";
echo "
";
}
echo "
Details";
echo "";
print("
");
print("\n");
print("\n");
print("\n");
print("\n");
if (empty($row["lang_name"])) $row["lang_name"] = "Unknown/NA";
print("");

print("\n");
print("\n");
print("");
$UClass=@mysql_fetch_array(@mysql_query("SELECT * FROM users JOIN groups ON users.class=groups.group_id WHERE users.id='$row[owner]'"));
$user = "$row[username]";
if ($row["anon"] == "yes" && !$owned)
print("");
elseif ($user)
print("");
else
print("");

print("\n");
print("\n");
print("\n");
print("\n");
if ($site_config["AGEON"] && $CURUSER["class"] <=3){
if ($CURUSER["age"] < $row["age_name"]){
$torrentube = "Watch The trailer";
} else{
$torrentube = "Watch The trailer";
}
}else{
$torrentube = "Watch The trailer";
}
if (!empty($row["tube"]))
print ("");
$thanksl = explode(",", $row['thanks']);
if ($CURUSER['username'] == $row['username'] || !$CURUSER) $leftthanks = true;
foreach ($thanksl as $u) {
$thanks .= ($i>0)?", $u":$u;
if ($u == $CURUSER['username']) $leftthanks = true;
$i++;
}

if (!$thanks) $thanks = "No one yet.";

print("\n");


// $srating IS RATING VARIABLE
$srating = "";
$srating .= "";

print("
". $srating . "
");// rating

//END DEFINE RATING VARIABLE
echo "
" . NAME . ":" . $shortname . "
Actions:$torrentage  \"Report ".$edittorrent."
Description:
" . format_comment($row['descr']) . "
" . TTYPE . ":" . $row["cat_parent"] . " > " . $row["cat_name"] . "
Language:" . $row["lang_name"] . "\n");

if (isset($row["lang_image"]) && $row["lang_image"] != "")
print(" \""");

print("
" . TOTAL_SIZE . ":" . mksize($row["size"]) . "
" . INFO_HASH . ":" . $row["info_hash"] . "
" . ADDED_BY . ":Anonymous
" . ADDED_BY . ":" . $user . "  \"Respect\"  \"Anti-Respect\"
" . ADDED_BY . ":Unknown
" . DATE_ADDED . ":" . date("d-m-Y H:i:s", utc_to_tz_time($row["added"])) . "
" . VIEWS . ":" . $row["views"] . "
" . HITS . ":" . $row["hits"] . "
" . Nuked . ":" . $row["nuked"] . "
" . Youtube . ": $torrentube
Thanks By:$thanks\n");
if (!$leftthanks) print(" 
Rating:";
if (!isset($row["rating"])) {
$srating .= "Not Yet Rated";
}else{
$rpic = ratingpic($row["rating"]);
if (!isset($rpic))
$srating .= "invalid?";
else
$srating .= "$rpic (" . $row["rating"] . " out of 5) " . $row["numratings"] . " users have rated this torrent";
}
$srating .= "\n";
if (!isset($CURUSER))
$srating .= "(Log in to rate it)";
else {
$ratings = array(
5 => "Cool!",
4 => "Pretty good",
3 => "Decent",
2 => "Pretty bad",
1 => "Sucks!",
);
//if (!$owned || $moderator) {
$xres = mysql_query("SELECT rating, added FROM ratings WHERE torrent = $id AND user = " . $CURUSER["id"]);
$xrow = mysql_fetch_array($xres);
if ($xrow)
$srating .= "
(You rated this torrent as \"" . $xrow["rating"] . " - " . $ratings[$xrow["rating"]] . "\")";
else {
$srating .= "
\n";
$srating .= "\n";
$srating .= "";
$srating .= "
\n";
}
//}
}
$srating .= "
";
echo "
";

if ($row["image1"] != "" OR $row["image2"] != "") {
if ($row["image1"] != "")
$img1 = "\"Click";
if ($row["image2"] != "")
$img2 = "\"Click";
print("
". $img1 . "&nbsp&nbsp" . $img2."

");
}

echo "
File List: 
";

if ($row["external"]!='yes'){
echo "
Peers List: 
";
}
}


echo "

";

//DISPLAY NFO BLOCK
function my_nfo_translate($nfo){
$trans = array(
"\x80" => "
melcu66 24th February 2010 01:23

how can I delete the columns marked on the picture from the website?
 
1 Attachment(s)
How can I delete the columns marked on the picture from the website?
& to add pictures from direct link without resizing when i upload torrents, (screens from movies etc.)
Pls help if you know ;):coffee:


All times are GMT +2. The time now is 17:49.

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