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?
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
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();
//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());
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);
// 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 " ";
//end download box
$ads = ads();
if ($ads){
echo "";
}
echo "