View Full Version : Add-On Releases - Internet Movie Database (IMDb) BB Code
yoyoyoyo
11-24-2006, 10:00 PM
Internet Movie Database BB Code
This BB Code allows your users to simply type the name of a movie or an actor, etc., and then wrap BB code around the text to automagically link to the IMDb.
NOTE: This should work for most versions of VBulletin since it is simply a new BB Code.
TITLE: IMDb
TAG: imdb
Replacement:<a href="http://www.imdb.com/find?s=all&q={param}">{param}</a>example: Snakes on a Plane
Description: Links to search on Internet Movie Database
Use {option}: No
Button Image (Optional): see attachments
To open in a new window change the replacement code to this:
<a href="http://www.imdb.com/find?s=all&q={param}"target="_blank">{param}</a>note: if you are using vBAnonymizer (https://vborg.vbsupport.ru/showthread.php?t=131292) then use the following code: Thanks to Rian (https://vborg.vbsupport.ru/showpost.php?p=1125788&postcount=18))
TITLE: IMDb
TAG: imdb
Replacement:<a href="http://www.imdb.com/find?{param}">{param}</a>example: Snakes on a PlaneDescription: Links to search on Internet Movie Database
Use {option}: No
Button Image (Optional): see attachments
yoyoyoyo
11-25-2006, 01:09 PM
this space for rent (reserved for future use)
AMD_Warrior
11-25-2006, 01:12 PM
great job!
Thank you!
Very nice mod.
How can i open IMDb in new window?
yoyoyoyo
11-25-2006, 02:15 PM
Thank you!
Very nice mod.
How can i open IMDb in new window?I think that is a VBulletin preference in the ACP (links open in new window), but I am not sure - that is how it works on my forum anyway, with no special code, so it must be a setting, however opening a new window is sometimes a bad idea.
Here are the top 5 reasons why you should beware of opening links in a new window:
Unless you warn them, Web users are likely to expect the new page to load in the current window. Unexpected surprises can be fun, but not when you're browsing the Web.
The act of opening a new browser window resets the back button in that window. The back button is the second most used navigation function (after hyperlinks, source: useit.com), so resetting it is a big no-no.
To open a new browser window can disorient very novice Web users and the visually impaired. They might not realise that a new window has opened and might struggle to switch between windows.
Opening a new browser window disrespects the desires of your users. If they want a new window, they'll ask for one. Don't force a new window upon users unless there's a very good reason to do so.
New browser windows can make an already cluttered taskbar even more difficult to use. We've all spent ages hunting through the taskbar in search of the window we want. Don't make this process even harder by increasing the number of windows the user has open.
"But Using New Windows Keeps Users on my Site!"
Not on its own, it doesn't! Web users will stay on a site because it has the information they're looking for, or because it helps them achieve their goals -- not because the browser window is still open. If users want to return to a Website, they'll use the back button. If a new window is used, the back button in this window is reset, so users won't be able to do return to your site using this common method (cue frustrated users).
Here are the top 5 reasons why you should beware of opening links in a new window:
I could post a similar list against the _self openning.
In the age of rss readers and ajax/flash technologies (usually can't use the back button) users do expect to open external domains (or even board attachments on the same domain) in new browser window. It gives them faster clearer navigation (different content different window). Also users can change this behavior in most modern browsers (open in same page) if they wish.
If a user doesn't know the difference between a new page and same window than he/she probably can't use your board...as using a vbulletin board is a more complicated task.
abramelin
11-25-2006, 03:46 PM
its not going to the actual content so its not so much usefull i think
I didn't understand exactly.. what is it? and how is it working?
Any Screen shot or Demo please !!!
Mecho
11-25-2006, 08:11 PM
hi . good job but i think u should work on it . its so simple but great idea .
yoyoyoyo
11-25-2006, 08:29 PM
its not going to the actual content so its not so much usefull i think
If it is not going to the actual page for the movie or actor then you need to make a better keyword. If I type in snakes on a plabe it takes me to the "Snakes on a Plane" IMDb page, not the search results. If there is more than one selection, such as "Borat" or something then yes, it will show you the results, however if you type "Borat: Cultural Learnings of America for Make Benefit Glorious Nation of Kazakhstan" without the quotes, and put imdb tags around it then that takes you to the page on that movie.
I didn't understand exactly.. what is it? and how is it working?
Any Screen shot or Demo please !!!
type the name of any movie or actor and then put the tags around the name. The link displayed will take you to the IMDb page on that subject.
hi . good job but i think u should work on it . its so simple but great idea .
Well, the IMDb search is what it is - I can't really change they way they do their searches. Yes, it is simple, and it does work - at least for me.
Is it possible to change the deafult BB code images size 21x20 so it will fit the imdb picture?
yoyoyoyo
11-25-2006, 10:16 PM
Is it possible to change the deafult BB code images size 21x20 so it will fit the imdb picture?the imdb icon? here is a smaller version, though I don't think it is as readable
iran.gs
11-26-2006, 02:02 AM
ur code can be done like this also and than all u need is the number.
<a href="http://www.imdb.com/find?s=all&q="{param}</a>
tt0120689
this is for the green mile
yoyoyoyo
11-26-2006, 02:16 AM
ur code can be done like this also and than all u need is the number.
<a href="http://www.imdb.com/find?s=all&q="{param}</a>
tt0120689
this is for the green mile
yes indeed, but not as intutive
transitbus
11-26-2006, 02:40 AM
To open in a new page, just change the replacemnt code to this:
<a href="http://www.imdb.com/find?s=all&q={param}" target="_blank">{param}</a>
Confirmed on 4 forums. This script does not work. It simply takes you to an empty search page at imdb.
Tulsa
11-26-2006, 11:32 AM
This script works just fine. Even putting in ridiculous names for movies, the search came up with something close.
I would also include the opening a new page version as transitbus posted in the top section. Whether you agree with it or not, I think most would want it to act this way.
My apologies. The hack itself does work. I found my problem.
I am using VBAnonymizer, which interfered with the outgoing link, cutting it off.
I changed it as follow:
<a href="http://www.imdb.com/find?s=all&q={param}">{param}</a>
to
<a href="http://www.imdb.com/find?{param}">{param}</a>
Its working perfectly now.
yoyoyoyo
11-26-2006, 09:20 PM
My apologies. The hack itself does work. I found my problem.
I am using VBAnonymizer, which interfered with the outgoing link, cutting it off.
I changed it as follow:
to
Its working perfectly now.
Interesting - I will look in to it and change it.
yoyoyoyo
11-26-2006, 09:33 PM
I updated the code to include the fix for vBanonymizer, and also fixed the read me to make it more clear, so if you were having a problem with it before please try again.
I updated the code to include the fix for vBanonymizer, and also fixed the read me to make it more clear, so if you were having a problem with it before please try again.
Thx Yoyoyoyo
The hack is working perfectly now :)
Saskia
11-30-2006, 10:27 PM
Sweet! I'm an IMDb junkie, so this'll definetly benefit me and my members on the forums. It's an easy addition, but I never would've thought about it, so thank you!
jyajay
12-11-2006, 12:12 PM
My apologies. The hack itself does work. I found my problem.
I am using VBAnonymizer, which interfered with the outgoing link, cutting it off.
I changed it as follow:
to
Its working perfectly now.
Not really, if I search something with this pattern the site is not even loading.
I also attached a version that is exactly 21x20px big, maybe a little more readable than the other one.
Why is this happening:
http://www.imdb.com/find?s=all&q= <br />TEST TEST<br />
My replacement looks like this:
TEST TEST
but it has to be:
TEST TEST
<a target="_blank" href="http://www.imdb.com/find?s=all&q={param}">{param}</a>
BarelyHangingOn
12-11-2006, 01:04 PM
How do I add this?
compact123
06-14-2007, 08:07 PM
thanks for this is mod
Alibass
06-15-2007, 01:00 AM
*Installed*
Shaliza
07-23-2007, 12:05 AM
Great hack!
edytwinky
11-06-2007, 05:15 PM
Looks interesting. Might give it a shot when I get home.
yoyoyoyo
11-07-2007, 01:46 PM
I updated the version number of the vbulletin that this works with since this works will all versions of vb that support bb code. No changes to the BB code have been found, but thought that it might be overlooked if it was buried in the 3.5.X section
XMRadioGold
11-07-2007, 05:05 PM
Just installed it to my new site. Works well, thanks.
Skitty
11-07-2007, 10:33 PM
This is fun, thanks !
hostmela
12-08-2008, 04:11 PM
i did this and it came like this....
https://vborg.vbsupport.ru/external/2008/12/89.jpg
i want this
before post:
http://imdb.com/title/tt0430770/
after post:
https://vborg.vbsupport.ru/external/2008/12/88.jpg
compact123
05-12-2009, 04:49 PM
thnaks for mod...
marshal_ramdev
05-31-2009, 04:03 PM
thanks m8
compact123
05-31-2009, 10:23 PM
This is cool IMDB mod: http://www.vbulletin-turkey.com/forum/showthread.php?p=31055
RedHacker
08-20-2009, 08:18 AM
This is cool IMDB mod: http://www.vbulletin-turkey.com/forum/showthread.php?p=31055
But the Turkish language not know many people. I saw but not understand anything
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.