Additional Info
Type
Package ID
burtybob:snapshotbbcode
First Created
June 01, 2008, 02:31:11 PM
Last Updated
November 05, 2008, 12:19:55 PM

Snapshot BBCode vV1.2

Adds [snapshot] bbcode to be able to show screenshots of websites
Compatible With 1.1.5, 2.0 Beta 3.1 Public
Latest version vV1.2
Downloads 3,008
Reviews 0
Rating 0/5
Subscribers 1
License (View License)
Author(s)


SNAPSHOT BBCODE (SHOW WEBSITE THUMBNAIL PREVIEW) v1.1
Orignally By Karl Benson
Now Developed By Ben Burt



Introduction
A modification for the use of [snapshot][/snapshot] bbcode to enable the showing of previewed links.
Thumbnails provided and taken by http://www.thumbnailspro.com/
(Note until a screenshot of the link has been taken, you will get a Soon... image)
Examples


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

This version is for compatible with SMF 1.1.x
and with SMF 2.0 Beta 1 (which is currently available to Charter Members).

Manual edits will be required for non-default themes to add the BBCode button to the Post.template.php (if it has a custom version of the file)

Manual Edit
A Manual edit will be required for non-default themes to add the BBCode button to the Post.template.php (IF the theme has a custom Post.template.php)
FIND
'flash' => array('code' => 'flash',
ADD BEFORE
'snapshot' => array('code' => 'snapshot', 'before' => '[snapshot]', 'after' => '[/snapshot]','description' => $txt['snapshot']),
You will need to add a copy of the snapshot.gif image to EVERY themes images/bbc folder

If your using a language different than the ones supported this mod (listed below), then you will need to add the following to the Modifications.{language}.php for each theme (The language folder can be found eg Themes/{themename}/languages/)
If your using utf8, you may also need to add it to Modifications.{language}-utf8.php

FIND
?>
ADD BEFORE
$txt['snapshot'] = 'SnapShot';

Languages
o Supports by default
- English/English-utf8
- English_British/English_British-utf8

Features
o BBCode Button to Insert [snapshot][/snapshot] bbcode.
o Works with 2 different types of BBCODE
- Works with [snapshot][/snapshot] (Basic bbcode, uses the default sizes 150x120)
- Works with [snapshot=width,height][/snapshot] (With specified sizes)
o Includes size protection
- Prevents users using extremely small or large size (must be between 90px and 600px)

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 - 10th August 2007
o Initial release
1.1 - 14th November 2007
o Switched thumbshot provider to Artviper
o Added support for English_utf8
o Added support for English_British/English_British-utf8
o Alteration to installer
o Added SIZE support (with Size protection)
o Made to work on SMF 2.0 beta 1
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: