IMDB BBCode

Started by karlbenson, February 27, 2007, 06:23:06 PM

Previous topic - Next topic

karlbenson

Link to Mod

Install/Mod Info
Tested and works on 1.1.2, 1.1.1, 1.1 It may or may not work on other versions.

Enables you to create a link to a IMDB search page for particular keyword(s).
      
eg [imdb=superman]TITLE[/imdb]
will link to a list of all the superman films in the IMDB database.

Installs on Default Skin Only.

(It will also appear on any other custom theme which does not have a custom post.template.php. For custom themes which do you will need to manually install this modification onto the default skin.

Version Info
V1.0 - Initial Release

Manual Edits
To install this on custom themes;

For the theme you wish to install this modification on, please open its Post.template.php

Find:

$context['bbc_tags'][] = array(
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),


AFTER it copy and paste

$txt['imdb_bbcode_tag'] => array('code' => $txt['imdb_bbcode_title'], 'before' => '[' . $txt['imdb_bbcode_title'] . '=]', 'after' => '[/' . $txt['imdb_bbcode_title'] . ']', 'description' => $txt['imdb_bbcode_desc']),

Niteblade

affiliate blog

Shonick

could you tell me more about  what this mod for?or could you give me a demo of this mod.Thanks

karlbenson

type eg [imdb=superman]TITLE[/imdb]

and you get

Superman

perplexed

hi

I tried to install but got a fail:

Installations actions for "IMDB BBCode":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Subs.php    Test successful
2.    Execute Modification    ./Themes/default/Post.template.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test failed
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
5.    Extract File    Themes/default/images/bbc/imdb.gif

I just installed your wiki bbc code with no problems (very cool). 

I have lots of mods installed.

Any ideas why the display.template might fail?

thanks

karlbenson

Do you have the quick reply mod installed?

Anyways, I'm working on a version of this to include non-english languages.


karlbenson

the bit that failed is the installing on the enhanced quick reply.

I dont know why.

All i can suggest is, don't install the mod, or do and single edit on the display.template manually


Advertisement: