表情插件 Custom Smilies 2.2

[Update @ 2008.11.6]There is a serious logical bug in 2.2. So please upgrade to 2.3.

[Update @ 2008.11.6]2.2 存在一个严重的逻辑错误。请尽快升级到2.3。

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 是一个 WordPress 插件。它可以让你自由地在你的文章和评论中使用表情来代替默认的表情。

The latest is 2.2. You can get it here.

最新版本是 2.2。你可以在这里得到它

You can find more infomation about Custom Smilies here.

你可以在这里(点击查看)得到更多 Custom Smilies 的使用方法和说明。

———-Changelog———-

Add l8n and L10n.

完成 l8n 和 L10n。

Add cs_print_smilies() to the action named comment_form.

添加 cs_print_smilies() 函数到名为 comment_form 的钩子里。这样,你就不用在主题里手工添加 cs_print_smilies() 函数了。

Replace init.php with DB. So the init.php is not required.

取消了 init.php 文件。使用数据库代替。

Add TinyMCE button to optimize interface. So you can find it convenient. ^o^

在撰写界面添加了一个按钮,更方便插入表情。

48 thoughts on “表情插件 Custom Smilies 2.2”

  1. 今天早上升级后,我的博客出现如下提示:Warning: array_flip() [function.array-flip]: The argument should be an array in D:\clientweb\web8525822\wwwroot\blog\wp-content\plugins\custom-smilies-se\for25.php on line 224

    请问这是怎么回事啊?拜托博主给解决一下。谢了!

  2. 还有,我的博客明明设置了显示摘要,可前台还是显示全文,请Crazy Loong帮忙啊~~

  3. 表情管理提示
    Warning: array_flip() [function.array-flip]: The argument should be an array in /home/sivan/public_html/blog/wp-content/plugins/custom-smilies-se/for25.php on line 224

    还有可视化编辑器没有表情的那个按钮,用的wp2.6.3 :dsadas:

  4. 谢谢几位的提醒,确实是我的疏忽。错误已经修正,请尽快升级到2.3。如果还有其它的BUG,请不要吝啬,都告诉我吧。^0^

  5. 希望能在后台回复评论的地方等所有会出现编辑器的地方,都能插入添加表情的按钮。嘿嘿~

  6. To: Dreamcolor
    把2.7的这个功能忘了。 ^O^

    To: Frozens
    直接下载最新的就是了。

  7. 后台首页的快速发表、
    后台首页的评论编辑、
    后台首页评论回复、
    评论页面的评论编辑、
    评论页面的评论回复。

    这些地方会出现内容编辑窗口。不过应该都是源代码方式的编辑器。其他的你自个研究啦~哈哈~~~ ^O^

  8. 由于没了那个函数,自己把表情插入到了提交按钮的下面,这样表情的显示样式比较难控制呀~原来的函数有用,所以我的博客一时出现了两个表情区域 :dsadas:
    能不能想个折中的办法?

  9. when i use costume smilies 2.3 and i call the function

    if ( function_exists(cs_print_smilies) ) {cs_print_smilies();}

    he prints the smileys again in the funktion
    comment_form
    Thats bad because i paste the function in a div-box so the smileys are floating on the right of my comment box. Is the fix a must have or can i stay to my 2.2-Version?

  10. 插件使用中发现编辑栏未出现图标.. 我用的版本是2.6.3, 很是奇怪, 不过评论栏出现了图标.

    还有个疑惑, 为什么:-D 和 😀 的效果是一样的呢? 有-的是系统内置的. 没有-的是插件的函数. 应该是不同的方法调用的吧.

  11. 有一个插件或者代码是可以自动把”:-)”这类的符号转换成“ :hehe: ”的,不过我不知道是怎么弄,只是在DailyBlogTips看到过。

  12. 插件使用中发现编辑栏未出现图标.. 我用的版本是2.6.3, 很是奇怪, 不过评论栏出现了图标.

    谁帮我看一下啊….

  13. To: Crazy

    我敢肯定不是缓存的问题, 我有清除过缓存, 也强制刷新了, 还有哦, 你给出的图片里面我没有旁边的那个Flash标志, 这会不会也有影响? 还是版本的问题, 很是奇怪. 我下载的是最新版本啊.

  14. 我for25.php下的368行也是空的啊,现在两个表情栏比较难看…… :dsadas:

  15. 发现新问题

    wp2.7RC1下

    安装Custom Smilies 2.3后,则可视化编辑器的按钮不能显示。卸载Custom Smilies 2.3后一切正常。

    反复测试几遍确实如此!

  16. To: lostindream
    2.3还没有考虑2.7的情况。
    不过,在我现在的内部使用版本(也就是最新修改)在SVN里是没有问题的。

  17. :haha: WP 2.7 RC2下

    安装Custom Smilies 2.3后,则可视化编辑器的按钮不能显示。禁用Custom Smilies 2.3后一切正常。

    反复测试几遍确实如此!

  18. seem it not the plugin problem wordpress problem I disabled the plugin the smilies still show on edit comments pages, but still need to renable back init.php or a way to conver the init.php smiles to DB

    Thanks

  19. unfortunately it does not with mine dunno why try to do a fresh install wont do much either

    thanks

  20. To: zuan
    The following tips could help you.
    Forbidden the plugin and remove the item name “clcs_smilies” in table named “wp_options” from DB.
    After that, reactivate the plugin.

Leave a Reply