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

allociné — 2023-01-11 17:36:08 in v3 Support
Hello everyone I have a problem because I think allocine has changed the API code again and the allocine function does not work anymore. Can you tell me if you have the new API code


define('ALLOCINE_SECRET_KEY', '1a1ed8c1bed24d60ae3472eed1da33eb');
define('ALLO_PARTNER', '000042532791');


Thank you in advance for your help
thank you I will look again  👍
Hello what I want to explain is that when we made the modification on the file download.php there is an error message to download the torrent

invalid torrent file  😲
Hello, I just tested and when we make the modification on download.php and we want to download a torrent we have this error message,...

invalid torrent file
Hello admin, can you change the color of the titles of the subjects in orange on the default theme of this site because it stings the eyes and is unreadable, thanks. ..


default theme css search


a {
   color: #ff9900;
   text-decoration: underline;
}



replacec with

a {
   color: #785f39;
   text-decoration: underline;
}
block paypal — 2022-07-31 08:50:44 in v3 Mods Requests
thank you M-jay for your help but I am looking for the complete code to put in the block donate_block.php with the progress bar, and the line of code to add and put in admincp.php to add the donations of the members in admin cp in order to make the bar of the donations progress in the donate_block.php  🙄
block paypal — 2022-07-30 10:52:17 in v3 Mods Requests
Hello, I'm looking for a block donate_block.php with the gain progress bar, it seems I've already seen that here and I can't find it, thanks in advance for your help  😊
vip for 1 hour — 2022-07-12 11:45:06 in v3 Mods in Progress
Hello, can you look with me to do with the function of seedbonus vip for 1 hours or more if we increase the number 60.
I modified the code of the file mybonus.php as below but it does not work



          case 'VIP':
               $days = $row->value;
               $vipuntil = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $vipuntil = get_date_time( strtotime( $CURUSER["vipuntil"] ) + ( $s -= $t["min"] * 60 ) ) : $vipuntil = get_date_time( gmtime() + ( $s -= $t["min"] * 60 ) );
               $oldclass = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $oldclass = $CURUSER["oldclass"] : $oldclass = $CURUSER["class"];
SQL_Query_exec("UPDATE `users` SET `class` = '3', `oldclass`='$oldclass',  `vipuntil` = '$vipuntil' WHERE `id` = '$CURUSER[id]'");
               break;      
               
      }



the piece of code ( $s -= $t["min"] * 60 ) );  is for 1 hour




at the end of the file cleanup.php I added this

// Start Vipuntil mod vip
  $timenow = sqlesc(get_date_time());
  $subject = sqlesc("Your VIP class stay has just expired");
  $msg = sqlesc("Your VIP class stay has just expired. \nYour status is back to baseline. \nYou can now redeem crazy bonus points for a new VIP class stay. \nYou can also donate if you wish to obtain a longer stay.\n");
  $resv = SQL_Query_exec("SELECT id, oldclass FROM users WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
if (mysqli_num_rows($resv)){
  $rowv = mysqli_fetch_object($resv);
  $id = $rowv->id;
  $oldclass = $rowv->oldclass;
  SQL_Query_exec("UPDATE users SET class ='1', oldclass='3', vipuntil = '0000-00-00 00:00:00' WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
  SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject, poster) VALUES(0, '.$id.', $subject, $timenow, $msg, 0)");
}
// End Remove Vipuntil mod vip




configuration in Staff CP



Bonjour et merci spiritblue pour l'info  😉

c'est cool les vacances  😂  😂
maintenant j'ai un code d'erreur, voici l'erreur dans SQL ERROR dans staff cp
now I have an error code, here is the error in SQL ERROR in staff cp


Database Error. Please report this to an administrator.


Database Error in tmdb/modules/creation_film.php on line 35: Field 'saison' doesn't have a default value. Query was: INSERT INTO tmdb (id_torrent, id_tmdb, titre, duree, producteur, genre, resume, acteur, ba, date, image, casts, review) VALUES (15375, 960258, 'Shark Bay','1 h. 27 min. ', 'James Nunn', 'Horreur, Thriller, Action', 'Un groupe d’étudiants en plein \"Spring Break\" profitent d\'un week-end inoubliable au Mexique. Après une nuit passée à faire la fête sur la plage jusqu\'au petit matin, ils empruntent des jet-skis pour prolonger la fête en mer. Mais une collision violente fait couler l\'un des jet-skis, laissant l\'autre en panne. L\'un d\'entre eux est gravement blessé. Quand survient le premier requin, tout bascule…','Holly Earl *Nat *https://image.tmdb.org/t/p/w92/xOTgpttfytr7WJ2Okk8mia5u2qf.jpg & Jack Trueman * Tom * https://image.tmdb.org/t/p/w92 & Catherine Amy Hannay * Milly * https://image.tmdb.org/t/p/w92/7cb4KCineeEBmWFVfLE25DBaQVM.jpg & Malachi Pullar-Latchman * Tyler * https://image.tmdb.org/t/p/w92 &', 'QUJ8-S9ufc0', '13-05-2022', '960258.jpg', 'La terreur est profonde.', 6.9).
Thanks for your help and I already put the code as below in the torrents-details.php file and there is just the original torrenttrader description that appears but the description with the TMBD image does not appear ??



Merci pour ton aide et j'ai déjà mis les code comme ci-dessous dans le fichier torrents-details.php et il y à juste la description de torrenttrader d'origine qui apparait mais la description avec l'image de TMBD n'apparait pas ??


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









#========================#
#  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   #
#=======================#








below is my code for the config.php file
c-dessous mon code du fichier config.php

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


english,..

Hello everyone I need your help because I made all the changes and the tmdb function does not appear in the detail of the torrent, I already had the allocine code and I replaced the allocine code with the tmdb code as below and the tmdb description does not appear?

I have already added the api key in the folder
tmdb/configuration/default.php

with this api key as example e7xf4c1ab4193677c562998s6863d88h





French,..

Bonjour tout le monde j'ai besoin de votre aide car j'ai fait toutes les modifications et la fonction tmdb n'apparaît pas dans le détail du torrent, j'avais déjà le code allocine et j'ai remplacé le code allocine par le code tmdb comme ci-dessous et la description tmdb n'apparaît pas ?

J'ai déjà ajouté la clé api dans le dossier
tmdb/configuration/default.php

avec cette clé api comme exemple e7xf4c1ab4193677c562998s6863d88h







I have replaced in torrents-details.php
j'ai remplacer dans torrents-details.php
///Allocine

if ( get_user_class() >= 0 )

if(!empty($row["allocine"])){
if ((($_data = $TTCache->Get("allocine/$id", 86400)) === false))
{
require_once("backend/api-allocine-helper.php");

preg_match('#https://www.allocine.fr/film/fichefilm_gen_cfilm=(.*?).html#is',$row["allocine"],$code);
$code = $code[1];

$film = new AlloHelper;
$profile = 'medium';

try
{
$allocine = $film->movie( $code, $profile );

$_data->titre = $allocine->title;
$_data->genre = $allocine->genre->implode();
if(array_key_exists('poster',$allocine->getArray()))
$_data->affiche = $allocine[poster][href];

$_data->titre_original = $allocine->originalTitle;
if(array_key_exists('productionYear',$allocine->getArray()))
$_data->annee_prod = $allocine->productionYear;
if(array_key_exists('nationality',$allocine->getArray()))
$_data->pays = $allocine->nationality->implode();
if(array_key_exists('release',$allocine->getArray()))
$_data->date_sortie = $allocine->release->releaseDate;
if(array_key_exists('synopsis',$allocine->getArray()))
$_data->synopsis = $allocine->synopsis;
if(array_key_exists('castingShort',$allocine->getArray()))
$_data->realisateur = $allocine->castingShort->directors;

$_data->acteurs = $allocine->castingShort->actors;
$_data->bande_annonce = $allocine->trailer->href;
}
catch( ErrorException $error )
{
echo "Erreur n°", $error->getCode(), ": ", $error->getMessage(), PHP_EOL;
}

$TTCache->Set("allocine/$id", $_data, 86400);
}
?>
<fieldset class="download">
<legend><b><img src="images/allocine-ico.png"><?php echo $_data->titre; ?></b>

</legend>


<center><table border='0' width='90%'>



<b>"SYNOPSIS"</b>

<tr>
<td width="230"><img src="<?php echo $_data->affiche; ?>" alt="<?php echo $_data->titre; ?>" title="<?php echo $_data->titre; ?>" height="317px" width="214px" /></td>
<td valign="top">
<b>...</b><br />


<a href="<?php echo $row['allocine']; ?>" target="_blank">

<img src="images/lien-allocine.png" alt="Allocine"/></a>


</a><br /><br />
<b>Titre original</b><br /> <?php echo $_data->titre_original ?><br /><br />
<b>Date de sortie</b><br /> <?php echo $_data->date_sortie; ?><br /><br />
<b><?php echo T_("ANNEE_PROD"); ?></b><br /> <?php echo $_data->annee_prod; ?><br /><br />
<b>Genre</b><br /> <?php echo $_data->genre; ?><br /><br />
<b>Origine</b><br /> <?php echo $_data->pays; ?><br /><br />
<b>Acteurs</b><br /> <?php echo $_data->acteurs; ?><br /><br />
<b>Synopsis</b><br /> <?php echo $_data->synopsis; ?><br /><br />

</td>
</tr>
</table>

</fieldset>

<center>

</center>


<?php }

// en Allocine







avec
with

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

if ( get_user_class() >= 1 )


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   #
#=======================#


vip — 2022-06-14 15:12:19 in v3 Mods Requests
thank you for your help I will do some tests and come back to tell you the result   😊
vip — 2022-06-13 04:17:01 in v3 Mods Requests
Hello, I'm coming back to tell you that I changed a member account for the vip class on Saturday night and we are Monday and the account is still on the vip class so the vip member has not been downgraded for the member class, would you have an idea for the account to be downgraded for the member class after 1 day.

thank you in advance for your help, here is the code below   😉



cleanup.php

// Start Vipuntil mod vip
  $timenow = sqlesc(get_date_time());
  $subject = sqlesc("Your VIP class stay has just expired");
  $msg = sqlesc("Your VIP class stay has just expired. \nYour status is back to baseline. \nYou can now redeem crazy bonus points for a new VIP class stay. \nYou can also donate if you wish to obtain a longer stay.\n");
  $resv = SQL_Query_exec("SELECT id, oldclass FROM users WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
if (mysqli_num_rows($resv)){
  $rowv = mysqli_fetch_object($resv);
  $id = $rowv->id;
  $oldclass = $rowv->oldclass;
SQL_Query_exec("UPDATE users SET class ='$oldclass', oldclass='1', vipuntil = '0000-00-00 00:00:00' WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES(0, '.$id.', $subject, $timenow, $msg, 0)");
}
// End Remove Vipuntil mod vip





mybonus.php

            case 'VIP':
               $days = $row->value;
               $vipuntil = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $vipuntil = get_date_time( strtotime( $CURUSER["vipuntil"] ) + ( $days*1 ) ) : $vipuntil = get_date_time( gmtime() + ( $days*1 ) );
               $oldclass = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $oldclass = $CURUSER["oldclass"] : $oldclass = $CURUSER["class"];
SQL_Query_exec("UPDATE `users` SET `class` = '3', `oldclass`='$oldclass', `downloaded` = 0, `vipuntil` = '$vipuntil' WHERE `id` = '$CURUSER[id]'");
               break;      
               
      }


vip — 2022-06-11 14:19:44 in v3 Mods Requests
thank you M-jay I'm doing the test  😉
vip — 2022-06-11 10:10:55 in v3 Mods Requests
Hi M-jay, can you tell me if the code below is correct for the vip member to automatically return to the member class after 1 day.

cleanup.php

// Start Vipuntil mod vip
   $timenow = sqlesc(get_date_time());
   $subject = sqlesc("Your VIP class stay has just expired");
   $msg = sqlesc("Your VIP class stay has just expired. \nYour status is back to baseline. \nYou can now redeem crazy bonus points for a new VIP class stay. \nYou can also donate if you wish to obtain a longer stay.\n");
   $resv = SQL_Query_exec("SELECT id, oldclass FROM users WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
if (mysqli_num_rows($resv)){
   $rowv = mysqli_fetch_object($resv);
   $id = $rowv->id;
   $oldclass = $rowv->oldclass;
   SQL_Query_exec("UPDATE users SET class ='3', oldclass='1', vipuntil = '0000-00-00 00:00:00' WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
   SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES(0, '.$id.', $subject, $timenow, $msg, 0)");
}
// End Remove Vipuntil mod vip




mybonus.php

            case 'VIP':
               $days = $row->value;
               $vipuntil = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $vipuntil = get_date_time( strtotime( $CURUSER["vipuntil"] ) + ( $days*86400 ) ) : $vipuntil = get_date_time( gmtime() + ( $days*86400 ) );
               $oldclass = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $oldclass = $CURUSER["oldclass"] : $oldclass = $CURUSER["class"];
SQL_Query_exec("UPDATE `users` SET `class` = '3', `oldclass`='$oldclass', `downloaded` = 0, `vipuntil` = '$vipuntil' WHERE `id` = '$CURUSER[id]'");
               break;      
               
      }


vip — 2022-06-11 08:52:35 in v3 Mods Requests
Thank you M-jay 😉  I made the changes on the test site before transferring to the correct site and I will see if the update will be done and come back to tell you the result  
vip — 2022-06-11 07:44:04 in v3 Mods Requests
thank you but when I make the change and click on [FORCE CLEAN] in the admin cp I get an error message with this

Database Error. Please report this to an administrator.

and the error message in admin cp in the SQL error function is as follows


Database Error in backend/cleanup.php on line 270: Data truncated for column 'class' at row 143. Query was: UPDATE users SET class = '.3.', oldclass='1', vipuntil = '0000-00-00 00:00:00' WHERE vipuntil < '2022-06-11 07:40:00' AND vipuntil <> '0000-00-00 00:00:00'.




I have modified the code and works with the code below and can you tell me if updating the vip class 3 and downgrade on the class 1 member will work with the modified code as below,.

// Start Vipuntil mod vip
   $timenow = sqlesc(get_date_time());
   $subject = sqlesc("Your VIP class stay has just expired");
   $msg = sqlesc("Your VIP class stay has just expired. \nYour status is back to baseline. \nYou can now redeem crazy bonus points for a new VIP class stay. \nYou can also donate if you wish to obtain a longer stay.\n");
   $resv = SQL_Query_exec("SELECT id, oldclass FROM users WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
if (mysqli_num_rows($resv)){
   $rowv = mysqli_fetch_object($resv);
   $id = $rowv->id;
   $oldclass = $rowv->oldclass;
   SQL_Query_exec("UPDATE users SET class ='3', oldclass='1', vipuntil = '0000-00-00 00:00:00' WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
   SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES(0, '.$id.', $subject, $timenow, $msg, 0)");
}
// End Remove Vipuntil mod vip




the modify part is the one below,...

J'ai remplacé
UPDATE users SET class = '.$oldclass.', oldclass='1',



with this

UPDATE users SET class ='3', oldclass='1', 

vip — 2022-06-10 21:45:18 in v3 Mods Requests
thanks for the help and can you tell me where to put this code in cleanup.php ??


$timenow = sqlesc(get_date_time());
  $subject = sqlesc("Your VIP class stay has just expired");
  $msg = sqlesc("Your VIP class stay has just expired. \nYour status is back to baseline. \nYou can now redeem crazy bonus points for a new VIP class stay. \nYou can also donate if you wish to obtain a longer stay.\n");
  $resv = SQL_Query_exec("SELECT id, oldclass FROM users WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
if (mysqli_num_rows($resv)){
  $rowv = mysqli_fetch_object($resv);
  $id = $rowv->id;
  $oldclass = $rowv->oldclass;
  SQL_Query_exec("UPDATE users SET class = '.$oldclass.', oldclass='1', vipuntil = '0000-00-00 00:00:00' WHERE vipuntil < $timenow AND vipuntil <> '0000-00-00 00:00:00'");
  SQL_Query_exec("INSERT INTO messages (sender, receiver, added, subject, msg, poster) VALUES(0, '.$id.', $timenow, $subject, $msg, 0)");
}
vip — 2022-06-10 18:08:35 in v3 Mods Requests
good evening and can you tell me if the number 86400 is in second or in minute on this part of the code ?

 $vipuntil = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $vipuntil = get_date_time( strtotime( $CURUSER["vipuntil"] ) + ( $days*86400 ) ) : $vipuntil = get_date_time( gmtime() + ( $days*86400 ) );




                 
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