Difference: SmiliesPlugin (1 vs. 6)

Revision 62005-03-27 - TWikiContributor

 

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 "stick out tongue"
:-p tongue.gif "stick out tongue"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:-X sealed.gif "sealed lips"
:ok: thumbs.gif "thumbs up"
:yes: yes.gif "yes"
:no: no.gif "no"
:love: love.gif "in love"
:skull: skull.gif "skull"

SmiliesPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %INTERWIKIPLUGIN_SHORTDESCRIPTION%

Changed:
<
<
  • Set SHORTDESCRIPTION = Render smilies as icons, like  :-) for smile or  :cool: for cool!
>
>
  • Set SHORTDESCRIPTION = Render smilies as icons, like smile for  :-) or eek! for  :eek:
 
  • The name of the topic containig your Smilies. Default: TWiki.SmiliesPlugin
  • #Set TOPIC = 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

This plugin is installed by default with a TWiki release. You should not need to install the plugin unless it is for an upgrade.
  • 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
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • 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 skull

Plugin Info

Plugin Author: TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny
Plugin Version: 1.004
Change History:
<-- specify latest version first -->
 
16 Mar 2005: Fixed typo "scull"
5 Mar 2005 1.004 Crawford Currie prepared for Dakar
21 Nov 2004: Added benchmarks (no code changes)
21 Aug 2004: Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "skull"
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
TWiki:Plugins/Benchmark: GoodStyle 96%, FormattedSearch 98%, SmiliesPlugin 96%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginAppraisal

Related Topics: TWikiPreferences, TWikiPlugins

META FILEATTACHMENT attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002192" name="devil.gif" path="C:\Data\Temp\devil.gif" size="139" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002138" name="devilwink.gif" path="C:\Data\Temp\devilwink.gif" size="141" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124420" name="sealed.gif" path="C:\Data\Temp\1\sealed.gif" size="142" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124440" name="thumbs.gif" path="C:\Data\Temp\1\thumbs.gif" size="166" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124449" name="yes.gif" path="C:\Data\Temp\1\yes.gif" size="262" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124458" name="no.gif" path="C:\Data\Temp\1\no.gif" size="468" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124471" name="love.gif" path="C:\Data\Temp\1\love.gif" size="379" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124482" name="skull.gif" path="C:\Data\Temp\1\skull.gif" size="1006" user="TWikiContributor" version="1.1"

Revision 52005-03-27 - TWikiContributor

 

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.

Changed:
<
<
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 "stick out tongue"
:-p tongue.gif "stick out tongue"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:-X sealed.gif "sealed lips"
:ok: thumbs.gif "thumbs up"
:yes: yes.gif "yes"
:no: no.gif "no"
:love: love.gif "in love"
:skull: skull.gif "skull"
>
>
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 "stick out tongue"
:-p tongue.gif "stick out tongue"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:-X sealed.gif "sealed lips"
:ok: thumbs.gif "thumbs up"
:yes: yes.gif "yes"
:no: no.gif "no"
:love: love.gif "in love"
:skull: skull.gif "skull"
 

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!

  • The name of the topic containig your Smilies. Default: TWiki.SmiliesPlugin
  • #Set TOPIC = 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

This plugin is installed by default with a TWiki release. You should not need to install the plugin unless it is for an upgrade.
  • Download the ZIP file from the Plugin web (see below)
  • Unzip SmiliesPlugin.zip in your twiki installation directory. Content:
Changed:
<
<
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
>
>
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
 
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • 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 stick out tongue roll eyes (sarcastic) mad! eek! confused hehe! hehe! (friendly) sealed lips thumbs up yes no in love skull
>
>
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 skull
 

Plugin Info

Plugin Author: TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny
Plugin Version: 1.004
Change History:
<-- specify latest version first -->
 
16 Mar 2005: Fixed typo "scull"
Changed:
<
<
5 Mar 2005 1.004 Crawford Currie prepared for Dakar
>
>
5 Mar 2005 1.004 Crawford Currie prepared for Dakar
 
21 Nov 2004: Added benchmarks (no code changes)
21 Aug 2004: Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "skull"
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
TWiki:Plugins/Benchmark: GoodStyle 96%, FormattedSearch 98%, SmiliesPlugin 96%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginAppraisal

Related Topics: TWikiPreferences, TWikiPlugins

META FILEATTACHMENT attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002192" name="devil.gif" path="C:\Data\Temp\devil.gif" size="139" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002138" name="devilwink.gif" path="C:\Data\Temp\devilwink.gif" size="141" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124420" name="sealed.gif" path="C:\Data\Temp\1\sealed.gif" size="142" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124440" name="thumbs.gif" path="C:\Data\Temp\1\thumbs.gif" size="166" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124449" name="yes.gif" path="C:\Data\Temp\1\yes.gif" size="262" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124458" name="no.gif" path="C:\Data\Temp\1\no.gif" size="468" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124471" name="love.gif" path="C:\Data\Temp\1\love.gif" size="379" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124482" name="skull.gif" path="C:\Data\Temp\1\skull.gif" size="1006" user="TWikiContributor" version="1.1"

Revision 42005-03-27 - TWikiContributor

Added:
>
>
 

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.

Changed:
<
<
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 "stick out tongue"
:-p tongue.gif "stick out tongue"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:-X sealed.gif "sealed lips"
:ok: thumbs.gif "thumbs up"
:yes: yes.gif "yes"
:no: no.gif "no"
:love: love.gif "in love"
:scull: scull.gif "scull"
>
>
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 "stick out tongue"
:-p tongue.gif "stick out tongue"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:-X sealed.gif "sealed lips"
:ok: thumbs.gif "thumbs up"
:yes: yes.gif "yes"
:no: no.gif "no"
:love: love.gif "in love"
:skull: skull.gif "skull"
 
Deleted:
<
<
 

SmiliesPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %INTERWIKIPLUGIN_SHORTDESCRIPTION%

Changed:
<
<
    • Set SHORTDESCRIPTION = Render smilies as icons, like  :-) for smile or  :cool: for cool!
>
>
  • Set SHORTDESCRIPTION = Render smilies as icons, like  :-) for smile or  :cool: for cool!
 
Deleted:
<
<
  • 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
Changed:
<
<
>
>
 
  • 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" />
Changed:
<
<
    • #Set FORMAT = $emoticon
>
>
  • #Set FORMAT = $emoticon
 
Deleted:
<
<
 

Plugin Installation Instructions

Changed:
<
<
>
>
This plugin is installed by default with a TWiki release. You should not need to install the plugin unless it is for an upgrade.
 
  • 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
Added:
>
>
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
 
  • Test if the plugin is correctly installed:
Changed:
<
<
    • 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:
>
>
  • 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 skull
 

Plugin Info

Plugin Author: TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny
Changed:
<
<
Plugin Version: 21 Aug 2004 (v1.003)
>
>
Plugin Version: 1.004
 
Change History:
<-- specify latest version first -->
 
Changed:
<
<
21 Aug 2004: Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "scull"
>
>
16 Mar 2005: Fixed typo "scull"
Added:
>
>
5 Mar 2005 1.004 Crawford Currie prepared for Dakar
21 Nov 2004: Added benchmarks (no code changes)
21 Aug 2004: Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "skull"
 
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
Added:
>
>
TWiki:Plugins/Benchmark: GoodStyle 96%, FormattedSearch 98%, SmiliesPlugin 96%
 
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginDev
Added:
>
>
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginAppraisal
  Related Topics: TWikiPreferences, TWikiPlugins
Deleted:
<
<
-- TWiki:Main.AndreaSterbini - 28 Dec 2000
-- TWiki:Main.PeterThoeny - 21 Aug 2004
 
Changed:
<
<
META FILEATTACHMENT attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002192" name="devil.gif" path="C:\Data\Temp\devil.gif" size="139" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002138" name="devilwink.gif" path="C:\Data\Temp\devilwink.gif" size="141" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124420" name="sealed.gif" path="C:\Data\Temp\1\sealed.gif" size="142" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124440" name="thumbs.gif" path="C:\Data\Temp\1\thumbs.gif" size="166" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124449" name="yes.gif" path="C:\Data\Temp\1\yes.gif" size="262" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124458" name="no.gif" path="C:\Data\Temp\1\no.gif" size="468" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124471" name="love.gif" path="C:\Data\Temp\1\love.gif" size="379" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124482" name="scull.gif" path="C:\Data\Temp\1\scull.gif" size="1006" user="PeterThoeny" version="1.1"
>
>

META FILEATTACHMENT attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002192" name="devil.gif" path="C:\Data\Temp\devil.gif" size="139" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002138" name="devilwink.gif" path="C:\Data\Temp\devilwink.gif" size="141" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124420" name="sealed.gif" path="C:\Data\Temp\1\sealed.gif" size="142" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124440" name="thumbs.gif" path="C:\Data\Temp\1\thumbs.gif" size="166" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124449" name="yes.gif" path="C:\Data\Temp\1\yes.gif" size="262" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124458" name="no.gif" path="C:\Data\Temp\1\no.gif" size="468" user="TWikiContributor" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1093124471" name="love.gif" path="C:\Data\Temp\1\love.gif" size="379" user="TWikiContributor" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124482" name="skull.gif" path="C:\Data\Temp\1\skull.gif" size="1006" user="TWikiContributor" version="1.1"
 

Revision 32004-08-21 - PeterThoeny?

Changed:
<
<

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"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"

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 stick out tongue roll eyes (sarcastic) mad! eek! confused hehe! hehe! (friendly)

Plugin Info

Plugin Author: TWiki:Main.AndreaSterbini
Plugin Version: 16 Feb 2004 (v1.002)
Change History:
<-- specify latest version first -->
 
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 - 16 Feb 2004

>
>

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 "stick out tongue"
:-p tongue.gif "stick out tongue"
:rolleyes: rolleyes.gif "roll eyes (sarcastic)"
:mad: mad.gif "mad!"
:eek: eek.gif "eek!"
:confused: confused.gif "confused"
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
:-X sealed.gif "sealed lips"
:ok: thumbs.gif "thumbs up"
:yes: yes.gif "yes"
:no: no.gif "no"
:love: love.gif "in love"
:scull: scull.gif "scull"

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:
<-- specify latest version first -->
 
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
Added:
>
>
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

 
META FILEATTACHMENT attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002192" name="devil.gif" path="C:\Data\Temp\devil.gif" size="139" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002138" name="devilwink.gif" path="C:\Data\Temp\devilwink.gif" size="141" user="PeterThoeny" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1093124420" name="sealed.gif" path="C:\Data\Temp\1\sealed.gif" size="142" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124440" name="thumbs.gif" path="C:\Data\Temp\1\thumbs.gif" size="166" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124449" name="yes.gif" path="C:\Data\Temp\1\yes.gif" size="262" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124458" name="no.gif" path="C:\Data\Temp\1\no.gif" size="468" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124471" name="love.gif" path="C:\Data\Temp\1\love.gif" size="379" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1093124482" name="scull.gif" path="C:\Data\Temp\1\scull.gif" size="1006" user="PeterThoeny" version="1.1"
 

Revision 22004-02-17 - PeterThoeny?

Changed:
<
<

The Smilies Plugin

>
>

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"
Added:
>
>
 >:-) devil.gif "hehe!"
:devil: devil.gif "hehe!"
 >;-) devilwink.gif "hehe! (friendly)"
:devilish: devilwink.gif "hehe! (friendly)"
 

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:
Changed:
<
<
smile smile cool! frown embarrassment big grin wink stick out tongue roll eyes (sarcastic) mad! eek! confused
>
>
smile smile cool! frown embarrassment big grin wink 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
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

Changed:
<
<
-- AndreaSterbini? - 28 Dec 2000
-- PeterThoeny - 26 Feb 2003
>
>
-- TWiki:Main.AndreaSterbini - 28 Dec 2000
-- TWiki:Main.PeterThoeny - 16 Feb 2004
 
META FILEATTACHMENT attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="h" comment="" date="1077002192" name="devil.gif" path="C:\Data\Temp\devil.gif" size="139" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1077002138" name="devilwink.gif" path="C:\Data\Temp\devilwink.gif" size="141" user="PeterThoeny" version="1.1"
 

Revision 12003-12-12 - PeterThoeny?

 

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:
    <-- -->
    Sorted ascending
    pub/TWiki/SmiliesPlugin/*.gif Plugin icon files
    lib/TWiki/Plugins/SmiliesPlugin.pm Plugin Perl module
    data/TWiki/SmiliesPlugin.txt Plugin topic
    data/TWiki/SmiliesPlugin.txt,v Plugin topic repository
  • 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

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 attr="h" comment="" date="1071216488" name="biggrin.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\biggrin.gif" size="152" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216502" name="confused.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\confused.gif" size="110" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216522" name="cool.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\cool.gif" size="124" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216532" name="eek.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\eek.gif" size="1264" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216543" name="frown.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\frown.gif" size="94" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216555" name="indifferent.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\indifferent.gif" size="132" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216566" name="mad.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\mad.gif" size="154" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216576" name="redface.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\redface.gif" size="136" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216591" name="rolleyes.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\rolleyes.gif" size="1784" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216609" name="smile.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\smile.gif" size="93" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216632" name="tongue.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\tongue.gif" size="338" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="" date="1071216641" name="wink.gif" path="C:\Data\MyTWiki\Plugins\SmiliesPlugin\pub\TWiki\SmiliesPlugin\wink.gif" size="135" user="PeterThoeny" version="1.1"
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.SmiliesPlugin