Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   TorrantTrader[imdb] [Api] (http://www.bvlist.com/showthread.php?t=11285)

Napon 19th November 2017 17:42

TorrantTrader[imdb] [Api]
 
1 Attachment(s)
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"]);} 


Extremlym 7th January 2020 19:44

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> <a href="<?php echo $row['imdb']; ?>" target="_blank"><?php echo htmlspecialchars($row['imdb']); ?></a>         <b><?php echo T_("IMDB_RATED"); ?></b> <?php echo $TTIMDB->getRated$_data->Rated ); ?>         <b><?php echo T_("IMDB_ALIAS"); ?></b> <?php echo $_data->Alias?>         <b><?php echo T_("IMDB_RELEASED"); ?></b> <?php echo $TTIMDB->getReleased($_data->Released); ?>         <b><?php echo T_("IMDB_YEAR"); ?></b> <?php echo $_data->Year?>         <b><?php echo T_("IMDB_RUNTIME"); ?></b> <?php echo $_data->Runtime?>         <b><?php echo T_("IMDB_GENRE"); ?></b> <?php echo $_data->Genre?>         <b><?php echo T_("IMDB_DIRECTOR"); ?></b> <?php echo $_data->Director?>         <b><?php echo T_("IMDB_WRITER"); ?></b> <?php echo $_data->Writer?>         <b><?php echo T_("IMDB_ACTORS"); ?></b> <?php echo $_data->Actors?>         <b><?php echo T_("IMDB_PLOT"); ?></b> <?php echo $_data->Plot?>         </td><?php if (($rating $TTIMDB->getRating($_data->imdbRating)) !== null): ?>         <td valign="top" align="center"><?php echo $rating?>         <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>      <?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><?php endif; endif;



is breaking the page

Napon 15th January 2020 21:16

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> <a href="<?php echo $row['imdb']; ?>" target="_blank"><?php echo htmlspecialchars($row['imdb']); ?></a>
         <b><?php echo T_("IMDB_RATED"); ?></b> <?php echo $TTIMDB->getRated$_data->Rated ); ?>
         <b><?php echo T_("IMDB_ALIAS"); ?></b> <?php echo $_data->Alias?>
         <b><?php echo T_("IMDB_RELEASED"); ?></b> <?php echo $TTIMDB->getReleased($_data->Released); ?>
         <b><?php echo T_("IMDB_YEAR"); ?></b> <?php echo $_data->Year?>
         <b><?php echo T_("IMDB_RUNTIME"); ?></b> <?php echo $_data->Runtime?>
         <b><?php echo T_("IMDB_GENRE"); ?></b> <?php echo $_data->Genre?>
         <b><?php echo T_("IMDB_DIRECTOR"); ?></b> <?php echo $_data->Director?>
         <b><?php echo T_("IMDB_WRITER"); ?></b> <?php echo $_data->Writer?>
         <b><?php echo T_("IMDB_ACTORS"); ?></b> <?php echo $_data->Actors?>
         <b><?php echo T_("IMDB_PLOT"); ?></b> <?php echo $_data->Plot?>
         </td>
<?php if (($rating $TTIMDB->getRating($_data->imdbRating)) !== null): ?>
         <td valign="top" align="center">
<?php echo $rating?>
         <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>
      

<?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>
<?php endif; endif;


MicroMonkey 15th January 2020 22:32

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

Napon 18th January 2020 18:03

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

MicroMonkey 22nd January 2020 19:37

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.

Napon 25th March 2020 14:55

what dickhead:clown:

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


All times are GMT +2. The time now is 15:24.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.