Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Strike (http://www.bvlist.com/forumdisplay.php?f=21)
-   -   Torrentstrike Fullymodded v1.0 (http://www.bvlist.com/showthread.php?t=117)

Fynnon 11th January 2008 22:18

Torrentstrike Fullymodded v1.0
 
6 Attachment(s)
This has been updated on the 29th oct. 2007

Its had these changes made

* quick comment layout fixed (was missing )
* sqlcmdex.php has been removed for security issues
* links to the comments in userhistory.php has been fixed to work in sub folders
* bonus points in userdetails has now been fixed (replayed with a working code)
* cleaned up some of the files and removed any files that was left in and not used[/warn]

Ok, i decided to make another version of a fullymodded torrentstrike .
Simply install the source like any other ts source and no editing to the config needed anymore .

Here's a list of the mods ive put on it so far:
Code:

01 - Active Users Modified By Sh0Ly
02 - News In Index Page Show\Hide By webnet
03 - Little MySQL injection and other hacking protection By aymanghost
04 - Complete anonymous uploading by Wilba and Ininja (browse , details ,comments)
05 - Poster Mod by johim, modified by enzo,devinkray
06 - Simpaty mod
07 - Progress bar (in browse and details ), by david (modified by me)
08 - Flash arcade mod (working), by Gemberkoekje
09 - Radio listening on page, By aymanghost
10 - Show/Hide Statbox, Ripped from nvision - modified by me
11 - Registered Block by dorksville
12 - Better Links System, By Teekay
13 - Links Block By Me
14 - Little MySQL injection and other hacking protection, By aymanghost
15 - Flush torrents mod
16 - Show/Hide torrent stats in userdetails
17 - RSS Feed with Passkey
18 - BBcode added to (comments , news , upload , )
19 - Download / Upload Speed, by Nazaret2005
20 - BT Client Selection Option By Enzo (add in topten also)
21 - Clickable thank you button in details ,by be4i
22 - Gender mod by enzo
23 - Online (Yes/No) Mod, By Sh0Ly
24 - Userbar with ratio stats
25 - Option to choose not to see signatures and avatars in profile
26 - Golden Torrents, Mod by Laffin and MMN-O
27 - Lottery Mod v2 - iMT, modification of iBheat, Automated/Dynamic Lottery System
28 - Port checker by lords
29 - Seeding Bonus, credit to TvRecall
30 - Quick Reply in Comments by ltn100
31 - Stopping staff from being added to the friends list
32 - more complex snatched list, Loosely based of of oink's code by thebrass
34 - Friends online in online list, by SvavarL & slightly modified by me
35 - Upload & Downoad & forum priviliges, Original Code By Kipe & Modified By Wilba
36 - Current Mood mod by anka
37 - Change username + email for staff + reset users password in userdetails by wilba
38 - Birthday Mod
39 - Old status bar added in the 2 defualt themes
40 - 6 Failed Logins, 6 failed logins in a row will result in banning your ip! - BY xam
41 - Simple Announcement MOD by ashkarkm
42 - Addon for the complex snatched list, this will warn users that have started too many torrents
43 - Invite Tree Final by devin, based on OiNK's code (added extra feature in userdetails to allow mods to view there invitees)
44 - Multi Scrape (Multi Request), Multi Scrape Support (For Azureus) by Nafania
45 - Code for Floods and Cheats block!, created by A1
46 - Short Description by s4ne & devinkray (i think)
47 - Account Parking & Parked Accounts Addon
48 - Hangman Game
49 - Mega Casino with fix applied (seems to be working with me but might still need working on )
50 - Blackjack game with fix added (still in beta stage if you ask me )
51 - Wilba's Server Load Code (You can always /* */ it out if you use linux. linux server load code added also)
52 - Changed the normal nfo veiwer for the dos style veiwer (makes nfo's look alot better)
53 - Added Naughts & Crosses game
54 - Show/Hide status bar in all themes ( in ICGstation theme it only removes the text not the actual navbar)
55 - Cached - stats,newestuser (will hopefully have news,topten,poll done also)
56 - Torrent Info Mod by ltn100 (displays extra torrent info for mods and above in the details.php)
57 - Added a money mod where it works the same way as the bonus mod but will be used for buying things in the v2 or v3(still in progress)
58 - Added the pet mod that uses the money mod to buy the pets and food (you can only buy a pet at the moment)
59 - Contact (icq,msn,yahoo,aim,skype)by Nazaret2005
60 - Request and Offer mod complete and working MADE SAFE by Sir_SnuggleBunny
61 - Banned email address by xam
62 - Added a map for the activity part of the site(stil in progress and only links for the petshop work in it up to now)

this source is for use in sub folder and if you have it in your root then you will have to change some of the pic links to direct to the correct folders etc ..


this has been tested more than enough on my comp and ive not found any errors as of yet but if you do find any errors post them here so i can fix them . there will always be a error popping up with other people if they havnt installed it proper so dont think you are going to have a 100% fine source when using this since its not been 100% tested on a live site yet .

If you remove the credits from the stdfoot that leads back to here and tbdev then i will simply delete your post if you are having problems and no help will be given to you .

this is the list of fixes ive done so far so hopefully the bug count should lower now :)

**********************************************
Plus 5 THEMES
**********************************************

Midnight
XD Redzone
BT Network
Kinon CP
SHE

Torrentstrike Fullymodded v1.0 by Tony

zanzzy 18th January 2008 01:16

Re: Torrentstrike Fullymodded v1.0
 
working just great :D
installed on the latest version of xampp

gj

Kukaracha 23rd January 2008 20:11

Re: Torrentstrike Fullymodded v1.0
 
i have problem in takeupload.php

Code:

Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 100000001 bytes) in /drones2/alcoves/ssg/public_html/include/benc.php on line 181

Fynnon 23rd January 2008 23:59

Re: Torrentstrike Fullymodded v1.0
 
Quote:

Originally Posted by Kukaracha (Post 218)
i have problem in takeupload.php

Code:

Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 100000001 bytes) in /drones2/alcoves/ssg/public_html/include/benc.php on line 181


1. You can increase the memory allowed per process by editing this line in your php.ini file and restarting Apache:

memory_limit = 16M (add the line if it is missing)

2. If you do not have access to php.ini but your webspace is able to handle ".htaccess" files then you should be able to set it by adding the following line to .htaccess file

php_value memory_limit 16M

3. Put the following code in your php page for increasing the memory size without making any change in php.ini

ini_set("memory_limit","24M");

4. One alternative is to contact your service provider and ask them to change that setting. Maybe they are kind enough to help.

Kotafi 24th January 2008 14:14

Re: Torrentstrike Fullymodded v1.0
 
Or you can open include/benc.php and below the first
ini_set("memory_limit", "32M");

This would work fine too :)

seb35 30th January 2008 21:05

Re: Torrentstrike Fullymodded v1.0
 
simple - in config.php
change
Code:

$max_torrent_size = 1073741824;
with
Code:

$max_torrent_size = 1024 * 1024;

MaexM 31st January 2008 20:58

Re: Torrentstrike Fullymodded v1.0
 
Code:

Warning: exec() has been disabled for security reasons in /home/maexmass/public_html/index.php on line 458
What is this one?

\n");

print (date("l d<\sup>S F Y h:i A"));

$time = round(getmicrotime() - $time_start,4);
$percent = $time * 60;
echo "
Global Server Load (All websites on current host servers): ($percent %)
seb35 1st February 2008 00:27

Re: Torrentstrike Fullymodded v1.0
 
replace in index.php

Code:

begin_frame("Server load",true,5);?>
function getmicrotime(){
    list($usec, $sec) = explode(" ",microtime());
    return ((float)$usec + (float)$sec);
    }
$time_start = getmicrotime();
$time = round(getmicrotime() - $time_start,4);
$percent = $time * 60;

$time = round(getmicrotime() - $time_start,4);
$percent = $time * 60;
echo "
Our Tracker Load: ($percent %)
";

//TRACKER LOAD
if ($percent <= 70) $pic_base_url = "pic/loadbargreen.gif";
    elseif ($percent <= 90) $pic_base_url = "pic/loadbaryellow.gif";
      else $pic_base_url = "pic/loadbarred.gif";
          $width = $percent * 4;
echo "$percent%

";
echo "
" . trim(exec('uptime')) . "

";

if (isset($load))
print("
10min load average (%)$load
";

if ($percent <= 70) $pic_base_url = "pic/loadbargreen.gif";
  elseif ($percent <= 90) $pic_base_url = "pic/loadbaryellow.gif";
  else $pic_base_url = "pic/loadbarred.gif";
        $width = $percent * 4;
echo "$percent%
";
?>



with

Code:



if ($percent <= 70) $pic = "loadbargreen.gif";
elseif ($percent <= 90) $pic = "loadbaryellow.gif";
else $pic = "loadbarred.gif";
$width = $percent * 4;
print("$percent%"); ?>



pepegrillo 2nd March 2008 17:17

Re: Torrentstrike Fullymodded v1.0
 
Hi, in tracker Torrentstrike Fullymodded v1.0 when download .torrent this error:

Code:

Not Found

Sorry pal :(

Please help fix !?

Thanks from Argentina !!!

Neptune 5th March 2008 14:58

Re: Torrentstrike Fullymodded v1.0
 
Quote:

Originally Posted by pepegrillo
Hi, in tracker Torrentstrike Fullymodded v1.0 when download .torrent this error:

Code:

Not Found

Sorry pal :(

Please help fix !?

Thanks from Argentina !!!

change your download.php with this 1

Code:

require_once("include/bittorrent.php");
require_once("include/benc.php");

$id = (int)$_GET["id"];
$name = $_GET["name"];

if (!$id)
httperr();

$res = mysql_query("SELECT name FROM torrents WHERE id = $id") or sqlerr(__FILE__, __LINE__);
$row = mysql_fetch_assoc($res);

$fn = "$torrent_dir/$id.torrent";

if (!$row || !is_file($fn) || !is_readable($fn))
  httperr();

mysql_query("UPDATE torrents SET hits = hits + 1 WHERE id = $id");

header("Content-Type: application/x-bittorrent");
header("Content-Disposition: attachment; filename=".$_GET["name"]."");

$dict = bdec_file($fn, filesize($fn));
if(ENA_PASSKEY) {
  verify_passkey($CURUSER['passkey']);
  $dict['value']['announce'] = bdec(benc_str("$BASEURL/". (ENA_ALTANNOUNCE ? "tracker.php/$CURUSER[passkey]/announce":"announce.php?passkey=$CURUSER[passkey]")));
} else if(ENA_ALTANNOUNCE)
  $dict['value']['announce'] = bdec(benc_str("$BASEURL/tracker.php/announce"));

print benc($dict);

?>

and in your details.php
change

to



All times are GMT +2. The time now is 15:32.

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