Huddled Masses
You can do more than breathe for free...
Browse: Home / Smiling Masses

Smiling Masses

By Joel 'Jaykul' Bennett on 01-Feb-2007

Well, I finally got around to putting my “smilies” hack in a plugin … and then I found out that not only did Matt Read do it first, he did it with more panache! Matt’s more-smilies plugin has selectable sets of emoticons and a toolbar for the rich edit box and even for your comment box.

Personally, I don’t want all the toolbars or selectability. I’ve been using these plugins on my website for as long as I’ve had one (lets not get into specifics here), and I don’t have any intention of switching. That said, it occurs to me that some people who might have been interested in these already have more-smilies, or would like to try out being able to switch sets as the mood suits them (there’s already a “Santa” set for Christmas time), so I’ve put this together in a multi-option package.

  1. If you download SmilingMasses and unpack it to a folder inside the more-smilies plugin, it will function as a more-smilies package.
  1. If you unpack it to it’s own folder inside /wp-content/plugins/ it will function as a standalone plugin which merely replaces the default WordPress smilies with a bunch of Nomicon inspired ones (have a look at the included package-options.php for an editable list of what text you can use to get smilies — and remember that double backslashes \\ are really single).
P.S.

I had to update this to work in WordPress 2.1 because something changed in the regular expression replacement for the smilies, but I feel obliged to point out that I had to do a tweak to the code WordPress was using (it’s all in my plugin) because the WordPress smilies required whitespace around the emoticons, meaning you couldn’t put two of them right next to each other, or right before punctuation, without padding spaces all around the place [ :-/ ][ 8-O ]!

Similar Posts:

    None Found

| Tagged SmilingMasses

« Previous Next »

Lijit Search

Tags

.Net .Net 2008 Scripting Games Automation Bugs Design Development Funny Gadgets GeoShell GUI Huddled Masses Internet licensing Microsoft Modules My Software News Personal PInvoke Pipeline Politics PoshCode PoshConsole PowerBoots PowerShell PowerShell Functions PowerTips Rants Recommender Repository Scripting ShowUI Software Solutions Textile Tips User Group UserInterface WalkThrough WebHosting Windows 7 WordPress WPF Xml

About Huddled Masses

This is web site is dedicated to the musings of Joel Bennett (aka Jaykul) about technology, software, software development, the web, and the world.

Any resemblance of the views expressed and the views of my employer, my terminal, or the view out my window are purely coincidental. The resemblance between them and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader.

P.S.: I occasionally link to things I think are great. When I do, I occasionally find a "referral code" so I can make a little cash. I promise that I don't link to anything just because of that cash (I wouldn't cross the street for the amount of cash those links bring in, never mind write a whole blog post) ... but I do not promise that things I link to will stay great as time passes, nor that you will agree with me about their greatness!

Archives

  • April 2012
  • February 2012
  • January 2012
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2011
  • January 2011

Copyright © 2012 Joel Bennett.

Powered by WordPress and Hybrid.