Intermediate fix for emoji loading issues

Read me first before posting anywhere!
Subscribe to the feed, available in Image Atom or Image RSS format.
Anti-Spam Guide
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5705
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc

Intermediate fix for emoji loading issues

Post by Marc »

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: Select all

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

Code: Select all

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

Code: Select all

<img alt="{.}" class="emoji" draggable="false" src="https://cdn.jsdelivr.net/gh/s9e/[email protected]/dist/svgz/{@seq}.svgz"/>
Replace with:

Code: Select all

<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

Return to “Announcements”