• Resolved giannis333333

    (@giannis333333)


    Good morning is see that omdb is giving free keys again , i got one but i cant understand how to make plugin to work.It says it is not working because omdb is not free and when i go to settings there is not any place to put the key i got in order to bring movies?How is this plugin working please?Thanks a lot in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author thaikolja

    (@thaikolja)

    Hi @giannis333333,

    You’re right, there’s no such option on the plugin’s settings page. However, the new version of IMDb Connector – 1.6.0 – does have it. The new version will be released as soon as I find some users who could help me test the plugin for bugs or errors. (Interested? ?? )

    It is already included in the next version which is going to be released as soon as I find some users to help me test the new version for bugs (maybe you? ?? )

    About the current version:
    1. The plugin should be working right of the box since an API key is in the plugin by default.
    2. If it doesn’t work or you’d just like to use your own for whatever reason, you have to edit one line of the plugin files. Open this file:

    /wp-content/plugins/imdb-connector/classes/movies.php

    At line 46 (or nearby), you’ll find this:

    /** Define variables */
    $api_url = "https://www.omdbapi.com/" . base64_decode("P2FwaWtleT1iY2UyMTdmZSY=");
    $type    = "t";

    Replace the last part of the URL like this:

    $api_url = "https://www.omdbapi.com/?apikey=YOU_API_KEY&";

    Please don’t forget the ? and the & at the end of your key.

    That’s it. Save it and your API key will then be used instead of the default one (which probably won’t change anything).

    Please give it a try and let me know.

    Thread Starter giannis333333

    (@giannis333333)

    Hello Kolja thanks for fast reply and insight.Unfortunatelly i cant test on this site that is ready for going live for bugs because i cant handle any errors that may occure at the moment.

    I dont know why but the already build in api didnt worked i replaced with my api as you said and its working fine.

    i have one question though i have a cinema page that i need to bring movies lets say with shortcodes, i cant find the full documentation of your shortcodes, page is down or dont let me access.

    So is there a basic shortcode that bring image information like time year and plot?
    Or plugin works only with widgets?Because i want to insert movies in page not in sidebar.

    Thanks a lot for your support on the plugin !Have a nice day!

    Plugin Author thaikolja

    (@thaikolja)

    Hi @giannis333333,

    No problem at all regarding the beta testing.

    I’m wondering as well why the already implemented API key didn’t work for you, because it does work for me. See here: https://www.omdbapi.com/?apikey=bce217fe&t=Seven

    So is there a basic shortcode that bring image information like time year and plot?

    Shortcodes are a bit hidden in the current version. The new version comes with a shortcode generator that makes things a lot easier:

    View post on imgur.com

    There are a lot more benefits in the new version, so maybe you could think about making a backup of your site (just in case) and give the new version a try? ??

    By the way, how did you get the free API key? All I see is the $1 one on Patron.

    Thread Starter giannis333333

    (@giannis333333)

    Good morning well if you check better it says free api opened again for 1000 calls per day though.
    https://www.omdbapi.com/apikey.aspx
    Here you can get free api.
    Your new version seems fantastic, but the thing is that i am working on the site on so many other things because its a booking website that i dont have time to test for bugs atm.So many other issues to resolve ??
    In the version we have now isnt there a standard shortcode i can use in pages to bring poster and name,info of the movie i want?If there is can you please which shortcode should i use?
    Thanks a lot in advance for everything!

    Plugin Author thaikolja

    (@thaikolja)

    Hi @giannis333333,

    That’s totally fine, no worries.

    I found the free API key page and implemented it into the new version with some instructions.

    In the version we have now isnt there a standard shortcode i can use in pages to bring poster and name,info of the movie i want?If there is can you please which shortcode should i use?

    There are. Check the old documentation:

    https://www.koljanolte.com/wordpress/plugins/imdb-connector/documentation/documentation-old.pdf

    Thread Starter giannis333333

    (@giannis333333)

    Good morning Kolja so if you publish the new version with the free api should i remove the line of code we replaced or should i leave it with my Api key?

    I try to find the old documentation but when i click on it it redirects on main page and says:
    Not much going on here, yet
    The website of Kolja Nolte, freelance WordPress developer and

    writer based in Bangkok, is currently undergoing refurbishment.

    Thanks for all help,best regards!

    Plugin Author thaikolja

    (@thaikolja)

    I’m sorry, I was just playing around with my web server. If you click the link again, you’ll find it.

    When the new version gets out, you can enter your API code in the plugin’s settings page. But you can also try with the default one, that should work, too.

    Thread Starter giannis333333

    (@giannis333333)

    Thanks Kolja.
    Very helpful as always!Have a nice weekend!

    Thread Starter giannis333333

    (@giannis333333)

    Hello again .I have a minor problem on backend with the popup error message appearing all time.
    The message is the following: Why IMDb Connector plugin does not work on your website
    and while i press Hide this message button when i go to dashboard it is showing all time.
    We replaced the Api in code with mine as you remember is there a way this message to stop showing?

    Thanks a lot Kolja!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘omdb is up again’ is closed to new replies.