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 down Emotion
:D biggrin.gif "big grin"
:-D biggrin.gif "big grin"
:confused: confused.gif "confused"
8-) cool.gif "cool!"
:cool: cool.gif "cool!"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:eek: eek.gif "eek!"
:( frown.gif "frown"
:-( frown.gif "frown"
:-I indifferent.gif "indifferent"
:love: love.gif "in love"
:mad: mad.gif "mad!"
:no: no.gif "no"
:o redface.gif "embarrassment"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:scull: scull.gif "scull"
:-X sealed.gif "sealed lips"
:-) smile.gif "smile"
:) smile.gif "smile"
:ok: thumbs.gif "thumbs up"
:p tongue.gif "stick out tongue"
:-p tongue.gif "stick out tongue"
;) wink.gif "wink"
;-) wink.gif "wink"
:yes: yes.gif "yes"

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" title="$tooltip" border="0" />
      * #Set FORMAT = <img src="$url" alt="$emoticon" title="$emoticon" border="0" />

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 stick out tongue roll eyes (sarcastic) mad! eek! confused hehe! hehe! (friendly) sealed lips thumbs up yes no in love scull

Plugin Info

Plugin Author: TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny
Plugin Version: 21 Aug 2004 (v1.003)
Change History:  
21 Aug 2004: Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "scull"
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
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
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

-- TWiki:Main.AndreaSterbini - 28 Dec 2000
-- TWiki:Main.PeterThoeny - 21 Aug 2004
to top


You are here: TWiki > SmiliesPlugin

r1.3 - 21 Aug 2004 - 21:46 - PeterThoeny to top

TWiki


  • My links
  • Show me topics of interest

TWiki

Welcome


TWiki Web TWiki Web Home Changes Topics Index Search


TWiki Webs Atari Blog Main OneSpaceModeling? Sandbox TWiki TWiki Webs Atari Blog Main OneSpaceModeling? Sandbox TWiki

Jump:

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? Send feedback