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

signature — 2022-12-10 19:12:42 in v3 Support
salut , hello
J'espere que j'ai bien comprie la demande et que je vous met pas en erreur avec mon code
je vient de tester de mon coter pour une function
1) vérifie extention URL -> 'jpg','jpeg','gif','png'
2) Supprime les BBcode si il en a
chez moi sa fonctionne
-----------------------------------------------------------------------------------------------
I hope I have understood the request correctly and that I am not misleading you with my code
I just tested on my side for a function
1) check extension URL -> 'jpg','jpeg','gif','png'
2) Remove BBcodes if there are any
it works for me


function UrlImage($s){
// verifie extention url sans bbcode
$Extension = pathinfo($s,PATHINFO_EXTENSION);
if (in_array($Extension, array('jpg','jpeg','gif','png'))){
       // BON AJOUTE BBCODE + URL
$s = "[img]".$s."[/img]";
   } else {
//SUPPRIME LES BBCODE
       $s = substr($s, 5, -6);
       
if (pathinfo($s, PATHINFO_EXTENSION)) {
// BON AJOUTE BBCODE + URL
           $s = "[img]".$s."[/img]";
       } else {
// MAUVAISE EXTENSION MESSAGE ERREUR
           $s = "ERREUR , n'est pas une URL valide";
       }
   }
  return $s;
}


exemple : $signature = urlImage($_POST["signature"]);

sorry for the english translation but i am french
signature — 2022-12-09 15:12:02 in v3 Support
Hello, bonjour


tu peut teste avec se code
you can test with this code
chercher / search
$signature = $_POST["signature"];


remplace par / replaced by

if ($_POST["signature"] != '') {
$extensions_valides = array( 'jpg' , 'jpeg' , 'gif' , 'png' );
$Extension = strtolower(pathinfo($_POST['signature'],PATHINFO_EXTENSION));
if (in_array($Extension, $extensions_valides)){
$signatures = $_POST["signature"];
} else {
       $signatures = '';
   }
}

$signature = $signatures;
hello,
no it takes into account that the (cat_parent) not the (cat_name)

example:
cat_parent = My_movie
$config['MOVIES'] = "My_movie"; // Put Your name cat_parent. Movies

cat_parent = My_TV
$config['Series'] = "My_TV"; // Put Your name cat_parent.TV

-----------------------------------------------------------------------------------

bonjour,
non il prend en compte que le (cat_parent) pas le (cat_name)

Exemple:
cat_parent = Mon_film
$config['MOVIES'] = "Mon_film" ; // Mettez votre nom cat_parent. Films

cat_parent = Ma_TV
$config['Series'] = "Ma_TV" ; // Mettez votre nom cat_parent.TV
salut ,hello
torrent-upload.php

Chercher / search
$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$inames[0]."', '".$inames[1]."', '".$catid."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."')");


Remplacer / Replace

$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action, tmdb) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$inames[0]."', '".$inames[1]."', '".$catid."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."', ".sqlesc($tmdb).")");
salut
Mise a jour du poste 19/05/2022
Ajout détection automatique du lien TMBD dans le NFO, il ajoute le code $tmbd
------------------------------------------------------------------------------------------
Hello
Post update 05/19/2022
Added automatic detection of the TMBD link in the NFO, it adds the code $tmbd

MicroMonkey
Quote:
Does this get trailers also?


oui il y a les bandes annonces sur les films
sur les séries tv je regard pourquoi il ne trouve pas les bandes annonces
-------------------------------------
yes there are movie trailers
on the tv series I look why he can't find the trailers
* update 19/05/2022

Bonjour,
voici le mod TMDB    --> https://www.themoviedb.org/
crée par ???
Modifier par Gollum
* Ajout détection automatique du lien TMBD dans le NFO, il ajoute le code $tmbd

- Possibilité de avoir les infos en Français ,anglais, etc...  a configuration a réglé

fonctionne sur les Films et séries

- dans le dossier  : imdb/configuration/default.php  
$cnf['apikey'] = 'APIKEY ICI';    ajouter votre clés TMBD
$cnf['lang'] = 'fr';  changer la langue
Commençons

---------------------------------------------------------------------------------------
Post update 05/19/2022

Hello,
here is the TMDB mod --> https://www.themoviedb.org/
created by ???
Modifier by Gollum
* Added automatic detection of the TMBD link in the NFO, it adds the code $tmbd
- Possibility of having the information in French, English, etc... a configuration has been settled

works on Films and series

- in the folder:  imdb/configuration/default.php
$cnf['apikey'] = 'APIKEY HERE'; add your TMBD keys
$cnf['lang'] = 'en'; change the language

let's start

SQL

CREATE TABLE `tmdb` (
 `id` int(10) NOT NULL AUTO_INCREMENT,
 `id_torrent` int(10) NOT NULL,
 `id_tmdb` int(10) NOT NULL,
 `titre` varchar(255) CHARACTER SET utf8 NOT NULL,
 `duree` varchar(100) CHARACTER SET utf8 NOT NULL,
 `producteur` varchar(255) CHARACTER SET utf8 NOT NULL,
 `genre` varchar(255) CHARACTER SET utf8 NOT NULL,
 `resume` text CHARACTER SET utf8 NOT NULL,
 `acteur` text CHARACTER SET utf8 NOT NULL,
 `ba` varchar(100) CHARACTER SET utf8 NOT NULL,
 `date` varchar(15) CHARACTER SET utf8 NOT NULL,
 `image` varchar(50) CHARACTER SET utf8 NOT NULL,
 `saison` int(10) NOT NULL,
 `episodes` int(10) NOT NULL,
 `statut` varchar(100) CHARACTER SET utf8 NOT NULL,
 `casts` int(10) NOT NULL,
 `review` int(10) NOT NULL,
 UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


ALTER TABLE torrents ADD `tmdb` varchar(125) CHARACTER SET utf8 NOT NULL;


config.php

Mettre le nom que vous avais mis dans cat_parent de movies et tv
--------------------------------------------------------------------------
Put the name you put in cat_parent of movies and tv

ajouter / Add

#===============================================#
# Start List cat_parent Films et Tv: By Gollum  #
#===============================================#
$config['MOVIES'] = "Movies"; // Mettre Votre nom cat parent.Films
$config['DOCUMENTARIES'] = "Documentaries"; // Mettre Votre nom cat parent.Films
$config['TV'] = "TV";  // Mettre Votre nom cat parent.TV
$config['Pack_Series'] = "Pack_Series";  // Mettre Votre nom cat parent.TV
#===============================================#
#  End List cat_parent Films et Tv: By Gollum   #
#===============================================#


functions.php

Chercher / search

$row = @mysqli_fetch_assoc(@SQL_Query_exec("SELECT image1,image2 FROM torrents WHERE id=$id"));


Remplacer / Replace

$row = @mysqli_fetch_assoc(@SQL_Query_exec("SELECT image1,image2,tmdb FROM torrents WHERE id=$id"));


Chercher / search

@unlink($site_config["nfo_dir"]."/$id.nfo");


Ajouter après / Add after

#========================#
#  Start TMBD By Gollum  #
#========================#
@unlink($site_config['cache_dir']."/tmdb_cache/".$id."_".$row['tmdb'].".cache");
@unlink("tmdb/tmdb_posters/".$id."_".$row['tmdb'].".jpg");
SQL_Query_exec("DELETE FROM tmdb WHERE id_torrent = $id");
#=======================#
#  End TMBD By Gollum   #
#=======================#


Ajouter a la Fin page / Add to End Page

#=============================#
#  Start DATE TMBD By Gollum  #
#=============================#
function duree_sec($time) {
  $tabTemps = array("jours" => 86400,"h." => 3600,"min." => 60);
  $result = "";
  foreach($tabTemps as $uniteTemps => $nombreSecondesDansUnite){
      $$uniteTemps = floor($time/$nombreSecondesDansUnite);
      $time = $time%$nombreSecondesDansUnite;
      if($$uniteTemps > 0 || !empty($result))
      $result .= $$uniteTemps." $uniteTemps ";
   }
return $result;
}

// Fonction qui calcule les Heures Minutes d'une duree en sec'
function duree($time){
$tabTemps = array("jours" => 86400,"h." => 60,"min." => 1);
$result = "";
foreach($tabTemps as $uniteTemps => $nombreSecondesDansUnite){
$$uniteTemps = floor($time/$nombreSecondesDansUnite);
$time = $time%$nombreSecondesDansUnite;
if($$uniteTemps > 0 || !empty($result))
$result .= $$uniteTemps." $uniteTemps ";
}
return $result;
}
#===========================#
#  End DATE TMBD By Gollum  #
#===========================#


torrent_upload.php

Chercher / search

//end upload images


Ajouter apres / Add after

#========================#
#  Start TMBD By Gollum  #
#  SEARCH TMBD in NFO #
#========================#
$nfoo = str_replace("\x0d\x0d\x0a", "\x0d\x0a", @file_get_contents($nfofilename));
$to_check = sqlesc($nfoo);
$found = strpos($to_check, 'themoviedb.org/movie/')+21;
if($found == 21){
$found = strpos($to_check, 'themoviedb.org/tv/')+18;
}
$set_tmdb = substr($to_check, $found, 6);
$set_tmdb = preg_replace("/[^0-9]/","",$set_tmdb);
if(is_numeric($set_tmdb)){
$tmdb = $set_tmdb;
}else{
$tmdb = '';
}
// nothing found in NFO search in the $_POST
if($tmdb == ''){
if (!empty($_POST["tmdb"]))
$tmdb = $_POST["tmdb"];
}
#=======================#
#  End TMBD By Gollum   #
#=======================#


,last_action


Ajouter apres / Add after

,tmdb


Chercher / search


, '".get_date_time()."'



Ajouter apres / Add after


, ".sqlesc($tmdb)."


Chercher / search

print ("<tr><td align='right'>" . T_("TORRENT_NAME") . ": </td><td align='left'><input placeholder='".T_("THIS_WILL_BE_TAKEN_TORRENT")."' type='text' name='name' size='60' value='" . $_POST['name'] . "' /><br />".T_("THIS_WILL_BE_TAKEN_TORRENT")." \n</td></tr>");


Ajouter apres / Add after

#========================#
#  Start TMBD By Gollum  #
#========================#
print ("<tr><td align='right' width='180'><b>".T_("TMDB_URL").": </b></td><td><input placeholder='Format: Ajouter le nombre de url, exemple: 60735' type='text' name='tmdb' size='60' value='" . $_POST['tmdb'] . "' /> <a href='https://www.themoviedb.org/' target='_blank'><img border='0' src='images/tmdb.png' width='82' height='33' title='Dirigez-vous sur TMDb' style='vertical-align: middle;'></a></td></tr>");
#=======================#
#  End TMBD By Gollum   #
#=======================#


torrent-edite.php

Chercher / search

SQL_Query_exec("UPDATE torrents SET " . join(",", $updateset) . " WHERE id = $id");


ajouter avant / add before

#========================#
#  Start TMBD By Gollum  #
#========================#
if ( $_POST['tmdb'] != $row['tmdb']){
$updateset[] = "tmdb = " . sqlesc($_POST["tmdb"]);
$sql = SQL_Query_exec("SELECT tmdb FROM torrents WHERE id = $id");
$row1 = mysqli_fetch_array($sql);
SQL_Query_exec("DELETE FROM tmdb WHERE id_torrent = ".$id."");
@unlink($site_config['cache_dir']."/tmdb_cache/".$id."_".$row1["tmdb"].".cache");
@unlink("tmdb/tmdb_posters/".$id."_".$row1["tmdb"].".jpg");
}
#=======================#
#  End TMBD By Gollum   #
#=======================#


Chercher / search

echo "<tr><td class='table_col1' align='right'><b>".T_("LANG").": </b></td><td class='table_col2'>".$langdropdown."</td></tr>";


Ajouter après / Add after

#========================#
#  Start TMBD By Gollum  #
#========================#
echo "<tr><td class='table_col1' align='right' width='60'><b>".T_("TMDB_URL").": </b></td><td class='table_col2' ><input type=\"text\" name=\"tmdb\" value=\"".htmlspecialchars($row["tmdb"])."\" placeholder='FORMAT: Le nombre de URL, ex: 60735' size='30'/> <a href='https://www.themoviedb.org/' target='_blank'><img border='0' src='images/tmdb.png' width='82' height='33' title='Dirigez-vous sur TMDb' style='vertical-align: middle;'></a></td></tr>";
#=======================#
#  End TMBD By Gollum   #
#=======================#


torrent-detail.php

Chercher / search

torrents.freeleech,


Ajouter apres / Add after

torrents.tmdb,


Chercher / search

$shortname = CutName(htmlspecialchars($row["name"]), $char1);


Ajouter apres / Add after

#===============================================#
# Start TMBD cat_parent Films et Tv: By Gollum  #
#===============================================#
// MOVIES
if(!empty($row["cat_parent"] == $config['MOVIES']))  // Réglage dans config.php
$Film .= "Film";
if(!empty($row["cat_parent"] == $config['DOCUMENTARIES'])) // Réglage dans config.php
$Film .= "Film";
// TV
if(!empty($row["cat_parent"] == $config['TV'])) // Réglage dans config.php
$Serie .= "Serie";
if(!empty($row["cat_parent"] == $config['Pack_Series'])) // Réglage dans config.php
$Serie .= "Serie";
#===============================================#
#  End TMBD cat_parent Films et Tv: By Gollum   #
#===============================================#


Chercher / search

print("<tr><td align='left'><b>".T_("NAME").":</b></td><td>" . $shortname . "</td></tr>\n");
print("<tr><td align='left' colspan='2'><b>" .T_("DESCRIPTION"). ":</b><br />" .  format_comment($row['descr']) . "</td></tr>\n");


Remplacer par / replace with

#========================#
#  Start TMBD By Gollum  #
#========================#

if(!empty($row["tmdb"]) && $Film){
$id_tmdb = $row["tmdb"];
$champ = "id_tmdb";
$total = get_row_count("tmdb"," WHERE id_torrent = $id AND id_tmdb = ".$id_tmdb."");

if($total >0)
require_once($_SERVER["DOCUMENT_ROOT"]."/tmdb/modules/traitement_film.php");
else{
print ("</table>");
require_once($_SERVER["DOCUMENT_ROOT"]."/tmdb/modules/creation_film.php");
die();
}

}elseif(!empty($row["tmdb"]) && $Serie){
$id_tmdb = $row["tmdb"];
$champ = "id_tmdb";
$total = get_row_count("tmdb"," WHERE id_torrent = $id AND id_tmdb = ".$id_tmdb."");

if($total > 0)
require_once($_SERVER["DOCUMENT_ROOT"]."/tmdb/modules/traitement_serie.php");
else{
print ("</table>");
require_once($_SERVER["DOCUMENT_ROOT"]."/tmdb/modules/creation_serie.php");
die();
}
}else{
print("<tr><td align='left'><b>".T_("NAME").":</b></td><td>" . $shortname . "</td></tr>\n");
print("<tr><td align='left' colspan='2'><b>" .T_("DESCRIPTION"). ":</b><br />" .  format_comment($row['descr']) . "</td></tr>\n");
}
#=======================#
#  End TMBD By Gollum   #
#=======================#


Ajouter les dossier dans le root / Add folders to root

Normalement j'ai rien oublier
Desoler pour language mais je suis francais
--------------------------------------------------------------
Normally I forgot nothing
sorry for language but i am french





Prendre le dossier Zip tmbd ok   / Take Zip folder tmbd ok


salut,

je me pose la question a quoi sert : dans la basse sql

`hitrun` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`hitrunwarn` enum('yes','pending','no') COLLATE utf8_bin NOT NULL DEFAULT 'no',

ALTER TABLE `users` ADD `hitruns` tinyint( 3 ) unsigned NOT NULL default '0';


puis dans config:

$site_config["hnr_deadline"] = 7*86400; // 7 days to hit the seed target
$site_config["hnr_seedtime"] = 172800; // target is to seed for 48 hours
$site_config["hnr_stop_dl"] = 5;  // After 5 H & R stop downloading



 car elle ne sont jamais utiliser nul par ?

alors le hnr et incomplet où il y a du surplus qui sert à rien ?

------------------------------------------------------------------------------------------------------------------
Hi,
I wonder what is the use of: in the lower sql

`hitrun` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`hitrunwarn` enum('yes','pending','no') COLLATE utf8_bin NOT NULL DEFAULT 'no',

ALTER TABLE `users` ADD `hitruns` tinyint( 3 ) unsigned NOT NULL default '0';


then in config:

$site_config["hnr_deadline"] = 7*86400; // 7 days to hit the seed target
$site_config["hnr_seedtime"] = 172800; // target is to seed for 48 hours
$site_config["hnr_stop_dl"] = 5;  // After 5 H & R stop downloading


because they are never used by anyone?

then the hnr and incomplete where there is surplus that is useless ?
salut,
dans admincp.php une modif pour avoir le bon nombre  de hnr
-----------------------------------------------------------------------------------------
Hi
in admincp.php to have the right number of hnr

chercher , search
$res = SQL_Query_exec("SELECT * FROM `snatched` where hnr='yes' ");


remplacer par , replace with

$res = SQL_Query_exec("SELECT COUNT(*) FROM snatched where hnr='yes'");


salut spiritblue

Merci de ta réponse mais la non car arrive avec a prendre avec un autre client

j'ai trouve la solution  les ips de seedbox  était blacklist par l'hébergeurs

-------------------------------------------------------------------------------------------------

hi spiritblue

Thank you for your answer but the no because arrives with to take with another client

I found the solution the ips of seedbox was blacklisted by the hosts
Hello

I have a problem with people who share a torrent or download with seedbox (Rtorrent), they have their torrent client in red with an error message couldnt parse bencoded data
if you had any solutions
PS: sorry I'm french

bonjour
j'ai un problème des personne qui partage un torrent ou télécharge avec seedbox ( Rtorrent ) , il on leur client torrent en rouge avec message erreur couldnt parse bencoded data
si vous avais des solutions
hello, Salut

Test like its I add the 3x function
Teste comme sa j'ai ajouter la fonction 3x

if ($site_config['MEMBERSONLY'] || $CURUSER) {
   begin_frame(T_("TEST"));
// TORRENT XXX MONTRER-CACHER BY GOLLUM
if( $CURUSER['xxx_filter'] == 'yes'){
   $ressa = SQL_Query_exec("SELECT * FROM xxx_filter");
   while($datas =  mysqli_fetch_array($ressa)){
   $wherex .= "AND categories.id != '".$datas["cat"]."' ";
   }
}
// END TORRENT XXX MONTRER-CACHER BY GOLLUM  
$news = mysql_query("SELECT id, name, added, image1, image2, sticky, seeders, leechers FROM torrents WHERE sticky = 'yes' AND visible='yes' ORDER BY torrents.id DESC LIMIT 10"); ///limi$
if (mysqli_num_rows($news) > 0) {
print("<table class=table_table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr>");
while ($row2 = mysqli_fetch_array($news, MYSQLI_NUM)) {
$tor = $row2['0'];
$altname = $row2['1'];
$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";
$res = SQL_Query_exec("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, torrents.seeders, torrents.leechers, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id  $where  $wherex $orderby $limit");
$row = mysqli_fetch_array($res);
$cat = $row['cat_name'];
$img1 = "<div class=ttable_header><a class='hovertexty' title='Sticky' href=".$site_config['SITEURL']."/file.php?id=$row[id]'><img border='0' src='uploads/images/".$row['image1']."' title=\"Last Sticky: $altname | $cat\" height=140 width=100></a></div>";
if ($row["image1"] != ""){
print("<td align=center>". $img1 ."<div style='margin-top:10px; font-size:13px;'>
<img src=images/arrow_up.gif height='12' title='Seeders' border=0><font color=#00AA00><b>".$row['seeders']."</b></font> |
<img src=images/arrow_down.gif height='12' title='Leechers' border=0><font color=#FF0000> <b>".$row['leechers']."</b></font>
</div></td><td>&nbsp;</td>");
}
}
print("</tr></table>");
}
end_frame();
}
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