IntelliJ Community . SmiliesPlugin

 
SmiliesPlugin 

HOME INDEX SEARCH CHANGES GO  

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"
:cool: cool.gif "cool!"
:( frown.gif "frown"
:-( frown.gif "frown"
:o redface.gif "embarrassment"
: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: 20 Apr 2002
Change History:  
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 - 20 Apr 2002

Attachment: sort Action: Size: Date: Who: Comment:
cool.gif action 696 13 Aug 2003 - 15:10 AlexeyEfimov  
biggrin.gif action 696 13 Aug 2003 - 15:12 AlexeyEfimov  
wink.gif action 698 13 Aug 2003 - 15:13 AlexeyEfimov  
tongue.gif action 698 13 Aug 2003 - 15:15 AlexeyEfimov  
smile.gif action 699 13 Aug 2003 - 15:10 AlexeyEfimov  
rolleyes.gif action 705 13 Aug 2003 - 15:12 AlexeyEfimov  
redface.gif action 698 13 Aug 2003 - 15:21 AlexeyEfimov  
mad.gif action 699 13 Aug 2003 - 15:13 AlexeyEfimov  
frown.gif action 698 13 Aug 2003 - 15:17 AlexeyEfimov  
eek.gif action 1088 13 Aug 2003 - 15:22 AlexeyEfimov  
confused.gif action 946 13 Aug 2003 - 15:20 AlexeyEfimov  
sad.gif action 698 13 Aug 2003 - 15:16 AlexeyEfimov  

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.