Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   imdb mod (http://www.bvlist.com/showthread.php?t=11714)

Napon 9th August 2018 22:11

imdb mod
 
1 Attachment(s)
Ill need feed back on this to see if its working so i can make it alot better for you all

MicroMonkey 12th January 2019 03:04

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) ): ?>

- Title; ?>                                                         


       
       
        getRating($_data->imdbRating)) !== N/A): ?>
       
<?php echo $_data->Title; ?>
       
        imdbID; ?>
        getRated( $_data->Rated ); ?> 
        getReleased($_data->Released); ?>
        Year; ?>
        Runtime; ?>
        Genre; ?>
        Director; ?>
        Writer; ?>
        Actors; ?>
        Plot; ?>
       

       
       
        imdbRating; ?>
       
        imdbVotes; ?>

z3ro 1st February 2019 22:04

Quote:

Originally Posted by Napon (Post 52369)
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?

Napon 3rd February 2019 17:38

1 Attachment(s)
Here is a fix ive worked on now working with API key


All times are GMT +2. The time now is 00:22.

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