TWiki home TWiki.Tukro > TWiki > SmiliesPlugin (r1.1 vs. r1.2) TWiki.Tukro webs:
Main | TWiki | Know | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }
 <<O>>  Difference Topic SmiliesPlugin (r1.2 - 17 Feb 2004 - PeterThoeny)
Line: 1 to 1
Changed:
<
<
META TOPICINFO PeterThoeny date="1071217740" format="1.0" version="1.1"

The Smilies Plugin

>
>
META TOPICINFO PeterThoeny date="1077002220" format="1.0" version="1.2"

The Smilies Plugin :-)


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.

Line: 23 to 23

:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
Added:
>
>
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"

SmiliesPlugin Global Settings

Line: 56 to 60

pub/TWiki/SmiliesPlugin/*.gif Plugin icon files
  • Test if the plugin is correctly installed:
    • You will see a series of icons on next line:
Changed:
<
<
smile smile cool! frown embarrassment big grin wink razz (stick out tongue) roll eyes (sarcastic) mad! eek! confused
>
>
smile smile cool! frown embarrassment big grin wink razz (stick out tongue) roll eyes (sarcastic) mad! eek! confused hehe! hehe! (friendly)

Plugin Info

Changed:
<
<
Plugin Author: AndreaSterbini?
Plugin Version: 26 Feb 2003
>
>
Plugin Author: TWiki:Main.AndreaSterbini
Plugin Version: 16 Feb 2004 (v1.002)

Change History: <!-- specify latest version first --> 
Added:
>
>
16 Feb 2004: Added "devil" and "devilwink" smilies (by TWiki:Main.CrawfordCurrie)

26 Feb 2003: Added "indifferent" smilie
20 Oct 2002: Fixed STDERR warning for non-initialized Plugin
Changed:
<
<
20 Apr 2002: Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- PeterThoeny
>
>
20 Apr 2002: Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- TWiki:Main.PeterThoeny

23 Nov 2001: Added TOPIC and FORMAT setting
10 Jun 2001: Packaged into ZIP
28 Feb 2001: Initial version
Line: 78 to 83

Related Topics: TWikiPreferences, TWikiPlugins

Added:
>
>
-- TWiki:Main.AndreaSterbini - 28 Dec 2000
-- TWiki:Main.PeterThoeny - 16 Feb 2004

META FILEATTACHMENT biggrin.gif attr="h" comment="" date="1071216488" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"
META FILEATTACHMENT confused.gif attr="h" comment="" date="1071216502" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"
META FILEATTACHMENT cool.gif attr="h" comment="" date="1071216522" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"
Line: 92 to 97

META FILEATTACHMENT smile.gif attr="h" comment="" date="1071216609" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"
META FILEATTACHMENT tongue.gif attr="h" comment="" date="1071216632" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"
META FILEATTACHMENT wink.gif attr="h" comment="" date="1071216641" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"
Added:
>
>
META FILEATTACHMENT devil.gif attr="h" comment="" date="1077002192" path="C:\Data\Temp\devil.gif" size="139" user="PeterThoeny" version="1.1"
META FILEATTACHMENT devilwink.gif attr="h" comment="" date="1077002138" path="C:\Data\Temp\devilwink.gif" size="141" user="PeterThoeny" version="1.1"

 <<O>>  Difference Topic SmiliesPlugin (r1.1 - 12 Dec 2003 - PeterThoeny)
Line: 1 to 1
Added:
>
>
META TOPICINFO PeterThoeny date="1071217740" format="1.0" version="1.1"

The Smilies Plugin

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.

You type You see Emotion
:-) smile.gif "smile"
:) smile.gif "smile"
8-) cool.gif "cool!"
:cool: cool.gif "cool!"
:-I indifferent.gif "indifferent"
:( frown.gif "frown"
:-( frown.gif "frown"
:o redface.gif "embarrassment"
:D biggrin.gif "big grin"
:-D biggrin.gif "big grin"
;) wink.gif "wink"
;-) wink.gif "wink"
:p tongue.gif "razz (stick out tongue)"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"

SmiliesPlugin 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 TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Render smilies as icons, like  :-) for smile 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: 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" />
      * #Set FORMAT = <img src="$url" alt="$emoticon" />

Plugin Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip SmiliesPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/SmiliesPlugin.txt Plugin topic
    data/TWiki/SmiliesPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/SmiliesPlugin.pm Plugin Perl module
    pub/TWiki/SmiliesPlugin/*.gif Plugin icon files
  • Test if the plugin is correctly installed:
    • You will see a series of icons on next line:
      smile smile cool! frown embarrassment big grin wink razz (stick out tongue) roll eyes (sarcastic) mad! eek! confused

Plugin Info

Plugin Author: AndreaSterbini?
Plugin Version: 26 Feb 2003
Change History: <!-- specify latest version first --> 
26 Feb 2003: Added "indifferent" smilie
20 Oct 2002: Fixed STDERR warning for non-initialized Plugin
20 Apr 2002: Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- 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/SmiliesPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- AndreaSterbini? - 28 Dec 2000
-- PeterThoeny - 26 Feb 2003

META FILEATTACHMENT biggrin.gif attr="h" comment="" date="1071216488" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"
META FILEATTACHMENT confused.gif attr="h" comment="" date="1071216502" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"
META FILEATTACHMENT cool.gif attr="h" comment="" date="1071216522" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"
META FILEATTACHMENT eek.gif attr="h" comment="" date="1071216532" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="PeterThoeny" version="1.1"
META FILEATTACHMENT frown.gif attr="h" comment="" date="1071216543" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="PeterThoeny" version="1.1"
META FILEATTACHMENT indifferent.gif attr="h" comment="" date="1071216555" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="PeterThoeny" version="1.1"
META FILEATTACHMENT mad.gif attr="h" comment="" date="1071216566" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="PeterThoeny" version="1.1"
META FILEATTACHMENT redface.gif attr="h" comment="" date="1071216576" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="PeterThoeny" version="1.1"
META FILEATTACHMENT rolleyes.gif attr="h" comment="" date="1071216591" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="PeterThoeny" version="1.1"
META FILEATTACHMENT smile.gif attr="h" comment="" date="1071216609" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"
META FILEATTACHMENT tongue.gif attr="h" comment="" date="1071216632" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"
META FILEATTACHMENT wink.gif attr="h" comment="" date="1071216641" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"


Topic SmiliesPlugin . { View | Diffs | r1.2 | > | r1.1 | More }
Revision r1.1 - 12 Dec 2003 - 08:29 - PeterThoeny
Revision r1.2 - 17 Feb 2004 - 07:17 - PeterThoeny
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki.Tukro? Send feedback.