Replace all smileys with emojis

JackieChun

Well-known member
Does anyone know of an add-on or script that will replace all existing smileys with emojis in a forum with lots of posts?

There is an add-on called "Foro.agency Replace smilies by HD Emojis," but it's not updated or supported anymore, and it only replaces smileys in future posts. I am looking to replace them in existing posts as well as going forward.
 

JackieChun

Well-known member
There is no add-on that I know of. You can do a bunch of MySQL queries probably, but I haven't tried.
 

DeltaHF

Well-known member
I have found a simple way to achieve this using XF's built-in Word Censor.

Just enter the old smiley code into the censor and then replace it with the emoji that you want:

Screen Shot 2021-03-09 at 4.21.02 PM.png

The old smiley text will be automatically replaced in all old and new posts, allowing a seamless transition from smilies to emoji. :)

You can also go back into the smilies section and delete the now-redundant entries. The censor will take it from there.
 
Top