Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 9th August 2018, 22:11
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default imdb mod
Ill need feed back on this to see if its working so i can make it alot better for you all
Attached Files
File Type: rar tmp_2110-IMDB_MOD1973374966.rar (25.2 KB, 81 views)
Reply With Quote
  #2  
Old 12th January 2019, 03:04
MicroMonkey's Avatar
MicroMonkey MicroMonkey is offline
Senior Member
 
Join Date: Jun 2016
P2P
Posts: 52
Default
That code looks pretty much the same as what I have used. The only change I could recommend to folks using the OMDB is the star rating system. If a movie does not have a rating, it will break the code when it gets to the star rating because I dont think N/A is a variable that is passed by OMDB, or something like that. I dont remember exactly, but it broke non-rated movies. I just removed the images and allowed it to display text rather than the star rating images. You will see where I commented the original code near the bottom. Just wanted to post in case it is helpful to someone :)

here is my torrents-details.php
Code:
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; ?>" class="youtube" 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_ID"); ?></b><br /> <?php echo $_data->imdbID; ?><br /><br />
         <b><?php echo T_("IMDB_RATED"); ?></b><br /> <?php echo $TTIMDB->getRated( $_data->Rated ); ?><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)) !== N/A): ?>
         <td valign="top" align="right">
<?php /*?>         <?php echo $rating; ?><br />
<?php */?>         
         <b><?php echo T_("IMDB_RATING"); ?></b> <?php echo $_data->imdbRating; ?><br />
         <br />
         <b><?php echo T_("IMDB_VOTES"); ?></b> <?php echo $_data->imdbVotes; ?>

Last edited by MicroMonkey; 12th January 2019 at 09:06.
Reply With Quote
  #3  
Old 1st February 2019, 22:04
z3ro z3ro is offline
Senior Member
 
Join Date: Oct 2010
P2P
Posts: 121
Default
Quote:
Originally Posted by Napon View Post
Ill need feed back on this to see if its working so i can make it alot better for you all
Hi

TORRENTTRADER 2.09 Special Edition

- PHP 5.6.30 Max
- MYSQL 5.5.55 Max
- Apache Version: Apache/2.4.25+

its good?

Last edited by z3ro; 1st February 2019 at 23:14.
Reply With Quote
  #4  
Old 3rd February 2019, 17:38
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
Here is a fix ive worked on now working with API key
Attached Thumbnails
Screenshot_2019-02-03 Deluxe-Tracker NeT Details for torrent Aquamen 2018 HC HDRip XviD AC3-EVO .png  

Last edited by Napon; 3rd February 2019 at 17:52.
Reply With Quote
The Following User Says Thank You to Napon For This Useful Post:
papad (3rd February 2019)
Reply

Tags
imdb , mod

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 19:35. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.