Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1232)
SNAPSHOT BBCODE (SHOW WEBSITE THUMBNAIL PREVIEW) v1.1
Orignally By Karl Benson
Now Developed By Ben Burt
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=895) | Comment On This Mod (http://www.simplemachines.org/community/index.php?topic=188448.0)
IntroductionA 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
(http://thumbnailspro.com/thumb.php?url=simplemachines.org) (http://www.youposted.com) (http://thumbnailspro.com/thumb.php?url=youposted.com) (http://www.simplemachines.org)
InstallationSimply 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 EditA 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';
Languageso Supports by default
- English/English-utf8
- English_British/English_British-utf8
Featureso 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)
SupportPlease use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)
Changelog1.0 - 10th August 2007o Initial release
1.1 - 14th November 2007o 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
NOTE: ArtViper now seems to be a register for service therefore I am looking for a replacement to artviper.
I have now replaced ArtViper with thumbnailspro.
NOTE: This MOD has one draw back and that is that because it require artviper to be running and running well there may be times that the images (Snapshots) just say "getting preview" or something similar this is due to artviper NOT the MOD, so please do not post about that.
There should be a way to get it working with the Dilber MC theme.
You will need to install it manually to the files that Dilber uses (because they override the defualt theme ones).
Good luck.
is there anything further you need to do for this mod? All i am getting is the invalid registration images. I even went to artviper and registered for it.
Everything with the mod installation seems to work fine, except for the images showing up. Any help you can offer would be greatly appreciated.
I also dont understand what you mean by this:
Quote from: burtybob(Note until a screenshot of the link has been taken, you will get a Soon... image)
Thank you
Rick
Quote from: Doc.Blade on November 03, 2008, 10:16:37 PM
is there anything further you need to do for this mod? All i am getting is the invalid registration images. I even went to artviper and registered for it.
Everything with the mod installation seems to work fine, except for the images showing up. Any help you can offer would be greatly appreciated.
I also dont understand what you mean by this:
Quote from: burtybob(Note until a screenshot of the link has been taken, you will get a Soon... image)
Thank you
Rick
No there is not as far as i now know artviper are causing a problem therefore i will be looki9ng for a replacment site.
The
Quote from: burtybob(Note until a screenshot of the link has been taken, you will get a Soon... image)
means that untill artviper (at the moment) has taken a screenshot of the link in the post the image being shown is "Soon..." as opposed to the actuall screenshot.