Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Internet Movie Database (IMDb) BB Code Details »»
Internet Movie Database (IMDb) BB Code
Version: 1.01, by yoyoyoyo yoyoyoyo is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 11-24-2006 Last Update: 11-25-2006 Installs: 52
 
No support by the author.

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>
example:
PHP Code:
[imdb]Snakes on a Plane[/imdb

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>
note: if you are using vBAnonymizer then use the following code: Thanks to Rian)

TITLE: IMDb
TAG: imdb
Replacement:
Code:
<a href="http://www.imdb.com/find?{param}">{param}</a>
example:
Code:
[imdb]Snakes on a Plane[/imdb]
Description: Links to search on Internet Movie Database
Use {option}: No
Button Image (Optional): see attachments

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-25-2006, 01:09 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this space for rent (reserved for future use)
Reply With Quote
  #3  
Old 11-25-2006, 01:12 PM
AMD_Warrior AMD_Warrior is offline
 
Join Date: Jul 2006
Location: NY
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great job!
Reply With Quote
  #4  
Old 11-25-2006, 02:10 PM
efil's Avatar
efil efil is offline
 
Join Date: Nov 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Very nice mod.

How can i open IMDb in new window?
Reply With Quote
  #5  
Old 11-25-2006, 02:15 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by efil View Post
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:
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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).
Reply With Quote
  #6  
Old 11-25-2006, 03:37 PM
goyo goyo is offline
 
Join Date: Mar 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
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.
Reply With Quote
  #7  
Old 11-25-2006, 03:46 PM
abramelin abramelin is offline
 
Join Date: Mar 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not going to the actual content so its not so much usefull i think
Reply With Quote
  #8  
Old 11-25-2006, 05:37 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't understand exactly.. what is it? and how is it working?

Any Screen shot or Demo please !!!
Reply With Quote
  #9  
Old 11-25-2006, 08:11 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi . good job but i think u should work on it . its so simple but great idea .
Reply With Quote
  #10  
Old 11-25-2006, 08:29 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abramelin View Post
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 [imdb]snakes on a plabe[/imdb] 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.

Quote:
Originally Posted by Pehchaan View Post
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 [imdb][/imdb] tags around the name. The link displayed will take you to the IMDb page on that subject.

Quote:
Originally Posted by Mecho View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05084 seconds
  • Memory Usage 2,307KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete