[phpBB 3.3.9 and below] Intermediate fix for emoji loading issues

Topics that have no current function but have been moved here as opposed to being deleted. Anyone can read topics here but the forum cannot be posted in.


Array
Posting Bot

[phpBB 3.3.9 and below] Intermediate fix for emoji loading issues

Post by Posting Bot »

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/emoji-assets-twemoji@11.2/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

Source: http://www.phpbb.com/community/viewtopi ... &t=2634331
Last edited by Dimetrodon on Thu Mar 16, 2023 1:44 pm, edited 2 times in total.

Array
Dimetrodon
Not A Dinosaur!
Not A Dinosaur!
Posts: 197
Joined: Mon Sep 12, 2022 9:30 am
Verification: βœ… Elon Musk Style

Re: Intermediate fix for emoji loading issues

Post by Dimetrodon »

πŸ‰ 🦎 This fix has been applied to this site. πŸ‰ 🦎

Admittedly, I never knew why emojis would need to be on an internet board, but I guess it is a cool thing to have. I tend to use full computers over mobile devices though, so that may be why I never got into using them that much.
Last edited by Dimetrodon on Mon Jan 09, 2023 5:04 pm, edited 2 times in total.

Array
scooter
Moderator
Moderator
Posts: 16
Joined: Wed Nov 02, 2022 11:30 pm
Location: sitting down and facing front

Re: Intermediate fix for emoji loading issues

Post by scooter »

[Dimetrodon] wrote: ↑Mon Jan 09, 2023 5:00 pm πŸ‰ 🦎 This fix has been applied to this site. πŸ‰ 🦎

Admittedly, I never knew why emojis would need to be on an internet board, but I guess it is a cool thing to have. I tend to use full computers over mobile devices though, so that may be why I never got into using them that much.
So the recent step-upgrade was mostly to do with handling of emojis?

I must admit I have trouble understanding the development team at phpBB. :?
SCOOTER
"I don't practice what I preach because I'm not the kind of person I preach to." - J.R. "Bob" Dobbs

Array
Dimetrodon
Not A Dinosaur!
Not A Dinosaur!
Posts: 197
Joined: Mon Sep 12, 2022 9:30 am
Verification: βœ… Elon Musk Style

Re: Intermediate fix for emoji loading issues

Post by Dimetrodon »

scooter wrote: ↑Tue Feb 07, 2023 12:10 am
[Dimetrodon] wrote: ↑Mon Jan 09, 2023 5:00 pm πŸ‰ 🦎 This fix has been applied to this site. πŸ‰ 🦎

Admittedly, I never knew why emojis would need to be on an internet board, but I guess it is a cool thing to have. I tend to use full computers over mobile devices though, so that may be why I never got into using them that much.
So the recent step-upgrade was mostly to do with handling of emojis?

I must admit I have trouble understanding the development team at phpBB. :?
It was fixed, but phpBB 3.3.10 mainly increased support for php 8+. There is a MOD in the OP that can fix earlier versions of phpBB when it comes to emojis if you do not want to upgrade the software.