Advertisement:
2by2host

Navigation

SMF Mod Site

This is an outdated mod that is no longer supported by its author. Use at your own risk
Mod Name:
Snapshot BBCode (Website Thumbnail Previews)
Created By:
karlbenson
Type:
Archived
First Created:
August 10, 2007, 10:02:52 AM
Last Modified:
January 19, 2008, 12:09:36 AM
Latest Version:
1.1
Compatible With:
1.1.3, 1.1.4
Total Downloads:
2172

Download this mod

Snapshot BBCode.zip (3kB) [1460]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:

This mod has been taken over by BurtyBob.
The new link for which is http://custom.simplemachines.org/mods/index.php?mod=1232


SNAPSHOT BBCODE (SHOW WEBSITE THUMBNAIL PREVIEW) v1.1
By Karl Benson


Introduction
A modification for the use of [snapshot][/snapshot] bbcode to enable the showing of previewed links.
Thumbnails provided and taken by http://www.artviper.net/
(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
Code: [Select]
'flash' => array('code' => 'flash',ADD BEFORE
Code: [Select]
'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
Code: [Select]
?>ADD BEFORE
Code: [Select]
$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