PandaPassport.com – China Blog

Icon

Blogging from Behind the Great Wall

Hotels in Dalian China

WordPress Plugin: Animated Chinese Emoticons for Comments

Anyone who’s familiar with Chinese websites – especially Chinese chat forums (BBSs) – will know all about those crazy little animated emoticons. Yeah sure, you’ve seen emoticons in your MSN messenger before, but Chinese emoticons are especially messed up.

So messed up in fact, that I decided I just had to install this plugin:

CoolCode.cn Emoticons Plugin from Xenium and Andot.

Download Plugin directly (Zip)

Note: Normally I wouldn’t link directly to a file on someone else’s server, but as it’s hosted on a Chinese webpage, it might be impossible to find otherwise. Hope that’s ok guys.

Here’s a preview of the emoticons listed:
Comments Emoticons wordpress plugin

Installation:

  • Upload the Emoticons folder to your plugins directory.
  • Find this code:

  • And just above that, insert this:
    if (class_exists('emotions')) {
    emotions::bar();
    }
    ?>
  • Go to plugin management page in Wordpress, and click Activate Plugin

Issues:

For all the emoticons to display properly (all 60+ of them!) you need a fairly wide text column. Or else it might push your sidebar to the bottom, as it did with mine.

One workaround for narrow text areas:

I just chose the best 15 emoticons, and deleted the rest from the images folder included in the emoticon plugin directory. Maybe 60 is a bit much anyway… In any case, they now display sans probleme on just above my comments box (see below).

Good stuff.

UPDATED WORKAROUND: Reader Evitc provided this solution of modifying the CSS in the comments.

I’ve been running this one on my much neglected Chinese blog for months now, but I hadn’t bothered to install it over here.

I think it looks good. And they’re kinda fun too. Click the Comments link to test it out.

Incidentally, my WordPress theme, Hoofei, was created by a Chinese developer as well. Good to see China representin’ (far) East side when it comes to WordPress!

Has anyone else spent any time venturing into the wacky world of Chinese web development?

Category: wordpress

Tagged:

23 Responses

  1. fiLi says:

    Nice! :) :em55: :em02:

  2. Xuexiansheng says:

    :em32: these will make me want to comment more often! :em47:

  3. evitc says:

    Hehe, these emoticons are from a Chinese IM software named “POPO”. I like them. :em47:

  4. yoichi says:

    Hi,
    Where do I find the code at?
    Thanks

  5. Jenny says:

    I have the plugin off the chinese site…it took forever to load. But those are massive. I wanna use em anyway!! :)

  6. Jason says:

    These are some great emoticons! Prepare for the oncoming rush of downloads :em32:

  7. admin says:

    Yeah, they are pretty cool for sure. I wish my text area was wider so I could use them all. :em20:

  8. yoichi says:

    Apologies :em11:
    That must have been one of the dumbest question you can encounter.
    I was simply drunk :em38:
    Thanks for this great plugin. It can really make one smile :em02:

  9. yoichi says:

    Oh, there is one not so silly question though.
    Where can I designate the number of emoticons I want to show per line?
    Thanks

  10. evitc says:

    Hi admin,
    I think you should hack the default CSS of this plugin. Just change the value of width to “100%” then all of the emoticions will be displayed in several lines instead of only one line.

  11. admin says:

    Again, personally not sure how to change how many can be displayed per line.

    I simply removed some images from the images folder, so that only my favorite 15 emoticons displayed.

    If anyone does find a neat hack for the CSS, please share!
    :em02: :em02: :em02:

  12. yoichi says:

    I believe evitic’s solution is the easiest way :em47:

  13. evitc says:

    Hi admin,
    Here is the hack. Download this css then replace the default css with it. By the way, I made another GTalk Edition. It is here, http://hellobmw.com/archives/wp-plugin-mod-emotions-gtalk-edition.html

  14. myo says:

    :em62: hey nice plugin.. i already set it up at my blog. btw you can get rid of that Thum image in your emotion list by deleting Thumb.db in your emotion file at server. :em02: :em02: I love this plugin :em20:

  15. admin says:

    Thanks for the tip Myo! Just got rid of it just now.

    I was kinda stumped by that one!

  16. Maggie says:

    Great plugin! The smileys look too cute on my blog now. :) Thanks for posting!

  17. shunichirou says:

    thanks! this is awesome! :D

  18. Raiza says:

    hey…thanks for sharing this with us…as a thank you gift, I’ll share with you the little hack process I did to make the width smaller…

    I edited emotions.css a little bit…

    This is the original one…

    ?#emotion {
    width: 6000px;
    margin-bottom: 10px;
    text-align: center;
    }

    I replaced it with this one…

    ?#emotion {
    width: 550px;
    margin-bottom: 10px;
    text-align: center;
    }

    Basically, I just changed the width value from 600 to 550 to the width of my blog area…however, you guys can modify the value a bit more, if your blog area width is more smaller…maybe you could try changing the value to 400…

    Thanks!

  19. jessa says:

    where do i find the code?

  20. jessa says:

    sorry, wrong question…
    can i use these smilies for my blog post?

  21. Gde Narayana says:

    hey, it’s nice :)

    i’m gonna try it ;)

  22. Liz says:

    I’m so confused. I can’t figure out how to get this plugin to work. I see some commenters have used them as comment replies, but I don’t see any smilies to click on. ?

  23. liz says:

    :em62:

Leave a Reply

RSS My China Tech blog on Inventorspot.com

  • What a PSP Phone may look like March 13, 2010
    Some interesting images are emerging from a Chinese website M8cool.com. Apparently patience is not one of the virtues of the shanzhai (loosely meaning, imitation) industry, as they love to kick out early prototypes and images of not-yet-released gadgets. The latest one of these is the PSP Phone.  […]
    Rick Martin
  • Human-Powered Washing Machine March 13, 2010
    What do you get when you cross a treadmill with a washing machine? Give up? Something that looks a little like this, actually. A kid by the name of Zhang Jiayu from the northeastern Liaoning province thought that conventional washing machines wasted far too much electricity. He then had the bright idea of creating one that was powered by a man running on top […]
    Rick Martin
  • China Says Goodbye to Google With Cartoons March 13, 2010
    Since Google announced that they would no longer continue to censor in China, pretty much everybody has assumed that they won't be able to remain in the country. That may turn out to be the case. I'm not going to speculate too much on the issue, because there's way more than enough being said already. In the midst of all that headache, I do wa […]
    Rick Martin
  • China ice sculpture tragically made entirely from beer March 13, 2010
    The city of Harbin in northern China is widely known for it's freeze-your-snowballs-off temperatures and it's annual ice festival. Domestically, the city is also known for it's beer. Sadly, some wiseguy decided to combine the two to create a ginormous ice sculpture with nothing more than copious amounts of frozen beer. Such a waste... […]
    Rick Martin
  • China has system to detect vulgar Karaoke March 13, 2010
    Chinahush has a great write-up about a controversial new karaoke content management system being rolled out in Zhengzhou. The 'Black Box' (as it has been nicknamed) will flash red lights and alert the police when someone selects a vulgar song. Naturally, many netizens in China are voicing questions about such a system: […]
    Rick Martin
  • China's xpPhone to be upgraded to Win7Phone? March 13, 2010
    The Chinese xpPhone was itself thought to be a rumor until engadget China reported on it last month. Sadly, it looks like this monstrosity does indeed exist. And what's more, it looks like it might soon be upgrading to Windows 7. Nevermind that the real Windows 7 Mobile won't be coming out until late next year. As usual, China has us covered with t […]
    Rick Martin
  • Best Chinese Knockoff Ever? Sony VAIC TT March 13, 2010
    There's something ingenius about taking an 'O' and making it a 'C.'  It's so subtle. So clever. It boggles the mind with possibilities: Orec cookies anyone? Maybe a little Cvaltine to wash it down?  Ok, maybe not. But that's generally the idea behind this 'Viac' 'Vaic,' a shanzhai version of the tiny Son […]
    Rick Martin
  • More Chinese Farmer Innovations: Baby Buddha Pears! March 13, 2010
    If you're a regular reader of this blog, you're likely familiar with the unusual phenomenon of inventive Chinese farmers. For some reason, these rural inventors are grabbing more headlines than most Chinese tech companies. Well, here's another distinguished farmer to follow in that tradition. This particular pear producer isn't going to l […]
    Rick Martin
  • Replica Tian'anmen Gate Crafted from Human Hair March 13, 2010
    What's hairy, forbidden, and red all over?  Why, it's this replica Tian'anmen Gate built entirely out of leftover hair clippings! (Sorry, I hope I didn't disappoint any Anne of Green Gables fanboys out there.) […]
    Rick Martin
  • 'Phoney' Marriage Proposal in China March 13, 2010
    The latest viral video to come out of China features a young man's unique marriage proposal, created by making a sort of LED screen out of hundreds of cell phones. The display was then programmed to display a surprise romantic message to the unsuspecting girlfriend. Check out the video and see for yourself: […]
    Rick Martin



Ads: 仙台 専門学校 ベビーインテリア 美容整形 トランクルーム ケアベア ピアノ買取 かつら 電話占い 電子タバコ 杉並区 不動産 アメリカ 留学 翻訳会社 電話占い 外断熱 恵比寿 ネイルサロン