Update: 2009.10.25 00:30
The latest release is version 2.8. You can find it here.
最新版本是 2.8。你可以在这里找到。
About It
Custom Smilies (previously named Custom Smileys) is a plugin for WordPress 2.0+. This plugin gives you a chance to personalize your posts and comments using smilies of your choice instead of default ones.
Custom Smilies (older than version 2.0) is written by QAD. Thanks for his great contribution.
I have upgrade it to let it been compatible with WordPress 2.5 or greater. That’s all I do, but I will perfect it in the future. So the most is written by QAD. Thanks again.
You can see the English Readme and more here ( new window) .
Download
You can get the latest version of Custom Smilies here. Get it
How to install
- Download and extract custom-smilies.zip; then, upload init.php and custom-smilies.php to the /wp-content/plugins/custom-smilies directory. Upload smilies folder to the /wp-includes/images directory..
- Activate Custom Smilies in your Admin Panel
- Put your smilies in smilies folder (wp-includes/images/smilies/)
- Change the emoticons by navigating to Manage > Smilies and complete the form
- If you want to add clickable smilies to your comment form, append these lines to your current theme’s comments.php file, just before the form begins(You don’t need do this if your theme suppor the action named comment_form since version 2.3):
<?php if ( function_exists(cs_print_smilies) ) {cs_print_smilies();} ?>
For ‘Paged Comments’ plugin’s users: Please place that code in wp-content/plugins/paged-comments/themes/your-theme-name/comments-paged.php to enable those clickable smilies.Please note that you can customize this list by going to Options > Smilies.Wanna play with the smilies yourself? A function called cs_all_smilies() has been added, which return all the smilies you’ve got in this format: Array (’Smilie’ => ‘Path to smilie’)
How to upgrade
For Custom Smilies 1.0 and 1.1 users, simply replace the file custom-smilies.php in your plugins folder with the newer one. Do NOT overwrite init.php, as it contains your smilies’ definitions.
For those who are still using Custom Smileys version 2.4 (which was released more than 1 year ago!), you can upgrade it to the lastest version by following this procedure:
- Backup your database! (better safe than sorry – i’m not responsible for any data loss caused by this plugin)
- Move all of your smilies to your smilies folder (wp-includes/images/smilies/)
- Deactivate Custom Smileys 2.4 without uninstalling it
- Download, extract, then upload Custom Smilies 1.0 to your blog
- Activate Custom Smilies 1.0 in your Admin Panel
- Delete custom-smileys.php if you wish
关于这个插件
Custom Smilies 是一个 WordPress 插件。它可以让你自由地在你的文章和评论中使用表情来代替默认的表情。
我(Crazy Loong)修改了以前的版本,使它可以工作在 WordPress 2.5 下。
人员名单
Custom Smilies 2.0 是我(Crazy Loong)更新的。2.0以前的版本是由 QAD 编写的。
安装 Custom Smilies 后,你可以把自己需要的表情添加到 WordPress 的表情文件夹里(wp-includes/images/smilies/),然后在 Manage > Smilies 里添加表情对应的字符。非常简单哦。
设置好以后,这些表情就可以在任何文章、页面和评论里使用了。例如,当你输入 :D, :), :|(你可以自己定义这些符号)时,就会在文章出现对应的表情。或者,通过在点击相应的图标来插入到文章中。
你还可以添加这些表情列表到你的评论框周围。这样,你就可以进行可视化操作了,并在评论中方便的使用表情。而且,这个列表可以根据你的需要进行调整,以满足你的要求:
下载
———- TODO ———-
Check whether init.php is writeable.
检查 init.php 是否可写。
Move the smilies folder into wp-content
将 smilies 文件夹移动到 wp-content
compliance to W3C specifications
符合 W3C 规范
@crazy loong: thank you very much.
我想问下如何把它们以弹出窗口方式显示哇?
Hi there,
Cool plugin but I have a little problem. When editing posts it all works just fine but when editing pages clicking the smilie button doesn’t work.
Ideas?
To: Ronald
Right, this is a bug. I have fix it in the latest version.
Hi there again,
thank you for 2.8Beta, Updatemessage was coming today.
Meanwhile I am using most current WP2.8.5 and again no hassle. pretty good job i think.
As I was reporting with comment #167, and Ronald with #255, this glitch is still there, sorry. I know you was requesting for a guest account, but because you never used it, i decided to remove this after a while.
Let me know if you’d need this again.
To: ruediger
Hi,
I am sorry. I think that I have forgot it.
But in 2.8beta, user can insert the smilies when post a new page. The shortcut button for comments-dashboard have not been completed. Please wait a while. :hehe:
@Crazy Loong and @ruediger
Thx for the update. I’m using WP 2.8.5. and the 2.8Beta also and it works like a charm now. Thx!!
To: D
这个功能没有加入,需要你自己完成。现在只有显示部分表情的功能。
i can’t upgrade to ver. 2.8. what to do? :[
希望可以增加表情分类的功能(好像新浪博客那样)
有些人喜欢放多点表情,但看上去不好看.因为太多排列在那里有点儿难看
To: Kaylee
What is the message you got?
something like this:
Failed to connect to FTP Server ftp.*insert host name here*.com:21
Thanks 🙂
To: Kaylee
This is your host’s problem. Please check your ftp server.
Oh.. okay then. Thanks ^^
please help me, this plugin didn,t work ini my site, this plugin if i click, the code ex :cry:, didn’t appear in comment form..
thanks before
owh i’m sorry, my site normal again
this plugin is useful
good,我就用你的了!
Hello, neat plugin.
A suggestion: put the javascript for the comment form in an external js file, so that the page loads faster.
Thanks and keep up the good work.
刚用上了你这个插件,@showfom 推荐的。谢谢! ^O^
Hello! My smilies pop-up isn’t showing up. help please?
To: Kaylee
Check your option.
it’s something like this: http://i50.tinypic.com/11ht821.jpg did i do something wrong?
Opps, cant see the picture, anyways, here’s the error I’ve gotten
http://i616.photobucket.com/albums/tt248/shimin96/Screenshot2009-12-20atPM121342.png
Both when writing post and pages
@Shi Min we have the same problem :((( I can’t blog at the moment cos there are no smilies to brighten up my post :(((
– Kaylee, haha, but i do have a stupid slow method. Go to settings> smilies and copy and past whatever smiley you want, the what to type area, if you’re as free as me. lol :dsadsad:
[edit] I mean 400+ smilies, not plugins [end of edit]
Sorry for triple posting :dsadasccc:
To Kaylee, Shi Min
If you can give me a test account, I can help you.
what do you mean? sorry
help, something wrong happened in my custom smilies. please help
To: Hanif
What is that?
这个倒是个好东西啊,呵呵
Thank you so much ^O^