Kama WP Smiles

描述

Kama WP Smiles enhances your WordPress experience by seamlessly incorporating a smiley block into the comment form of your theme and the HTML/visual editor in the admin panel. This feature simplifies the process of adding smiles to your comments or posts. The plugin replaces the standard WordPress emoticons with lively and animated GIF smileys.

With Kama WP Smiles, visitors to your blog can effortlessly insert smiles into their comments, while you gain the ability to enhance your posts or respond to comments with smiles of your own.

In the plugin settings, you have the option to select which smileys appear in the smiley block. Additionally, you can customize the special codes, such as 🙂 , which trigger the replacement with smiley images in your content. Furthermore, you have the freedom to create and utilize your own set of smiley images.

Should you decide the plugin isn’t for you, uninstalling it is a breeze. The plugin ensures a clean removal process, leaving no trace behind.

Plugin page

屏幕截图

  • Admin panel settings page.
  • Comment form with smile block in theme.
  • Comment form with smile block in admin panel.
  • Post html/visual editor with smile block in admin panel.

常见问题

Plugin don’t add smile block for the comment form

Maybe, you comment form textarea HTML tag have not default ID attribute. Specify comment form ID attribute tag on settings page. Default is comment

I have HTML tag <var> where it needn’t replace smile code to smile image

Add exceptions tags on settings page in which no need to replace smile code to smile. Default is code, pre, style, script, textarea.

How can I add smile block to comment form by myself?

To add smile block to comment form or any other textarea form. Leave empty comment ID field on settings page and use next code in your theme:

        &lt;?php echo kws_get_smiles_html( $textarea_id ); ?&gt;

评价

2020 年 9 月 19 日
Плагин отличный. Но очень нужна его совместимость с другим плагином: https://ru.wordpress.org/plugins/asgaros-forum/ На самом сайте все работает, как доходит дело до этого форума - не видит смайлики на нем.
2018 年 4 月 13 日
Установил и сразу работает, никаких заморочек. Огромное вам спасибо!
2017 年 8 月 31 日
Отлично работает, спасибо!
2017 年 3 月 18 日
A good plug-in is easily customizable, and you can add your own smilies to it. I RECOMMEND! If you need samayliki for the site, this plugin is for you!
阅读所有9条评价

贡献者及开发者

“Kama WP Smiles” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Kama WP Smiles」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Kama WP Smiles”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.9.13

  • UPD: WP Version up.
  • NEW: filter kwsmile__insert_smile_space.

1.9.11

  • NEW: filter kws_get_opt.
  • NEW: filter kwsmile_pack_path_url.

1.9.9

  • NEW: uninstall.php now delete wp-content/plugins/kama-wp-smile-packs folder if it was created.

1.9.8.1

  • FIX: Compatability with PHP 7.4

1.9.8

  • FIX: special smiles match pattern fix. Ex: =D in https://youtube.com/watch?v=DIhskiHOybw

1.9.7

  • CHG: now, the option use_smiles is not disabled. But it has no affect on content – it’s disables with hooks on the fly.

1.9.6

  • CHG: ‘languages’ folder deleted from the plugin

1.9.5

  • CHG: version upgrade check everywhere – it’s fast
  • ADD: move localisation to translate.wordpress.org

1.9.3 – 1.9.4

  • FIX: select “smile list position” option conflict in admin area

1.9.2

  • ADD: select “smile list position” option

1.9.1

  • FIX: Bug from 1.9.0
  • CHG: a little default styles

1.9.0

  • ADD: new pack of smiles: for dark background. New 200+ qip smiles
  • ADD: Now you can add your own smiles, just create folder ‘/wp-content/plugins/kama-wp-smile-packs’ and add your folder with smiles images.
  • ADD: All code translated to english and ru_RU localisation was added…
  • IMP: fixed vulnerabilities in code
  • CHG: rename main functions: kama_sm_get_smiles_code() to kws_get_smiles_html(), km_convert_smilies() to kws_convert_smiles(). If you use this functions in your theme you need to fix your code.
  • FIX: some minor fixes
  • FIX: plugin uninstall

1.8.1

  • FIX: unused option ‘not_insert’ deleted. It hides smiles on update…
  • ADD: Option to set prefix and suffix for smile code. Now you can change: (:smile:) to smile
  • CNG: Split main class to Kama_WP_Smiles{} and Kama_WP_Smiles_Admin{}

1.8.0

  • CHANGE: smile wrapper tag was *name* become (:smile:) in order to correctly work with markdown.
  • IMPROVE: regex improvements and now find/replace smiles to Img more then 50 times faster.

1.7.3 (18.06.2015)

  • FIX: some refactoring. And bugfix with ‘;)’ (wink smile) when special char like   end with ‘)’ we got  ) where ‘;)’ was replaced by smile.

1.7.1 (11.05.2015)

  • FIX: add “kws-wrapper” css class to front-end comment smiles block in order to change styles of the block out of admin settings page.

1.6.9 (8.05.2015)

  • ADD: ability to sort order of smiles. So, you can set order of how smiles will be shown in block..

1.6.8 (5.05.2015)

  • CHANGE: CSS styles changes. Now only additional css saves into DB and default options uses everywhere.

1.6.7 (5.5.2015)

  • FIX: Adaptation to Emoji icons added in WP 4.2

1.6.6.1 (6.09.2014)

  • Adaptation to WP 4.0

1.6.0 (24.01.2014)

  • Images in smile block now is not image and not downloading with page. It save HTML requests.
  • Now select used smiles in admin panel more comfortable.
  • New principle to add smile block to comment form.
  • CSS styles and JS scripts now adding direct to HTML document. It save HTML requests.
  • Added smile block in admin panel.
  • On uninstall, plugin will remove all it settings and smiles code strings from posts and comments content.
  • Improve plugin PHP code.

1.5.0

  • Add ability to specify exceptions tags in which plugin wiil not replace smile sode to smile image.