![]() |
Internet Movie Database (IMDb) BB Code
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: Code:
<a href="http://www.imdb.com/find?s=all&q={param}">{param}</a> PHP Code:
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: Code:
<a href="http://www.imdb.com/find?s=all&q={param}"target="_blank">{param}</a> TITLE: IMDb TAG: imdb Replacement: Code:
<a href="http://www.imdb.com/find?{param}">{param}</a> Code:
[imdb]Snakes on a Plane[/imdb] Use {option}: No Button Image (Optional): see attachments |
this space for rent (reserved for future use)
|
great job!
|
Thank you!
Very nice mod. How can i open IMDb in new window? |
Quote:
Here are the top 5 reasons why you should beware of opening links in a new window:
"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). |
Quote:
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. |
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 !!! |
hi . good job but i think u should work on it . its so simple but great idea .
|
Quote:
Quote:
Quote:
|
Is it possible to change the deafult BB code images size 21x20 so it will fit the imdb picture?
|
Quote:
|
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> [imdb]tt0120689[/imdb] this is for the green mile |
Quote:
|
To open in a new page, just change the replacemnt code to this:
Quote:
|
Confirmed on 4 forums. This script does not work. It simply takes you to an empty search page at imdb.
|
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: Quote:
Quote:
|
Quote:
|
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.
|
Quote:
The hack is working perfectly now :) |
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!
|
Quote:
I also attached a version that is exactly 21x20px big, maybe a little more readable than the other one. Why is this happening: Quote:
Code:
[imdb] Code:
[imdb]TEST TEST[/imdb] PHP Code:
|
How do I add this?
|
thanks for this is mod
|
*Installed*
|
Great hack!
|
Looks interesting. Might give it a shot when I get home.
|
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
|
Just installed it to my new site. Works well, thanks.
|
This is fun, thanks !
|
i did this and it came like this....
https://vborg.vbsupport.ru/external/2008/12/89.jpg i want this before post: [IMDB]http://imdb.com/title/tt0430770/[/IMDB] after post: https://vborg.vbsupport.ru/external/2008/12/88.jpg |
thnaks for mod...
|
thanks m8
|
This is cool IMDB mod: http://www.vbulletin-turkey.com/foru...ad.php?p=31055
|
Quote:
|
All times are GMT. The time now is 02:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|