11/30/2003 ↓

Clickable smilies in post page for WordPress hack

Author: Mark Ghosh Category: WordPress Hack

Thanks for visiting! We would like to serve you better. Please subscribe to our RSS feed for daily updates. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. You can also receive updates from this blog via email if you want that method of notification.

I had written this hack a long time ago, but considering the renewed interest, I wanted to make sure it was recorded. It make a small row of clickable smilies show up on top of box where you edit your post. Click on the smilie and it gets translated and put in the right place, no more guessing! Here is the link to the hack.
*Edit* The hack has been fixed for use on comments which show up on the main page (without the use of 12_comments popup)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

3 Comments | Leave a comment | Comments RSS

  1. The selection.createRange() code that inserts at the cursor position only works in IE. You should steal the insertion code from the wp-quicklinks.js to make it cross-browser compatible.

    [Reply] alex — 11/30/2003 @ 4:15 pm
  2. One language I dont care for (and truly, dont really understand) is Javascript and it gives me lots of headaches! :-) I will look into doing some stealing. There has been some problem with the document.form item as well which I should look into. Thanks Alex!

    [Reply] Mark (36 comments.) — 11/30/2003 @ 6:31 pm
  3. JavaScript is truly a pain in the arse - the JS Console in Mozilla helps a lot though.

    [Reply] alex — 11/30/2003 @ 10:40 pm

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2