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
User Posts

Go to Profile

Woww!! thanks you mostvotedplaya  :D  :D

Bonjours a tous, je vous partage un petit mode pour y voir le torrent actif sur une seedbox avec descrtition et image.

..p.s désolé pour mon anglais pourie lol  ^_^

~~~~~~~~~~~~~~~~~~~~~~~//

Hello everybody, I'll share a little way to see the active torrent on a seedbox with descrtition and image.

... p.s désolé for lun. anglais pourie lol  ^_^

je suis pas un king, vous pouvez me corriger et meme ajouter des lignes de plus!  ;)  :D

*****************************

I am not a king, you can correct me and even add more lines!  ;)  :D

SQL



ALTER TABLE torrents ADD seedbox ENUM ('yes','no') DEFAULT 'no';

Open functions.php and Search


 if ($row["freeleech"] == 1)

$dispname .= " <img src='images/free.gif' border='0' alt='' />";





Add after



 if ($row["seedbox"] == "yes")

$dispname .= " <img src='images/seedbox.png' border='0' alt='' />";







Open torrents-edit.php and Search



 $updateset[] = "anon = '" . ($_POST["anon"] ? "yes" : "no") . "'";





Add after



 //update seedbox

if(get_user_class($CURUSER) > 4) {

if ($_POST["seedbox"] == "yes") {

$updateset[] = "seedbox = 'yes'";

}else{

$updateset[] = "seedbox = 'no'";

}

}





Search



if ($row["external"] != "yes" && $CURUSER["edit_torrents"] == "yes"){

echo "<tr><td align='right'><b>".T_("FREE_LEECH").": </b></td><td><input type="checkbox" name="freeleech"" . (($row["freeleech"] == "1") ? " checked="checked"" : "" ) . " value="1" />&nbsp;".T_("FREE_LEECH_MSG")."<br /></td></tr>";

}





Add before





echo "<tr><td align='right'><b>".T_("SEEDBOX").": </b></td><td><input type="checkbox" name="seedbox"" .

(($row["seedbox"] == "yes") ? " checked="checked"" : "" ) . " value="yes" />&nbsp;" .T_("SEEDBOX_MSG"). "<br/>";








Open torrents-details.php and Search



torrents.freeleech,





Add after



 torrents.seedbox,





Search



 if ($row["external"]!='yes' && $row["freeleech"]=='1'){

print ("<b>".T_("FREE_LEECH").": <img src='images/free.gif' border='0'></b><font color='#ff0000'>".T_("FREE_LEECH_MSG")."</font><br />");

}





Add after



 if ($row["external"]!='yes' && $row["seedbox"]=='yes'){

print ("<b>".T_("SEEDBOX").": <img src='images/seedbox.png' border='0'></b><font color='#ff0000'>".T_("SEEDBOX_MSG")."</font><br />");

}







Open torrents-search.php and Search



torrents.freeleech,





Add after



 torrents.seedbox,





Search



// Include freeleech

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

$addparam .= "freeleech=1&amp;";

$thisurl .= "freeleech=1&amp;";

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

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

$addparam .= "freeleech=2&amp;";

$thisurl .= "freeleech=2&amp;";

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

}





Add after



// Include seedbox

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

$addparam .= "seedbox=1&amp;";

$thisurl .= "seedbox=1&amp;";

$wherea[] = "seedbox = '0'";

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

$addparam .= "seedbox=2&amp;";

$thisurl .= "seedbox=2&amp;";

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

}





Search



 <select name="incldead">

<option value="0"><?php echo T_("ACTIVE_TRANSFERS"); ?></option>

<option value="1" <?php if ($_GET["incldead"] == 1) echo "selected='selected'"; ?>><?php echo T_("INC_DEAD");?></option>

<option value="2" <?php if ($_GET["incldead"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_DEAD");?></option>

</select>

<select name="freeleech">

<option value="0">Any</option>

<option value="1" <?php if ($_GET["freeleech"] == 1) echo "selected='selected'"; ?>><?php echo T_("NOT_FREELEECH");?></option>

<option value="2" <?php if ($_GET["freeleech"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_FREELEECH");?></option>

</select>





Replace



 <select name="incldead">

<option value="0"><?php echo T_("ACTIVE_TRANSFERS"); ?></option>

<option value="1" <?php if ($_GET["incldead"] == 1) echo "selected='selected'"; ?>><?php echo T_("INC_DEAD");?></option>

<option value="2" <?php if ($_GET["incldead"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_DEAD");?></option>

<option value="1" <?php if ($_GET["freeleech"] == 1) echo "selected='selected'"; ?>><?php echo T_("NOT_FREELEECH");?></option>

<option value="2" <?php if ($_GET["freeleech"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_FREELEECH");?></option>

<option value="1" <?php if ($_GET["seedbox"] == 1) echo "selected='selected'"; ?>><?php echo T_("NOT_SEEDBOXLEECH");?></option>

<option value="2" <?php if ($_GET["seedbox"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_SEEDBOXLEECH");?></option>

</select>





OR



 <select name="incldead">

<option value="0"><?php echo T_("ACTIVE_TRANSFERS"); ?></option>

<option value="1" <?php if ($_GET["incldead"] == 1) echo "selected='selected'"; ?>><?php echo T_("INC_DEAD");?></option>

<option value="2" <?php if ($_GET["incldead"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_DEAD");?></option>

</select>

<select name="freeleech">

<option value="0">Any</option>

<option value="1" <?php if ($_GET["freeleech"] == 1) echo "selected='selected'"; ?>><?php echo T_("NOT_FREELEECH");?></option>

<option value="2" <?php if ($_GET["freeleech"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_FREELEECH");?></option>

</select>

<select name="seedbox">

<option value="0">Any</option>

<option value="1" <?php if ($_GET["seedbox"] == 1) echo "selected='selected'"; ?>><?php echo T_("NOT_SEEDBOXLEECH");?></option>

<option value="2" <?php if ($_GET["seedbox"] == 2) echo "selected='selected'"; ?>><?php echo T_("ONLY_SEEDBOXLEECH");?></option>

</select>







Open torrents-index.php and Search



// latest torrents





Add after $query = "SELECT ....



torrents.freeleech,





Add after



 torrents.seedbox,




Langues:

Anglais

$LANG["SEEDBOX_MSG"] = "Torrent flow elevate";

$LANG["SEEDBOX"] = "SeedBox";

$LANG["NOT_SEEDBOXLEECH"] = "Not Seedbox";

$LANG["ONLY_SEEDBOXLEECH"] = "Only Seedbox";

Français

$LANG["SEEDBOX_MSG"] = "Torrent à debit élever";

$LANG["SEEDBOX"] = "SeedBox";

$LANG["NOT_SEEDBOXLEECH"] = "Non Seedbox";

$LANG["ONLY_SEEDBOXLEECH"] = "Seedbox seulement";

NOTE:

Ajouter l'image dans le dossier  /images

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

add the image in the folder /images



pour la version 2.08 ?

ici avec la version 2.08 il ne veux pas s'appliquer? vous pouvez m'aider svp!?

**********************************

for version 2.08?

here with the version 2.08 it will not apply? Can you help me please!?

RÉSOLU!!

change la table sql pour...

***********************************

RESOLVED!

change table for...



ALTER TABLE torrents ADD silver ENUM ('0','2') DEFAULT '0';

Salut !

Je partage une demande j'ai fait dans le passé et un administrateur mavait répondu, donc les mérites ne sont pas pour moi.

...Encore un gros merci a cette personne que je me souviens plus de son pseudo. lolll  :D

~~~~~~~~~~~~~~~***********~~~~~~~~~~~~~~~

Hello!

I share a request I made in the past and an administrator mavait responded, so the merits are not for me.

Again ... a big thank you to this person that I remember his nickname. lolll  :D

Open and seek account-details.php

//get all vars first
Add after




//$stylesheet

$res =  SQL_Query_exec("SELECT name FROM stylesheets WHERE id=$user[stylesheet] LIMIT 1") or die(mysql_error());

if (mysql_num_rows($res) == 1){

$arr = mysql_fetch_assoc($res);

$stylesheets = "$arr[name]";

}








Search



 <?php echo T_("USERCLASS"); ?>: <?php echo get_user_class_name($user["class"])?><br />





Add after



 <?php echo T_("THEME_NAME"); ?>: <?php echo $stylesheets?><br />




Add to your language file:

English

$LANG["THEME_NAME"] = "Use Theme";

Français

$LANG["THEME_NAME"] = "Thème Utiliser";

Thanks you! :)
"thedarklord, post: 83664":
if i get chance ill re do this for 2.08 svn release  ;)
...yes! >> [url="http://devscorner.xyz/index.php?/topic/16916-youtube-in-torrents-detail-v208/"]http://devscorner.xyz/index.php?/topic/16916-youtube-in-torrents-detail-v208/[/url]

:D  B)
"AzuriS, post: 83905":

ok! here its not working ca 2.8
Works with V2.08?
"drean179, post: 82402":
sa fonctionne avec 2.08 ?
oui! a 100%
A big thank you to the Mythos edition version 2.08 Number1 all works for version 2.08, thank you also for ca mostvotedplaya has patience! lol  :D  ;)
cool! #1 big thanks!!  :D  :D
Same mistake ... Mythos solution!? LOL :rolleyes:
After you install the version 2.08, it works very well!  :D

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Après avoir installé sur la version 2.08, ça fonctionne très bien! :D
big thanks!  :)

Add bbcode.php

<a href="#" onClick="window.open('http://www.zupimages.net','_blank');return(false)"><img border="0" src="images/pic.gif" width="116" height="38" title="Pic Image vite fait!" /></a>

"thib, post: 83630":
check your sql error in admincp

THANK THIB!

My version of TT was not in v.208 day!
Ello !!  :)

Je tente de mettre le mode tube pour les video sur la version 2.08 et quand  je  confirme mon upload sa dit comme erreur "Database Error. Please report this to an administrator."

?...  :blink:

///////////////////////////////////////////////¿\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

I try to set the mode for tube video on version 2.08 and when I confirm my upload says its error as "Database Error. Please report this to administrator year."

? ...  :blink:

thank you for your help!

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5800"]torrents-upload.php[/url]
je confirme que sur la version 2.08, ca fonctionne #1 !! :D
bIG thanks ! :)
Simple Clock — 2012-06-11 01:27:55 in v2 Only Mods Complete
Thanks
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728