Additional Info
Type
Package ID
karlbenson:ebaumsworldbbcode
First Created
August 19, 2007, 05:17:00 PM
Last Updated
January 18, 2008, 11:37:48 PM

EbaumsWorld BBCode v1.1

Adds [ebaumsworld][/ebaumsworld] bbcode to show Ebaums World clips
Compatible With 1.1.3, 1.1.4
Latest version v1.1
Downloads 2,122
Reviews 0
Rating 0/5
Subscribers 0
License (View License)
Author(s)
This mod has been taken over by WDM2005
The new link for which is http://custom.simplemachines.org/mods/index.php?mod=1238


EBAUM'S WORLD BBCODE v1.1
By Karl Benson


Link to Mod | Comment On This Mod

Introduction
Adds [ebaumsworld][/ebaumsworld] bbcode to show Ebaums World clips

Ebaum's World do not use the same video id in the url and for the video file like YouTube, so I've devised a lookup table in the database.
The first time each clip is shown on your forum, the information you will need to embed the video is obtained from ebaumsworld.
The height/width and id/reference are then stored in the lookup table so that any time after that the clip is used on your forum, the information is retrieved from the lookup table.
(Since its a hundred times faster to perform the query, the go and get the id/reference every time)
To keep the lookup table fairly optimized, lookup references get wiped after 3 months/90 days
(and an new version of the lookup reference will be obtained)

Installation
Simply install the package to install this modification on the Default theme.

Manual edits will be required for non-default themes to insert the BBcode button onto the Post.template.php.
And a copy of the ebaumsworld.gif placed in the bbcode images folder for each theme (Theme/{themename}/images/bbc/)

Features
o BBCode Button to insert [ebaumsworld][/ebaumsworld] tags
- works with full urls [ebaumsworld]http://www.ebaumsworld.co.uk/video/watch/12345[/ebaumsworld]
- works with video id [ebaumsworld]12345[/ebaumsworld]
- supports custom sizes (width,height) [ebaumsworld=250,250]12345[/ebaumsworld]

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
1.0 - 18th August 2007
o Initial release by request (fuelthescene)
1.1 - 19th August 2007
o Fixed language string insertion so adds before ?> and not at end
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: