Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 19th November 2017, 17:42
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default TorrantTrader[imdb] [Api]
TorrantTrader[imdb] [Api]

Would someone try this out for me report any bugs

Its about time we hed some mods on here as all forums are dead so ill start to add mods here no need to go to any forum then as we will have all here


@backend/config.php Add
PHP Code:
$site_config['imdbimages_dir'] = getcwd().'/imdbimages'
@backend Functions Delete torrant Add

PHP Code:
      if (file_exists($site_config["imdbimages_dir"] . "/$id.jpg"))    unlink($site_config["imdbimages_dir"] . "/$id.jpg");    if ($row["imdbimages"]) {    unlink($site_config['imdbimages_dir'] . "/imdbimages/" $row["imdbimages"]);} 
Attached Files
File Type: rar tmp_7919-TorrantTrader[imdb] [Api]1842986021.rar (24.9 KB, 69 views)

Last edited by Napon; 19th November 2017 at 18:19.
Reply With Quote
  #2  
Old 7th January 2020, 19:44
Extremlym's Avatar
Extremlym Extremlym is offline
Senior Member
 
Join Date: Oct 2012
P2P
Posts: 102
Default
PHP Code:
      $TTIMDB = new TTIMDB;if ((($_data = $TTCache->Get("imdb/$id", 900)) === false) && ($_data = $TTIMDB->Get($row['imdb']))){                $_data->Poster = $TTIMDB->getImage($_data->Poster, $id);         if ( ! isset( $_data->imdbTime ) ){                 $_data->imdbTime = time();                 $_data->Alias = 'N/A';                 $_data->imdbVideo = null;                 }                 $TTCache->Set("imdb/$id", $_data, 900);}if ( is_object($_data) ): ?>         <fieldset class="download">         <legend><b><?php echo T_("IMDB_SHORT"); ?> - <?php echo $_data->Title?></b></legend>         <table border="0" cellpadding="3" cellspacing="2" width="100%">     <tr>         <td width="230"><img src="<?php echo $_data->Poster?>" alt="<?php echo $_data->Title?>" title="<?php echo $_data->Title?>" height="317px" width="214px" /></td>         <td valign="top">         <b><?php echo T_("IMDB_LINK"); ?></b><br /> <a href="<?php echo $row['imdb']; ?>" target="_blank"><?php echo htmlspecialchars($row['imdb']); ?></a><br /><br />         <b><?php echo T_("IMDB_RATED"); ?></b><br /> <?php echo $TTIMDB->getRated$_data->Rated ); ?><br /><br />         <b><?php echo T_("IMDB_ALIAS"); ?></b><br /> <?php echo $_data->Alias?><br /><br />         <b><?php echo T_("IMDB_RELEASED"); ?></b><br /> <?php echo $TTIMDB->getReleased($_data->Released); ?><br /><br />         <b><?php echo T_("IMDB_YEAR"); ?></b><br /> <?php echo $_data->Year?><br /><br />         <b><?php echo T_("IMDB_RUNTIME"); ?></b><br /> <?php echo $_data->Runtime?><br /><br />         <b><?php echo T_("IMDB_GENRE"); ?></b><br /> <?php echo $_data->Genre?><br /><br />         <b><?php echo T_("IMDB_DIRECTOR"); ?></b><br /> <?php echo $_data->Director?><br /><br />         <b><?php echo T_("IMDB_WRITER"); ?></b><br /> <?php echo $_data->Writer?><br /><br />         <b><?php echo T_("IMDB_ACTORS"); ?></b><br /> <?php echo $_data->Actors?><br /><br />         <b><?php echo T_("IMDB_PLOT"); ?></b><br /> <?php echo $_data->Plot?>         </td><?php if (($rating $TTIMDB->getRating($_data->imdbRating)) !== null): ?>         <td valign="top" align="center"><?php echo $rating?><br /><br />         <b><?php echo T_("IMDB_VOTES"); ?></b> <?php echo $_data->imdbVotes?>     </td>         <?php endif; ?>     </tr>      <tr>         <td align="right" colspan="3">         <b><?php echo T_("IMDB_LASTUPDATED"); ?></b> <i><?php echo $TTIMDB->getUpdated($_data->imdbTime); ?></i>      </td>      </tr>      </table>      </fieldset>      <br /><?php if ( strlen$_data->imdbVideo ) > ): ?>         <center><iframe src="http://www.imdb.com/video/imdb/<?php echo $_data->imdbVideo?>/player?stop=1" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" height="480" width="643"></iframe></center><br /><?php endif; endif;
</div>

is breaking the page
Reply With Quote
  #3  
Old 15th January 2020, 21:16
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
oops
Ask me nice and ill do you a nice Api thats working

PHP Code:
     $TTIMDB = new TTIMDB;
if ((($_data = $TTCache->Get("imdb/$id", 900)) === false) && ($_data = $TTIMDB->Get($row['imdb']))){
                $_data->Poster = $TTIMDB->getImage($_data->Poster, $id);
         if ( ! isset( $_data->imdbTime ) ){
                 $_data->imdbTime = time();
                 $_data->Alias = 'N/A';
                 $_data->imdbVideo = null;
                 }
                 $TTCache->Set("imdb/$id", $_data, 900);
}

if ( is_object($_data) ): ?>
         <fieldset class="download">
         <legend><b><?php echo T_("IMDB_SHORT"); ?> - <?php echo $_data->Title?></b></legend>
         <table border="0" cellpadding="3" cellspacing="2" width="100%">
     <tr>
         <td width="230"><img src="<?php echo $_data->Poster?>" alt="<?php echo $_data->Title?>" title="<?php echo $_data->Title?>" height="317px" width="214px" /></td>
         <td valign="top">
         <b><?php echo T_("IMDB_LINK"); ?></b><br /> <a href="<?php echo $row['imdb']; ?>" target="_blank"><?php echo htmlspecialchars($row['imdb']); ?></a><br /><br />
         <b><?php echo T_("IMDB_RATED"); ?></b><br /> <?php echo $TTIMDB->getRated$_data->Rated ); ?><br /><br />
         <b><?php echo T_("IMDB_ALIAS"); ?></b><br /> <?php echo $_data->Alias?><br /><br />
         <b><?php echo T_("IMDB_RELEASED"); ?></b><br /> <?php echo $TTIMDB->getReleased($_data->Released); ?><br /><br />
         <b><?php echo T_("IMDB_YEAR"); ?></b><br /> <?php echo $_data->Year?><br /><br />
         <b><?php echo T_("IMDB_RUNTIME"); ?></b><br /> <?php echo $_data->Runtime?><br /><br />
         <b><?php echo T_("IMDB_GENRE"); ?></b><br /> <?php echo $_data->Genre?><br /><br />
         <b><?php echo T_("IMDB_DIRECTOR"); ?></b><br /> <?php echo $_data->Director?><br /><br />
         <b><?php echo T_("IMDB_WRITER"); ?></b><br /> <?php echo $_data->Writer?><br /><br />
         <b><?php echo T_("IMDB_ACTORS"); ?></b><br /> <?php echo $_data->Actors?><br /><br />
         <b><?php echo T_("IMDB_PLOT"); ?></b><br /> <?php echo $_data->Plot?>
         </td>
<?php if (($rating $TTIMDB->getRating($_data->imdbRating)) !== null): ?>
         <td valign="top" align="center">
<?php echo $rating?><br /><br />
         <b><?php echo T_("IMDB_VOTES"); ?></b> <?php echo $_data->imdbVotes?>
     </td>
         <?php endif; ?>
     </tr>
      <tr>
         <td align="right" colspan="3">
         <b><?php echo T_("IMDB_LASTUPDATED"); ?></b> <i><?php echo $TTIMDB->getUpdated($_data->imdbTime); ?></i>
      </td>
      </tr>
      </table>
      </fieldset>
      <br />

<?php if ( strlen$_data->imdbVideo ) > ): ?>
         <center><iframe src="http://www.imdb.com/video/imdb/<?php echo $_data->imdbVideo?>/player?stop=1" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" height="480" width="643"></iframe></center><br />
<?php endif; endif;

Last edited by firefly007; 17th January 2020 at 00:25. Reason: Not using the correct tags when formatting code.
Reply With Quote
  #4  
Old 15th January 2020, 22:32
MicroMonkey's Avatar
MicroMonkey MicroMonkey is offline
Senior Member
 
Join Date: Jun 2016
P2P
Posts: 52
Default
that code was posted back in 2015 and was written by originally by MVP, also known as mostvotedplaya. http://www.torrenttrader.org/viewtopic.php?f=14&t=122
__________________
More torrenttrader stuff at https://torrenttrader.uk

Last edited by MicroMonkey; 16th January 2020 at 20:54.
Reply With Quote
  #5  
Old 18th January 2020, 18:03
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
MicroMonkey

This is not true TorrentTrader site hxxps://torrenttrader.xyz So lets get things straight this is True TorrentTracder site https://www.torrenttrader.org/ NOT A WANT TO BE CODERS LIKE YOUR SELF with that said Member go to the True site not the want to be coders site aka icewarrior the members who is on here And set want to be coders to admin

Last edited by Napon; 18th January 2020 at 18:17.
Reply With Quote
  #6  
Old 22nd January 2020, 19:37
MicroMonkey's Avatar
MicroMonkey MicroMonkey is offline
Senior Member
 
Join Date: Jun 2016
P2P
Posts: 52
Default
hey stupid, I guess you read about as well as you speak, I posted a link in my last post to torrenttrader.ORG, not XYZ. Go be a child somewhere else please.
__________________
More torrenttrader stuff at https://torrenttrader.uk
Reply With Quote
The Following 2 Users Say Thank You to MicroMonkey For This Useful Post:
STorrents2019 (20th February 2020), z3ro (31st January 2020)
  #7  
Old 25th March 2020, 14:55
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
what dickhead

Bump: TTIMDB


you need to add your API


Code:
private $_nodes = Array('http://omdbapi.com/?i=%s');
this is why its not working

Bump: TTIMDB


you need to add your API


Code:
private $_nodes = Array('http://omdbapi.com/?i=%s');
this is why its not working

Bump: TTIMDB


you need to add your API


Code:
private $_nodes = Array('http://omdbapi.com/?i=%s');
this is why its not working
Reply With Quote
Reply

Tags
api , torranttraderimdb

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 11:36. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.