We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
IMDb BBCode
Topic Started: Dec 16 2016, 03:11 AM (754 Views)
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code Name: IMDb BBCode

What the code does: Inserting a movie name in between the IMDB BBCode tags will auto-generate information directly from IMDb when posted. Preview

How to use the code: Install as instructed, no editing is required.

How to install the code:

Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript" src="http://b2.ifrm.com/63/1/0/p702793/IMDB_BBCode.js"></script>
Extra notes: Made possible with the OMDb API.
Offline Profile Quote Post Goto Top
 
Ennui
Member Avatar
Member
[ *  * ]
This is great, but what happens when you have two shows or movies with the same name?

For example, I just tried this on the TV show The Apprentice, wanting it to link to the UK version, but it linked to the US version of the show, which has the same name.
Edited by Ennui, Jan 9 2017, 08:25 AM.
Offline Profile Quote Post Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Ennui
Jan 9 2017, 08:09 AM
This is great, but what happens when you have two shows or movies with the same name?

For example, I just tried this on the TV show The Apprentice, wanting it to link to the UK version, but it linked to the US version of the show, which has the same name.
Cory, you could use the IMDb ID parameter instead of the name parameter or a combination of the two (intelligently detect if the input is an ID or movie name).
Offline Profile Quote Post Goto Top
 
Ennui
Member Avatar
Member
[ *  * ]
DaPizzaMan
Jan 9 2017, 10:40 AM
Ennui
Jan 9 2017, 08:09 AM
This is great, but what happens when you have two shows or movies with the same name?

For example, I just tried this on the TV show The Apprentice, wanting it to link to the UK version, but it linked to the US version of the show, which has the same name.
Cory, you could use the IMDb ID parameter instead of the name parameter or a combination of the two (intelligently detect if the input is an ID or movie name).
This is a great idea. We've been testing this code and it's a bit hit and miss with names only. For example, if you try to add Will & Grace, it wants to add the TV mini series called Will instead. If you could add the ID too, I think that would get around that issue.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Here's what I came up with before you posted your message, DPM:
Code:
 
<script type="text/javascript" src="http://b2.ifrm.com/63/1/0/p703344/IMDB_BBCode_Year.js"></script>
Offline Profile Quote Post Goto Top
 
Ennui
Member Avatar
Member
[ *  * ]
That's working better for me. :lol:
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply