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

Скриншоты

  • Страница настроек плагина.
  • Форма комментариев с блоком смайликов.
  • Форма комментариев с блоком смайликов.
  • Визуальный/HTML редактор с блоком смайликов.

Часто задаваемые вопросы

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

У меня есть тег <var>, где мне не нужно обрабатывать коды смайликов

Добавьте теги исключения в настройках плагина — теги внутри которых не нужно обрабатывать текст на поиск смайликов. По умолчанию не обрабатывается контент следующих тегов code, pre, style, script, textarea.

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

Чтобы добавить блок смайликов в форму или к любому другому тегу textarea. Оставьте пустым настройку «ID поля textarea» и используйте следующий код в теме:

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

Отзывы

19.09.2020
Плагин отличный. Но очень нужна его совместимость с другим плагином: https://ru.wordpress.org/plugins/asgaros-forum/ На самом сайте все работает, как доходит дело до этого форума - не видит смайлики на нем.
13.04.2018
Установил и сразу работает, никаких заморочек. Огромное вам спасибо!
31.08.2017
Отлично работает, спасибо!
18.03.2017
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

  • ИЗМ: удалил папку ‘languages’ — все переводы теперь в сервисе translate

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.