PHP, MYSQL, CSS, LINUX TUTORIALS

Maribol IMDB – WordPress Plugin

Maribol IMDB is a wordpress plugin that helps you show info about a movie in your blog posts.

Example of usage:

View Code BBCODE
[imdb]tt1399103[/imdb]
<b>Title:</b> [imdb:title] ([imdb:year])
<b>Duration:</b> [imdb:duration]
<b>Director:</b> [imdb:director]

And the result should be:

View Code HTML
<b>Title:</b> Transformers: Dark of the Moon (2011)
<b>Duration:</b> USA: 157 min
<b>Director:</b> Michael Bay

Available Fields

View Code BBCODE
[imdb:title]
[imdb:year]
[imdb:description]
[imdb:short_description] // since 0.2 version
[imdb:poster]
[imdb:poster_small] // since 0.3 version
[imdb:duration]
[imdb:categories]
[imdb:director]
[imdb:cast]
[imdb:writers]
[imdb:language]
[imdb:release_date]
[imdb:filming_locations]
[imdb:rating] // since 0.3 version

Download this plugin at WordPress.org

139 Comments

  • Samuel Marian Says

    There is a donation link on wordpress.org page or in admin panel :)

  • cblock Says

    Is there a way; or what would the syntax be to embed imdb info into a template? Great Plugin…it works in the post using the shortcode…but i would like to implement dynamically on a page or post.

  • Samuel Marian Says

    Please give me an example to understand exactly what you need. :)

  • cblock Says

    i understand that the implementation is for use in post or pages…however, i would like to display IMDB info on a page via mytemplate.php, not manually placing the IMDB [shortcodes] into the page edit area of wp….i have researched wp functions “add_shortcode, and do_shortcode..any suggestions?

  • cblock Says

    better stated…is there a PHP function call for accessing the IMDB information?

  • Samuel Marian Says

    Well there isn’t a php function for IMDb info but i’ll make a function so that you can use it.

    Please wait for the next plugin update (probably tomorrow). :)

  • cblock Says

    too kool! thanks bruh…REALLY GREAT PLUGIN!

  • iketani Says

    Awesome plugin.

    I was wondering if you could add

    [imdb:url] or [imdb:link]

    Outputing with “IMDb” as the link text

    (What can I say, I’m lazy! I’d rather use a shortcode than create the link myself if there’s plugin already there that could do it so simply.)

    As another option for users, you might also consider adding [imdb:title=link].

  • cram Says

    hi! i it would be great if you could include quotes and trivias. tnx

  • Stefan Says

    How does this work if IMDB hasn’t an API? Do you use the third-party-APIs by Brian Fritz or Dean Clatworthy?

  • Samuel Marian Says

    I’m not using any of those APIs. I’ve created my own :)

  • First off, thanks for a great plug-in! Something that would be great is adding the ability to print the original title of the film too :)

    Also I had some problem with the latest version, don’t know if it’s related to some other plug-in I use, but I had to remove the following line (12 in admin.php) of code:

    remove_submenu_page(‘maribol_imdb’,'maribol_imdb’);

    because it crashed the admin area of the site.

  • Samuel Marian Says

    The latest version it’s working just fine. The problem isn’t from my plugin.

    What version of wordpress do you use?

  • cblock Says

    any guess when the new version of your plugin will be released?

  • I’m currently using WordPress 3.0.4

  • Luc Bouchard Says

    I cannot for the life of me get this to work. I installed the plugin, changed permissions on _cache folder. I literally cut and paste the example above and I get blank text where the retrieved data should be. This is both in the preview and publish. I noticed in the video you do something with the Tags section on the right, but can’t see what.

  • Ronny Says

    Is it possible to change it from imdb.com to imdb.de (the german version) to get german results? I tryed it with changing it in the admin.php but i still get the english movie description.

  • Samuel Marian Says

    In the next update, the info will be available in any language that IMDb has.
    Please don’t try to modify the plugin cause i can’t help you if the plugin is broken. :)

  • Ronny Says

    @Samuel
    nice to hear. Its in the future possible to get the ratings stars from imdb too? ;)

  • Arsalan Says

    imdb rating doesn’t seem to work, and the poster just shows a url, so I put html img src around it to make that work. But no fix for imdb rating, any ideas?

  • Samuel Marian Says

    please give me the imdb id from the movie you tried to get rating :)

  • WeeZel Says

    Hey there,

    just tried your plug-in, but i can´t get it work. nothing shows up. copy and pasted your example. i am using wordpress 3.2.1

    any idea ?

  • I am probably way out in left field here: On WordPress; can this plugin be used to display/play my videos on my website? I am looking for a GUI like IMDB for this purpose.
    Thank you.

  • WeeZel Says

    ok, got it to work. now access to imdb.de would be realy cool :D

  • Arsalan Says

    tt0458339 is the id to the movie I could not get a rating for. Thank you!

  • Exorcist Says

    Great plugin! alittle problem, when I add [imdb:short_description], it displays great but at the end of it shows the writer ie. “Written by Kern Saxton” and is linked but the link is incorrect and instead of going to http://www.imdb.com/search/title?plot_author=Kern%20Saxton&view=simple&sort=alpha, like it should, it shows my site like this: http://www.mysite.com/search/title?plot_author=Kern%20Saxton&view=simple&sort=alpha, and throws up an error 404. any help to fix this link problem with be awesome, thanks!

  • TheAssassin Says

    Using WordPress 3.2.1 with plugin 0.3.1 & plugin works great!
    Keep up the good work! :-)

    Can I suggest [imdb:age] (or similar) to get the age rating?
    If it returns say PG then I can use that to get the age rating PG image up myself like the poster image.

    Would also be good if all links in [imdb:description] & [imdb:short_description] were removed as they don’t point to the IMDB site.

  • you don’t know how much time you’ve saved me

  • Norbi Says

    What can i do? What can be the problem?

    This appear on every page:
    Warning: mkdir() [function.mkdir]: Permission denied in /home/hosting/fnorbika/netcinema.hi2.ro/wp-content/plugins/maribol-imdb/maribol-imdb.php on line 18

    This appear on admin page:
    Warning: Invalid argument supplied for foreach() in /home/hosting/fnorbika/netcinema.hi2.ro/wp-content/plugins/maribol-imdb/maribol-imdb.php on line 161

  • Samuel Marian Says

    change the folder permission to 0777

  • Emre Says

    Hello Samuel,

    First of all, a big ♥ for your savior plugin!

    When I tested it, I noticed that there are some tiny problems.

    1. If any of actor’s name has a dot, the code dies. For example, when I try tt0099088, after Michael J, the echo dies.

    2. The writers of this movie don’t be printed, too.

    3. Would I ask you to re-code the rating in the full form? E.g. 7.2 looks better than 7/10.

    On the other hand, I’d like to use this plugin in my template files. Can you please tell me how?

    Your effort is appreciated. Thank you.

  • David Says

    What code can I use so the small poster is actually shown?
    If I use it I only get the URL to the file on the frontpage, the image itself isn’t shown.

    Nice plugin btw!

  • Ronny Says

    I use ur plugin since two weeks and its fine, but now i write an article with [imdb]tt1278449[/imdb] and for this movie i get 0 results. any idea?

  • Samuel Marian Says

    I’ll update the plugin today. :)

  • Ronny Says

    if this update will fix my problem and if i can use imdb.de links now too, u will get a beer from me ;)

  • kapil Says

    hi i want to start a movie review site with a help of imdb data base.
    is it possible with this script.

    help me.

  • kapil Says

    hye i have used this plugin its awesome man
    but their is one problem

    these both tags are not working

    [imdb:poster]
    [imdb:poster_small] // since 0.3 version

    please update your plugin

    you can see my posting at

    http://fun.coolguruji.com/?p=42&preview=true

    wonderful work man

    keep it up

  • Ronny Says

    @Samuel
    the “today” was yesterday, i hope its all ok with u?

  • Michele Says

    For the life of me I can not get this plugin to work. I’m using version 0.3.1 of the plugin on WordPress 3.2.1. I changed the cache folder permissions and I used your example code and all I get is
    Title: ()
    Duration:
    Director:

    I also tried other movie ids and nothing. Am I missing something?

  • Samuel Marian Says

    @Ronny i’m sorry i’m very busy at the office. i can’t really have time to update the plugin right now. i’ll make an update soon as possible :)

    @Michele take a look at the maribol-imdb/_cache and see if the files are being created.

  • I’m gonna use this plug! It looks good =)

  • Michele Says

    @Samuel it doesn’t look like any files are being created. Am I missing a step? I did what you did in your video.

  • Samuel Marian Says

    The files should be created. Please check the chmod of parent directories to be 0777.

  • Samuel Marian Says

    I’ve started updating the plugin. It takes a little bit longer that a thought. The German version of IMDb and other languages are different than the imdb.com so it takes alot to create the api for other language. :)

  • Awesome, your idea was genuine. I want to say thank you for providing this great plugin for free. I’m used it on one of my site hehe… thanks!

  • Ronny Says

    @Samuel
    imdb.com and imdb.de is ok for the beginning, u dont have to use all imdb sites ;)

  • Ronny Says

    Samuel it seems your plugin have very big performance problems. I use your plugin since the beginning and was wondering why my wordpress is so damn slow, every klick ~7-8seconds. Now i have deactivate my plugins one by one and what can i see, with deaktivated imdb plugin the wordpress is fast. Have you the problems too? I hope you understand what i mean with my bad english :-/

  • Samuel Marian Says

    Yes i know there is a problem with the plugin when u add a movie in your post and you don’t have it in your cache. It takes a while to copy the cache. Anyway.. i’m working on that problem and in the next update it should work ok.

  • Sökoptimering Says

    Im loving this plugin, this is going to be excellent for my user review site about tv-shows!

    Any ETA on the next version? I don´t mean to stress you, but your plugin got me excited!

    Thx for your work!

  • Samuel Marian Says

    @Sökoptimering: Thank you, i’m glad you like it. I’ll try to make until weekend

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>