Resource icon

EmojiOne Smilies 2016-09-23

No permission to download

OperaManiac

Well-known member
#27
since xf2 has native emoji support, these are quite useless for me. of course, removing these would result in dead emoji codes on older posts. but having 500+ smilies is just not a good idea :D. so just used phpmyadmin to delete all of these manually.
 

OperaManiac

Well-known member
#29
xf_smilie is the table with smilies. i deleted all entries that had :emoji in them. took a few minutes. DO BACKUP THE DATABASE because i did it at my own risk. This method is mentioned in a thread about XF1.x but no one confirmed if this is safe for XF2.

As for replacing old code... I guess a simple find and replace command using the XF2 addon could work. I have not tried it. Would need to see if it can be used to replace :emoji_xyz: with an actual emoji.
 
#30
Has anyone gotten this to work on XF2? I've added the code to the extra.less file but from what I can see, there is no editor_contents.css file anymore and my emoji are enormous.
 

OperaManiac

Well-known member
#31
xf1 plugins are not compatible with xf2.
xf2 has native support for emoji, so you do not really need to use something like this. people can insert emoji using native tools on their devices. ✌
 
#32
xf1 plugins are not compatible with xf2.
xf2 has native support for emoji, so you do not really need to use something like this. people can insert emoji using native tools on their devices. ✌
Okay, but what if I want these svg emoji? The default ones from XF2 are 22px and the png files from emojione are 32px. I'd like to use these files because it sounds like they can be shrunk down to 26px with good quality which is what we want. Any advice, even if it has nothing to do with this plugin?
 

OperaManiac

Well-known member
#33
i guess xf2 still allow manual addition of emojis. have little experience with it. emoji support was one of the major things i was excited about. i removed all custom smilies after that. managing them is a lot of hassle of the smiley pack is not supported by the developer across major updates like this one.
 

Solari

Active member
#34
Hello,
awesome to see these new Smilies for xenforo, I tested them and they are working great! :) But I have one problem, when I import a Smiley xml, the preview of the Smiley doesn't show the Smiley.


What cause this? I think the problem are the css, is there a way to display the simlies in the preview? :)

Best regards,
CabCon.
I get this as well... Is it still okay to import or is there something wrong? I did upload the images into the xenforo styles folder per the directions.

Ray
 
#35
Okay, but what if I want these svg emoji? The default ones from XF2 are 22px and the png files from emojione are 32px. I'd like to use these files because it sounds like they can be shrunk down to 26px with good quality which is what we want. Any advice, even if it has nothing to do with this plugin?
It's the exact same way to add the smilies in Xf2 and it works just the same.

Upload the smilies.emoji folder to styles/default/xenforo/

then go to..

Admin -> Content -> Smilies -> click ... and pick import



Then just click browse on Import from uploaded XML file and browse to the individual category xml files from this resource and import what categories you want.



Only difference is the editor doesn't need the css code but EXTRA.less does...

CSS:
img[src$='.emoji.svg'] {
    width: 24px;
    height: auto;
}
size been 24 pixels here, but you can change it to whatever you want.
 
Top