Page 1 of 1

a simple Emoticons-Plugin

Posted: Mon Sep 19, 2022 11:36 pm
by fraenkiman
Hello, everyone.

while browsing our wiki I stumbled upon a source code of Edoardo Vacchi (NoWhereMan) and created a ready-made plugin for the FlatPress community.

The plugin works without any changes to the existing FlatPress blog.

Have fun with it and best regards

Re: a simple Emoticons-Plugin

Posted: Tue Sep 20, 2022 8:05 pm
by virtualsky
Fantastic! Thanks for the update! It's very easy to implement and to use.

Re: a simple Emoticons-Plugin

Posted: Sat Oct 01, 2022 7:48 pm
by Arvid
Nice, I really like that :)
I have an improvement suggestion, though: Emoticons at the end of a line should also be replaced.

Code: Select all

Text ;) Text :)
Text
The ;) is being replaced, but not the :)

I also love the idea of the "instructions" link in the plugin description! Small suggestion here as well: The link target should be ./fp-plugins/emoticons/doc_emoticons.txt (leading dot) instead of /fp-plugins/emoticons/doc_emoticons.txt to make it work for FP instances in subdirectories.

All the best,
Arvid

Re: a simple Emoticons-Plugin

Posted: Sun Oct 02, 2022 2:30 pm
by fraenkiman
Hello Arvid, @all,

Thank you for your comment regarding the path specification and the suggestion.

I've customized the plugin, added a few 100's of emoticons and adjusted wiki articles.
Each emoticon is now associated with a Markdown-like character string.

Have fun with it and best regards
Frank

Re: a simple Emoticons-Plugin

Posted: Tue Oct 11, 2022 12:56 pm
by Arvid
Impressive set of icons, this is :D

Well done!

Re: a simple Emoticons-Plugin

Posted: Sun Jul 02, 2023 1:07 am
by DeltaLima
Hi Frank,

thanks for this plugin - i like to use it :) I would like to suggest to reduce the possibility to enter emojis just with the ":emoji_name:"-syntax and throw out the unicode and some other type forms of emoticons from the array. background is, that i was writing a blogpost and noticed, that the number 2600 for example got interpreted as sun emoji. Also in some other cases emojis where made where it is not supposed to (like "(o" stands for party emoji - never seen this before and pretty annoying :D )

does this plugin has an git repository where i can send you a pull request? :)

Re: a simple Emoticons-Plugin

Posted: Sun Jul 02, 2023 10:18 pm
by fraenkiman
Hello DeltaLima,

I'm glad you like using this plugin. Thanks also for the suggestion.
DeltaLima wrote: Sun Jul 02, 2023 1:07 am does this plugin has an git repository where i can send you a pull request? :)
Not yet. I will upload it to Github in the coming days so you can send me a pull request.

With best regards
Frank

Re: a simple Emoticons-Plugin

Posted: Mon Mar 04, 2024 10:45 pm
by fraenkiman
Hello everyone,

the emoticons plugin has received a small update from me. Although it contains significantly fewer emoticons, it now has a toolbar. The emoticons are now also SEO-friendly, as you can read them with a screen reader.
If you feel the need to add additional emoticons, I recommend visiting this page beforehand with as many different browsers and operating systems as possible. Here you can check in advance whether and how the emoticon looks on the respective end device.

Users of FlatPress 1.2.1 or lower would have to insert a line in three templates after the wiki article.

Users who want to download and test the current FlatPress version 1.3 Beta1 from Github do not need to install the plugin.

With best regards
Frank