From ed07654e0764e1589ddd27e6f2c2a938b9e71a6f Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Sat, 20 Apr 2002 09:31:00 +0000 Subject: none --- TWiki/SmiliesPlugin.mdwn | 107 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 99 insertions(+), 8 deletions(-) (limited to 'TWiki') diff --git a/TWiki/SmiliesPlugin.mdwn b/TWiki/SmiliesPlugin.mdwn index f5d7e971..8a7c0ee0 100644 --- a/TWiki/SmiliesPlugin.mdwn +++ b/TWiki/SmiliesPlugin.mdwn @@ -1,6 +1,8 @@ # The Smilies Plugin -This plugin replaces the **smilies** used in topics with nice small icons. Here is the list of smilies supported by this plugin. To add others attach new icons to this topic and tweak the table below. +Smilies are common in e-mail messages and bulletin board posts. They are used to convey an emotion, such as a smile :-) or a frown :-( . This plugin automatically converts certain smilies to a nice small icon. + +Here is the list of smilies supported by this plugin. To add others, attach new icons to this topic and tweak the table below. @@ -80,15 +82,104 @@ This plugin replaces the **smilies** used in topics with nice small icons. Here
-## Plugin Settings +## %TOPIC% Global Settings + +Plugin settings are stored as preferences variables. To reference a plugin setting write **%<plugin>\_<setting>%**, for example, **%INTERWIKIPLUGIN\_SHORTDESCRIPTION%** + +* One line description, shown in the %TWIKIWEB%.TextFormattingRules topic: + * Set SHORTDESCRIPTION = Render smilies as icons, like ` :-)` for :-) or ` :cool:` for :cool: + +* Set DEBUG to 1 to get debug messages in `data/debug.txt`. Default: `0` + * Set DEBUG = 0 + +* The name of the topic containig your Smilies. Default: **%WEB%.SmiliesPlugin** + * #Set TOPIC = [[TWiki/SmiliesPlugin]] + +* The way the _emoticon_ is displayed. You can use **$emoticon** (e.g. :D), **$url** (e.g. %ATTACHURL%/biggrin.gif) and **$tooltip** (e.g. `"big grin"`). Default: **<img src="$url" alt="$tooltip" />** -Plugin settings are stored as preferences variables. + * #Set FORMAT = $emoticon -* One line description, is shown in the [[TextFormattingRules]] topic: - * Set SHORTDESCRIPTION = Add smilies like :-) ( :-) ), :cool: ( :cool: ) +## Plugin Installation Instructions -If the plugin is correctly installed you will see a series of icons on next line: +* Download the ZIP file from the Plugin web (see below) +* Unzip **%TOPIC%.zip** in your twiki installation directory. Content: + + + + + + + + + + + + + + + + + + + + +
File:Description:
data/TWiki/%TOPIC%.txt Plugin topic
data/TWiki/%TOPIC%.txt,v Plugin topic repository
lib/TWiki/Plugins/%TOPIC%.pm Plugin Perl module
pub/TWiki/%TOPIC%/*.gif Plugin icon files
+* Test if the plugin is correctly installed: + * You will see a series of icons on next line:
:-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused: + +## Plugin Info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Plugin Author: %TWIKIWEB%.AndreaSterbini
Plugin Version: 20 Apr 2002
Change History:  
20 Apr 2002 Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- %TWIKIWEB%.PeterThoeny
23 Nov 2001 Added TOPIC and FORMAT setting
10 Jun 2001 Packaged into ZIP
28 Feb 2001 Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%
Feedback: http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev
-**Test:** :-) :) :cool: :( :o :D ;) :p :rolleyes: :mad: :eek: :confused: +**_Related Topics:_** %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins --- %TWIKIWEB%.AndreaSterbini - 28 Dec 2000
+-- %TWIKIWEB%.AndreaSterbini - 28 Dec 2000
-- %TWIKIWEB%.PeterThoeny - 20 Apr 2002 -- cgit v1.2.3