Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Masterd on February 11, 2011, 12:55:16 PM

Title: IMDb BBC
Post by: Masterd on February 11, 2011, 12:55:16 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2944)

                
IMDb BBC 1.0
                      
Author:
                   
Masterd

IMDb BBC adds a powerful BBC wich allows you to search through the IMDb's database. It's very simple to use. For example, if you want to search the database for movie called "Shrek" then it will look like this:

[imdb]Shrek[/imdb]

This mod uses the integration hooks, so it won't make any changes to SMF's core files.

                                           
News in version 1.0

- Initial release



This modification is licensed under BSD License (http://www.opensource.org/licenses/bsd-license.php)

Copyright (c) 2011-2014, Masterd
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Title: Re: IMDb BBC
Post by: Matthew K. on February 11, 2011, 12:59:57 PM
I know you spent a fair amount of time writing this, and doing it without edits. Congratulations on getting it out there, Masterd!
Title: Re: IMDb BBC
Post by: Masterd on February 11, 2011, 01:03:11 PM
Thank you, Labradoodle-360! :D
Title: Re: IMDb BBC
Post by: Masterd on February 12, 2011, 06:46:10 AM
This mod works on SMF 2.0 RC5 without any problems.
Title: Re: IMDb BBC
Post by: willerby on February 12, 2011, 06:25:55 PM
Can you explain IMDb ?  What does it stand for?  What is it?

I'm guessing this mod creates a link in a post to a search based upon what is between the BBC tags? ie. a list of topics with that search criteria.  But I could be way off...

Thanks
Title: Re: IMDb BBC
Post by: Arantor on February 12, 2011, 06:29:01 PM
IMDb = Internet Movie Database, i.e. imdb.com, a list of many many films, characters, actors.
Title: Re: IMDb BBC
Post by: Matthew K. on February 12, 2011, 06:29:34 PM
http://www.imdb.com/ (http://www.imdb.com/)
Title: Re: IMDb BBC
Post by: willerby on February 13, 2011, 04:57:17 AM
 :-[
Title: Re: IMDb BBC
Post by: Masterd on February 13, 2011, 05:04:44 AM
I fixed one little bug. Link wasn't underlined.
Title: Re: IMDb BBC
Post by: Chupko on February 13, 2011, 01:55:00 PM
Nice mod Masterd (:
Title: Re: IMDb BBC
Post by: Masterd on February 13, 2011, 02:16:17 PM
Thank you! :D
Title: Re: IMDb BBC
Post by: Masterd on March 12, 2011, 01:30:48 PM
Does anyone wants this mod for SMF 1.1.13?
Title: Re: IMDb BBC
Post by: agent47 on June 15, 2011, 12:40:54 PM
Is the current version compatible with SMF 2.0 Gold ?
Title: Re: IMDb BBC
Post by: Masterd on June 15, 2011, 12:43:28 PM
Yes, it should work just fine. :)
Title: Re: IMDb BBC
Post by: Matthew K. on June 15, 2011, 08:18:06 PM
Of course it is. :P It uses hooks which haven't changed since RC5 ;)
Title: Re: IMDb BBC
Post by: FragaCampos on June 29, 2011, 11:26:06 AM
Nice little mod. Thanks a lot for your effort.

I have a request, though. Is it possible to insert the imdb logo instead of the text "IMDB:" so that we could click the image and be redirected to the title in IMDB?
Title: Re: IMDb BBC
Post by: Robert. on June 09, 2012, 01:49:34 PM
Very nice mod, going to install this one as soon as I have a forum. :)
Title: Re: IMDb BBC
Post by: Apllicmz on June 30, 2013, 04:07:46 PM
When Update portuguese files
thank you
Title: Re: IMDb BBC
Post by: TheListener on June 30, 2013, 08:05:06 PM
Quote from: Joomlamz on June 30, 2013, 04:07:46 PM
When Update portuguese files
thank you

Highly unlikely

QuoteCompatible With:
    2.0 RC5, 2.0, 2.0.2

QuoteLast Active: 17 December 2012
Title: Re: IMDb BBC
Post by: Masterd on December 18, 2013, 12:40:50 PM
Quote from: Scrooge on June 30, 2013, 08:05:06 PM
Highly unlikely

And yet, miracles do happen. :)
Title: Re: IMDb BBC
Post by: TheListener on December 18, 2013, 07:43:00 PM
Er since the update I now have no imdb bbc code.

Won't be updating the Wiki mod until this is corrected.

>:(
Title: Re: IMDb BBC
Post by: Masterd on December 19, 2013, 07:58:19 AM
Quote from: Scrooge on December 18, 2013, 07:43:00 PM
Er since the update I now have no imdb bbc code.

Won't be updating the Wiki mod until this is corrected.

>:(

Hm. That's peculiar.  I restored the old version, just stick with it. Nothing's changed in the Wki mod so you don't need to update it.
Title: Re: IMDb BBC
Post by: TheListener on December 20, 2013, 04:56:11 PM
Quote from: Scrooge on December 18, 2013, 07:43:00 PM
Er since the update I now have no imdb bbc code.

Won't be updating the Wiki mod until this is corrected.

>:(

Still the same.
Title: Re: IMDb BBC
Post by: Masterd on July 23, 2014, 07:40:13 AM
Quote from: Old Fossil on December 20, 2013, 04:56:11 PM
Quote from: Scrooge on December 18, 2013, 07:43:00 PM
Er since the update I now have no imdb bbc code.

Won't be updating the Wiki mod until this is corrected.

>:(

Still the same.

It's fixed. My apologies.
Title: Re: IMDb BBC
Post by: Kimmie on August 14, 2014, 11:17:59 PM
I like the mod. I only see one thing that I would request being changed. When you are looking up Movies, in a lot of cases they have been remade several times or it returns results that do not even pertain to that movie. Example Movie: The Pirate. This is the result it returns on the link

http://www.imdb.com/find?s=all&q=The%20Pirate%201948


Is there any way to narrow this down? I tried The Pirate 1948 but it gave the same results.  Just trying to get the kinks worked out before we go live with it :). Thanks.
Title: Re: IMDb BBC
Post by: Masterd on August 15, 2014, 02:44:02 PM
Quote from: Kimmie on August 14, 2014, 11:17:59 PM
I like the mod. I only see one thing that I would request being changed. When you are looking up Movies, in a lot of cases they have been remade several times or it returns results that do not even pertain to that movie. Example Movie: The Pirate. This is the result it returns on the link

http://www.imdb.com/find?s=all&q=The%20Pirate%201948


Is there any way to narrow this down? I tried The Pirate 1948 but it gave the same results.  Just trying to get the kinks worked out before we go live with it :). Thanks.

That's up to IMDb's own search engine.
Title: Re: IMDb BBC
Post by: Sagar_king on October 27, 2014, 01:41:14 AM
Good work
Title: Re: IMDb BBC
Post by: ephman on October 28, 2014, 03:19:15 PM
Really appreciate your work man. This might come in handy.
Title: Re: IMDb BBC
Post by: Masterd on October 29, 2014, 06:21:43 PM
Thank you. :)
Title: Re: IMDb BBC
Post by: steve51184 on August 26, 2016, 11:15:39 PM
can't get this to install on smf 2.0.11 install goes fine but no imdb bbcode button shows up on the new post page?
Title: Re: IMDb BBC
Post by: Steve on August 27, 2016, 09:28:48 AM
It installs and works perfectly for me.

Have you tried refreshing your browser and deleting your browser's temp files?

Did you install it for all your themes?
Title: Re: IMDb BBC
Post by: steve51184 on August 27, 2016, 10:59:35 AM
Quote from: Steve on August 27, 2016, 09:28:48 AM
It installs and works perfectly for me.

Have you tried refreshing your browser and deleting your browser's temp files?

Did you install it for all your themes?

image of board with 1 stickied post: http://i.imgur.com/u1duGh4.png

closeup of whatever that text is: http://i.imgur.com/SJIFXeT.png

works fine on some thought: http://i.imgur.com/Wbn520x.png

but not all: http://i.imgur.com/9Ji7YX1.png
Title: Re: IMDb BBC
Post by: Steve on August 28, 2016, 09:02:27 AM
I'm not sure what you're showing me. It looks like you're trying to use this for something other than what it was designed for.
Title: Re: IMDb BBC
Post by: steve51184 on August 31, 2016, 09:41:53 PM
Quote from: Steve on August 27, 2016, 09:28:48 AM
It installs and works perfectly for me.

Have you tried refreshing your browser and deleting your browser's temp files?

Did you install it for all your themes?

sorry disregard my last post it was for another mod

the problem with this mod is it installs ok witht no errors but there's no imdb bbcode button on the new post page and even just using for example [imdb]Shrek[/imdb] in a post doesn't work as intended

installed:
http://i.imgur.com/Z5gFQG3.png

no bbcode button:
http://i.imgur.com/LoXeUsF.png

code not working:
http://i.imgur.com/ukYaLNT.png

which is weird as your wiki bbcode mod works fine
Title: Re: IMDb BBC
Post by: Steve on September 01, 2016, 09:02:27 AM
I'm sorry to ask then again but do you have more than one theme and does the button not show up on any of them?
Title: Re: IMDb BBC
Post by: steve51184 on September 01, 2016, 11:04:42 AM
Quote from: Steve on September 01, 2016, 09:02:27 AM
I'm sorry to ask then again but do you have more than one theme and does the button not show up on any of them?

Default theme no others
Title: Re: IMDb BBC
Post by: Masterd on December 29, 2016, 09:40:27 AM
This mod should work regardless of the theme you are using. Also, the probability of conflict with some other mod is pretty much nonexistent, since it uses integration hooks, but then again, it could happen. If it's working fine on Steve's forum and you don't have some other mod that is interfering, I honestly don't know how to help you.
Title: Re: IMDb BBC
Post by: Rumpa on October 26, 2022, 04:55:39 AM
@Masterd your pm is disabled so I am asking here.

I want to release this mod for SMF 2.1
and need permission for your code

If you agree then give me access permission

Thank you
Title: Re: IMDb BBC
Post by: Steve on October 26, 2022, 08:02:32 AM
@Masterd hasn't been here in a year and a half. Hopefully he'll have some kind of notification turned on for your post.
Title: Re: IMDb BBC
Post by: Rumpa on October 26, 2022, 09:16:50 AM
Oh my god
Title: Re: IMDb BBC
Post by: Steve on October 26, 2022, 04:32:50 PM
Relax. This is under discussion.
Title: Re: IMDb BBC
Post by: Steve on October 27, 2022, 03:25:13 PM
And unfortunately it didn't go your way as you already know. Sorry.