| | The Smilies Plugin :-)
<--
Contributions to this TWiki plugin are appreciated. Please update the plugin page at
http://twiki.org/cgi-bin/view/Plugins/SmiliesPlugin or provide feedback at
http://twiki.org/cgi-bin/view/Plugins/SmiliesPluginDev .
If you are a TWiki contributor please update the plugin in the SVN repository.
-->
Render smilies as icons, like :-) as or :eek: as
Introduction
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.
Smilies Table
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" |
| :) |
|
"smile" |
| 8-) |
|
"cool!" |
| :cool: |
|
"cool!" |
| :-I |
|
"indifferent" |
| :( |
|
"frown" |
| :-( |
|
"frown" |
| :o |
|
"embarrassment" |
| :D |
|
"big grin" |
| :-D |
|
"big grin" |
| ;) |
|
"wink" |
| ;-) |
|
"wink" |
| :p |
|
"stick out tongue" |
| :-p |
|
"stick out tongue" |
| :rolleyes: |
|
"roll eyes (sarcastic)" |
| :mad: |
|
"mad!" |
| :eek: |
|
"eek!" |
| :confused: |
|
"confused" |
| >:-) |
|
"hehe!" |
| :devil: |
|
"hehe!" |
| >;-) |
|
"hehe! (friendly)" |
| :devilish: |
|
"hehe! (friendly)" |
| :-X |
|
"sealed lips" |
| :ok: |
|
"thumbs up" |
| :yes: |
|
"yes" |
| :no: |
|
"no" |
| :love: |
|
"I love it!" |
| :skull: |
|
"dead!" |
| :red: |
|
"red" |
| :yellow: |
|
"yellow" |
| :green: |
|
"green" |
| :blue: |
|
"blue" |
SmiliesPlugin Global Settings |
|
> > | <--/twistyPlugin twikiMakeVisibleInline--> |
| | Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, for example, %INTERWIKIPLUGIN_SHORTDESCRIPTION%
|
|
< < |
-
- Set SHORTDESCRIPTION = Render smilies as icons, like
:-) for or :eek: for
|
> > |
-
- Set SHORTDESCRIPTION = Render smilies as icons, like
:-) as or :eek: as
|
| |
- 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="$tooltip" title="$tooltip" border="0" />
|
|
> > | <--/twistyPlugin--> |
| |
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. |
> > | This plugin is pre-installed. TWiki administrators can upgrade the plugin as needed on the TWiki server. |
|
> > | <--/twistyPlugin twikiMakeVisibleInline--> |
| |
- 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 | lib/TWiki/Plugins/SmiliesPlugin.pm | Plugin Perl module | pub/TWiki/SmiliesPlugin/*.gif | Plugin icon files |
- 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:
|
|
> > | <--/twistyPlugin--> |
| |
Plugin Info |
|
> > | |
| |
|
|
< < |
| Copyright: |
© 2001-2007 Andrea Sterbini, © 2001-2011 Peter Thoeny, © 2001-2011 TWiki:TWiki.TWikiContributor |
| Plugin Version: |
21625 (2012-12-16) |
| Change History: |
<-- specify latest version first --> |
|
> > |
%TWISTY{ |
|
> > | mode="div"
showlink="Show Change History https://barricklab.org/twiki/pub/TWiki/TWikiDocGraphics/toggleopen.gif"
hidelink="Hide Change History "
}%
| 2013-01-13: |
TWikibug:Item7091 : Use TWISTY in plugin settings section, installation instructions and change history |
|
| |
| 2011-07-09: |
TWikibug:Item6725 : Change global package variables from "use vars" to "our" |
| 2010-09-20: |
TWikibug:Item6580 : Added "red", "yellow", "green", "blue" smilies |
| 2010-05-15: |
TWikibug:Item6433 : Doc improvements; replacing TWIKIWEB with SYSTEMWEB |
| 21 Nov 2007: |
Doc improvements |
| 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 |
|
|
> > | </> <--/twistyPlugin-->
|
| |
Related Topics: TWikiPreferences, TWikiPlugins
| META FILEATTACHMENT |
attr="h" comment="" date="1071216488" name="biggrin.gif" path="biggrin.gif" size="152" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216502" name="confused.gif" path="confused.gif" size="110" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216522" name="cool.gif" path="cool.gif" size="124" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216532" name="eek.gif" path="eek.gif" size="1264" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216543" name="frown.gif" path="frown.gif" size="94" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216555" name="indifferent.gif" path="indifferent.gif" size="132" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216566" name="mad.gif" path="mad.gif" size="154" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216576" name="redface.gif" path="redface.gif" size="136" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216591" name="rolleyes.gif" path="rolleyes.gif" size="1784" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216609" name="smile.gif" path="smile.gif" size="93" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216632" name="tongue.gif" path="tongue.gif" size="338" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1071216641" name="wink.gif" path="wink.gif" size="135" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1077002192" name="devil.gif" path="devil.gif" size="139" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1077002138" name="devilwink.gif" path="devilwink.gif" size="141" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1093124420" name="sealed.gif" path="sealed.gif" size="142" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1093124440" name="thumbs.gif" path="thumbs.gif" size="166" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1093124449" name="yes.gif" path="yes.gif" size="262" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1093124458" name="no.gif" path="no.gif" size="468" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1093124471" name="love.gif" path="love.gif" size="379" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1093124482" name="skull.gif" path="skull.gif" size="1006" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1285020468" name="red.gif" path="red.gif" size="943" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1285020468" name="yellow.gif" path="yellow.gif" size="944" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1285020468" name="green.gif" path="green.gif" size="944" user="TWikiContributor" version="1" |
| META FILEATTACHMENT |
attr="h" comment="" date="1285020468" name="blue.gif" path="blue.gif" size="944" user="TWikiContributor" version="1" |
|