This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SimpleSmileyReplace

Description

SimpleSmileyReplace is a plugin that checks for the existence of a images/smilies/ folder in a theme. If that folder exists, WordPress uses the smiley files in that folder instead. The plugin assumes that the smilies have the usual filenames (icon_rolleyes.gif, etc).

It has no extra requirements and has been tested with modified versions of the twentyten through twentyfourteen themes.

Development on this plugin has halted. Other developers should feel free to use the Apache-licensed code for their own projects.

http://brokenlibrarian.org/tinyplugins/
brokenlibrarian@gmail.com
09/28/14

License

Copyright 2014 Christian Wagner

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Installation

  1. Create a folder named /wp-content/themes/[ThemeName]/images/smilies/ and put a complete set of custom smilies in it, with the standard WordPress filenames.
  2. Upload the SimpleSmileyReplace folder to your /wp-content/plugins/ folder and activate it.
  3. No further configuration is required. The smiley codes and filenames are unaltered, only the location of the files is changed.

FAQ

What are the standard WordPress filenames?

An up-to-date list of smilies and filenames can be found in /wp-includes/functions.php by searching for the $wpsmiliestrans variable. As of WordPress version 3.5, this is the list (cut-and-pasted):

        ':mrgreen:' => 'icon_mrgreen.gif',
        ':neutral:' => 'icon_neutral.gif',
        ':twisted:' => 'icon_twisted.gif',
          ':arrow:' => 'icon_arrow.gif',
          ':shock:' => 'icon_eek.gif',
          ':smile:' => 'icon_smile.gif',
            ':???:' => 'icon_confused.gif',
           ':cool:' => 'icon_cool.gif',
           ':evil:' => 'icon_evil.gif',
           ':grin:' => 'icon_biggrin.gif',
           ':idea:' => 'icon_idea.gif',
           ':oops:' => 'icon_redface.gif',
           ':razz:' => 'icon_razz.gif',
           ':roll:' => 'icon_rolleyes.gif',
           ':wink:' => 'icon_wink.gif',
            ':cry:' => 'icon_cry.gif',
            ':eek:' => 'icon_surprised.gif',
            ':lol:' => 'icon_lol.gif',
            ':mad:' => 'icon_mad.gif',
            ':sad:' => 'icon_sad.gif',
              '8-)' => 'icon_cool.gif',
              '8-O' => 'icon_eek.gif',
              ':-(' => 'icon_sad.gif',
              ':-)' => 'icon_smile.gif',
              ':-?' => 'icon_confused.gif',
              ':-D' => 'icon_biggrin.gif',
              ':-P' => 'icon_razz.gif',
              ':-o' => 'icon_surprised.gif',
              ':-x' => 'icon_mad.gif',
              ':-|' => 'icon_neutral.gif',
              ';-)' => 'icon_wink.gif',
               '8O' => 'icon_eek.gif',
               ':(' => 'icon_sad.gif',
               ':)' => 'icon_smile.gif',
               ':?' => 'icon_confused.gif',
               ':D' => 'icon_biggrin.gif',
               ':P' => 'icon_razz.gif',
               ':o' => 'icon_surprised.gif',
               ':x' => 'icon_mad.gif',
               ':|' => 'icon_neutral.gif',
               ';)' => 'icon_wink.gif',
              ':!:' => 'icon_exclaim.gif',
              ':?:' => 'icon_question.gif',

Contributors & Developers

“SimpleSmileyReplace” is open source software. The following people have contributed to this plugin.

Contributors

Translate “SimpleSmileyReplace” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Final version with WordPress v4.0 testing

0.5.1

  • update for WordPress 3.8 compatibility testing

0.5

  • update for WordPress 3.5 compatibility testing

0.4

  • readme and source code cleanup, no other changes

0.3

  • initial release