#Emoji One for phpBB 3
This repository provides a full installation of Emoji One, a complete open source emoji set, to replace phpBB 3.x default smilies. It includes 1 625 smilies and 2 172 shortcuts.
- Download and extract the package.
- Put
emojione
folder andemojione.pak
file into phpBB'/images/smilies/
folder. - Change
SMILEY_LIMIT
to3000
inincludes/constants.php
- In phpBB administration panel, go to
Posting
tab, then toSmilies
section, and selectInstall smilies package
.
Since version 3.2, phpBB automatically converts emojis to images, but from a different provider.
To change it, edit /vendor/s9e/text-formatter/src/Plugins/Emoji/Configurator.php
and change the line:
return $template;
With:
return '<img alt="{.}" class="smilies" src="./images/smilies/emojione/' . '{@seq}.' . 'svg" />';
If you get an error message like Fatal error: Allowed memory size of x bytes exhausted (tried to allocate x bytes)
, modify your php.ini
configuration file and try to increase max_input_time
, memory_limit
and max_execution_time
variables.
Emoji One artworks are published under License Creative Commons Attribution 4.0 International.
The python code is written by Sylvain Durand and released under License MIT.