CPUHKG I’ve explored this a bunch of times, but an extension to manage them from the Admin area is something I’d like to see from the community 🙂 I envision a button just liken the Emoji icon in the toolbar, but a modal would appear showing categorized custom emoticons.
You can still achieve adding custom emoticons manually to your Flarum’s extend.php file, but you’d have to clear your Flarum’s cache each time you add a new one or a set. This feature exists in TextFormatter btw and can be adapted to Flarum for use 😄
Edit: Here's an example using my exted.php file
<?php
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/
use Flarum\Extend;
use s9e\TextFormatter\Configurator;
return [
// Register extenders here to customize your forum!
(new Extend\Formatter)
->configure(function (Configurator $config) {
$config->Emoticons->add(
':blob_rave:', '<img src="https://i.imgur.com/BwjQLCy.gif" alt="Blob Rave" title="Blob Rave">'
);
})
];