MOAR SMILIES

StrangeWill

Administrator
Staff member
:hmmm:Hmm.... Guess I finally got around to getting those Devanooga smilies into here.

Because the forums have been basically impossible to use without them. :teehee:

Process was kind of ridiculous:
  • Export all of the emoji from Slack
    • Have to do it in a real bullshit way because it takes too long and our front-end load balancer whines and times out
    • By bullshit I mean log into the docker container and straight up wget http://localhost:5010/api/v0/emojis/export
  • Resize all images to a max of 32x32
  • Convert animated .gifs differently to not eat them/flatten them to one frame
  • Create an import XML because Xenforo could not handle multiple imports from the same directory
  • Make that XML do batches of 500 250 because we cannot import a batch of like 3k at once (processing the XML would take >30s and the PHP engine would quit)
  • Hope the UI doesn't crash:pray-intensifies:

So far the admin UI prints them all out on the longest page ever, that's annoying, but that's annoying for us. Other than that, the UI here seems to work. :woohoo:
 
*squints*

Slack may use 24x24 or 16x16? Sigh, I can technically resize these on the fly again so no big deal, thoughts?
 
Also, sadly, I cannot use these for the "like" replies, due to how the UI works, I wonder if there's a mod to do that... or an option.
 
:bobbycat:
 
Back
Top