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
  #22  
Old 11-27-2006, 03:31 AM
Rian Rian is offline
 
Join Date: Sep 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
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
Reply With Quote
  #23  
Old 11-30-2006, 10:27 PM
Saskia's Avatar
Saskia Saskia is offline
 
Join Date: Oct 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #24  
Old 12-11-2006, 12:12 PM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rian View Post
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:

Quote:
http://www.imdb.com/find?s=all&q= <br />TEST TEST<br />
My replacement looks like this:

Code:
[imdb]
TEST TEST
[/imdb]
but it has to be:

Code:
[imdb]TEST TEST[/imdb]
PHP Code:
<a target="_blank" href="http://www.imdb.com/find?s=all&q={param}">{param}</a
Reply With Quote
  #25  
Old 12-11-2006, 01:04 PM
BarelyHangingOn BarelyHangingOn is offline
 
Join Date: Feb 2003
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add this?
Reply With Quote
  #26  
Old 06-14-2007, 08:07 PM
compact123 compact123 is offline
 
Join Date: Jun 2006
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this is mod
Reply With Quote
  #27  
Old 06-15-2007, 01:00 AM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Installed*
Reply With Quote
  #28  
Old 07-23-2007, 12:05 AM
Shaliza Shaliza is offline
 
Join Date: Apr 2006
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!
Reply With Quote
  #29  
Old 11-06-2007, 05:15 PM
edytwinky edytwinky is offline
 
Join Date: Aug 2007
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks interesting. Might give it a shot when I get home.
Reply With Quote
  #30  
Old 11-07-2007, 01:46 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 11-07-2007, 05:05 PM
XMRadioGold XMRadioGold is offline
 
Join Date: Nov 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed it to my new site. Works well, thanks.
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 06:10 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.06274 seconds
  • Memory Usage 2,309KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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