Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[ADDON] Search for Freeleech & Vip Torre
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-07-30 09:46:40
This will allow you to search for free leech and also vip torrents you should have the vip torrent mod in place for it to work thanks you can find it [url="http://www.torrenttrader.org/index.php?showtopic=6783"]HERE[/url] thank you Ezerbeth for brining that mod over

open torrent-search.php

find:

//include dead

if ($_GET["incldead"] == 1) {

$addparam .= "incldead=1&";

$thisurl .= "incldead=1&";

}elseif ($_GET["incldead"] == 2){

$wherea[] = "visible = 'no'";

$addparam .= "incldead=2&";

$thisurl .= "incldead=2&";

replace with:

//include dead

switch($_GET['incldead']) {

case 1:

$addparam .= "incldead=1&";

if (!isset($CURUSER) || get_user_class < UC_ADMINISTRATOR)

$wherea[] = "banned != 'yes'";

break;

case 2:

$wherea[] = "visible = 'no'";

break;

case 3:

$addparam .= "incldead=3&amp;";

$wherea[] = "freeleech = '1'";

$wherea[] = "visible = 'yes'";

break;

case 4:

$addparam .= "incldead=4&amp;";

$wherea[] = "vip = 'y'";

$wherea[] = "visible = 'yes'";

break;

default:

$wherea[] = "visible = 'yes'";

then find:

	<option value="2">Only Dead</option>
below add:


	<option value="3">Free Leech</option>

<option value="4">Vip</option>





Next Open torrents.php



Find:



		case 'comments': $sort = "torrents.comments"; $addparam .= "sort=comments&"; break;;





below add:



		case 'freeleech': $sort = "torrents.freeleech"; $addparam .= "sort=freeleech&"; break;





next find:



echo "<option value='leechers'" . ($_GET["sort"] == "leechers" ? "selected" : "") . ">Leechers</option>";





below add:



echo "<option value='freeleech'" . ($_GET["sort"] == "freeleech" ? "selected" : "") . ">Freeleech</option>";







Next open advancesearch_block.php



find:



<option value="2">Only Dead</option>





below add:



<option value="3">Free Leech</option>

<option value="4">Vip</option>



Thats it working in latest TT v2.04
Unknown User
2008-07-30 16:52:54
hello,

Quote:
you should have the vip torrent mod in place for it to work

but i don't find this mode can you help me please.

thx
Unknown User
2008-07-30 17:43:17
updated first post with link thanks
Unknown User
2008-07-30 17:49:23
thx man
Unknown User
2008-08-06 12:18:51
Hello

Let me put it to the v2.03 version, can you help me?
Unknown User
2008-08-08 08:36:25
"OGGY, post: 45250":
Hello
Let me put it to the v2.03 version, can you help me?


Person to help me on the code for 2.3?
Unknown User
2008-08-20 16:36:04
is there a huge difference from 2.03 to 2.04 to my knowledge just exploit fixes this should work fine on 2.03 is there something in particular that your stuck on ??
Unknown User
2008-08-21 00:08:56
"Lenaud01, post: 45709":
is there a huge difference from 2.03 to 2.04 to my knowledge just exploit fixes this should work fine on 2.03 is there something in particular that your stuck on ??

:blink:  there isn't any exploits in V2.03. V2.04 came out because there were a lot of things added or fixed in V2.03
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728