Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 16

Intermediate fix for emoji loading issues

$
0
0
Hi all,

We have noticed that the CDN that provides loading of emojis in phpBB has stopped working.
While a new version that takes care of this is already in the works, you will most likely notice issues with pages taking longer to load and issues with the display of emojis (see e.g. here: viewtopic.php?t=2634321).

Until the next version of phpBB is released, you can resolve this issue by applying the following fix that will be included in the next release:

Open phpbb/textformatter/s9e/factory.php

Find (~ line 359):

Code:

<img alt="{.}" class="emoji" draggable="false" src="//twemoji.maxcdn.com/2/svg/{@tseq}.svg"/>
Replace with:

Code:

<img alt="{.}" class="emoji" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/{@tseq}.svg"/>
Find (~ line 362):

Code:

<img alt="{.}" class="emoji" draggable="false" src="https://cdn.jsdelivr.net/gh/s9e/emoji-assets-twemoji@11.2/dist/svgz/{@seq}.svgz"/>
Replace with:

Code:

<img alt="{.}" class="emoji" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/{@seq}.svg"/>
Afterwards go to the ACP and purge the cache.

Once the next version of phpBB is released, you should be able to simple overwrite this file again. Preparations for the next release are already underway and it will be published as soon as possible.

- The phpBB Team

Statistics: Posted by Marc — Mon Jan 09, 2023 9:08 pm — Replies 0 — Views 53157



Viewing all articles
Browse latest Browse all 16

Trending Articles