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 规范
Just testing… :dsadsad: :haha:
thank you so much. :dsadsad:
What does the newer version do?
路过。。。
这篇文章好,学习中、
关注博主
学习,刚用上不错。
Hmm, Im having a problem here. The smiley popup box automatically change postion on the 2nd click. Here are the screenshots.
Before: http://i616.photobucket.com/albums/tt248/shimin96/1stclick.png
After:
http://i616.photobucket.com/albums/tt248/shimin96/png.png
I still got the problem after deactivating all plugins accept custom smilies. Any fix for this? :dsadas:
请问我在哪上传表情呢?表情文件夹(wp-includes/images/smilies/)在哪啊》?谢谢回答~
To: fish
wp-includes/images/smilies/ 我想,这个路径已经说得很清楚了吧? :dsadas:
另外,最想版本支持自定义表情文件夹。
那问题解决了吗?
:ooo: this is a nice hack :haha: ^O^ :haha::haha:
我是日本人。”Custom smilies”我创造了日文版 ^O^
・ http://ningendesu.toypark.in/an/custom_smilies-ja.po
・ http://ningendesu.toypark.in/an/custom_smilies-ja.mo
有一个不算BUG的bug:
我用的是inove主题,将插件代码插入在紧挨着评论文本框上方,有两排表情,没有全部显示出来(即用more显示更多表情),这时候如果我在表情下面插入一行中文文本,再点击more的话会将该文本撑到文本框中,英文文本就不会,而且只在IE下会出现,FF等不出现
To: 乌帮图
IE 是什么版本的?如果是IE6的话,就认了吧。
iwQjzj lawizufiwmyv, [url=http://eqxhegsbuqec.com/]eqxhegsbuqec[/url], [link=http://edqtfgvnlglw.com/]edqtfgvnlglw[/link], http://czfjxkldlhew.com/
大哥,我想问下怎么修改才能把你提供的默认表情给替换成QQ表情啊,我怕乱改文件出错打不开网站。
谢谢
帮忙解答下 :hehe:
To: fin
只要把图片放到wp-includes/images/smilies里,你就可以在后台看见并设置了。
Wp Thread Comment 开启ajax评论后与Custom Smilies插件冲突,每次评论显示失败。。。
刚开始用wp,不知道是否有解决办法
To:Crazy Loong
大哥,你说的那个我是知道,我也已经把表情上传到相应目录了
可是我是想把你原来自带的给删除了来替换成现在的,我就不知道要修改什么地方了
因为我只是把原来的表情删除而回复那里还有位置是显示代码为原来的
实在不知道怎么办了
所以再次打扰
谢谢
To: fin
如果你要替换的话,重新设置对应的表情不就行了?
To:Crazy Loong
已经解决了
谢谢
:hehe: :hehe:
强烈支持
Thank you for the Good plugin.
Help the translation.Language is Japanese.
Please contact in email address ^O^
Hi ^^
Great plugin 🙂
But i have one doubt…
In the part of comments, just i wanna put 10 smilies like max. but appears all the smilies, how can i change that??
Thanks 🙂
To: kami
You can found a input box after “Display these smilies above the comment form by default:” in the settings, so enter the codes of the smilies you want to display.
Oh yeah, i fixed it …Thanks for your help ^0^
Hi again…i am sorry for disturb again ^^;;
Some code or in some place can i delete where says: “More”?? like in the pic 🙂 ?
http://img204.imageshack.us/img204/3347/image2kg.png
To: kami
It cannot be customized in the latest version. You need to modify the source.
Ahh aha, i found and i fixed it, now no more question only say thanks to you 😀 ^O^ ^O^
To: kami
You are great. ^O^
Hi, I love your plugin, but the clickable smilies are not displayed on textarea.
Example: in your blog, if i click grin emot,>> “^O^” >> ^O^
Can you solve it?
I don’t understand what’s wrong with this.
you can check my site, http://fajarfaqih.com
Thanks before
regarding to comment #258
Dear Crazy Long,
is there any chance to get this fix? Please don’t get me wrong, I am not asking to push things forward.
regrads ruediger