clarkwinkelmann but i noticed only flags wont show up - they display as AU
Emoji Picker
Braden if you disable Flarum's emoji extension, then emoji rendering is fully dependent on your operating system.
The emoji picker can work with any combination, but best is to keep both Flarum's emoji extension and the picker extension enabled. Only Flarum's emoji extension changes how emojis are rendered in the post themselves.
Or do you mean you have both extensions enabled and flags entered with the picker still don't render?
clarkwinkelmann not exactly, its turned off.
If other emoji's are still showing (both mobile & desktop), i was hoping flags
to also show in both browsers.
It seem like mobile browser's do understand the emoji's of flags
picked from keypad, because the flags show on them but not on desktop.
- Edited
I suppose it's too long to code for a too little demand, and it's maybe just me being too much used to phpBB forums, but is it planned in any way to integrate an option to limit the possible emoji to just a few (the essential 15-20), or to let the admin select them? Emoji are useful, but I'm pretty afraid that a too enthusiastic user could transform all his posts and the topics into a carnival.
TB54 that's a great idea for an extension, but it's a bit out of scope for this extension.
Even if the picker library I used here allowed to filter down the available emojis (which I don't think it does), this would still be a client-side only feature.
Properly limiting post content for abuse requires server-side code that hooks into the formatter to change rules. And deciding what is an emoji and what is a valid character could actually be quite complex because it's all just Unicode points behind the scenes.
I feel like this would be best handled by just publishing clear community guidelines and taking action against infringing posts.
If you really wanted an easy way to block too many emojis automatically, you could use custom CSS that targets the image tags inserted by Flarum Emoji extension, and use the nth-
selectors to hide repeating emojis or specific emojis by their src
image URL.
Maybe the existing AutoModerator or Filter extensions could already be used to automatically flag or redact posts that contain emojis matched from a regular expression.
TB54 if you're goal is only to limit the emojis available in the picker, this extension has an option to disable certain categories.
@clarkwinkelmann what is the difference between your extension and this other https://discuss.flarum.org/d/28095-flamoji
View that the two extension have the same emoji library
Walys Flamoji is probably better than mine since it appears to be custom made for Flarum, whereas mine just include an existing library that doesn't use the same emoji images as Flarum anymore.
I have never tried the other extension though, so I can't say anything for sure.
Walys Thanks for that, I didn't know about Flamoji, just installed it to replace this extension. I really thank @clarkwinkelmann for the Emoji Picker extension though, it served its purpose pretty well so far.
However, people were complaining that the emojis didn't look like they ended up when posted, as well as not dark-theme compatible. Flamoji fixes those issues now, works pretty well too. Not to dismiss Emoji Picker, again, thank you @clarkwinkelmann
- Edited
Is this not working anymore? I don't get shown any emojies here..
tom23 can you describe what happens in more details? Do you see the emoji picker icon in the composer toolbar (the icon with closed eyes is from this extension, the icon with classic point eyes is Flarum's built-in emoji dropdown)
What do you mean by "here"? This extension is not installed on discuss.flarum.org
i geht this offer when i click the smilie using firefox
- Edited
clarkwinkelmann This extension is not installed on discuss.flarum.org
but yes ... it is? ok not sure if this is an addon but i have this problem since 3 days on this and every (flarum!) website.
screenshot:
tom23 that dropdown is part of flarum/emoji
. Not clarkwinkelmann/flarum-ext-emojionearea
.
Only the popup with its dedicated button in the toolbar and showing emoji categories in the popup is from my extension.
- Edited
I received a report that in Firefox if a text with Emoji in the middle is select than is used "quote" the text after the smiles are not quoted.
I tested this in Firefox stable and developers and the issue is present.
Is not present in Chrome based browser.
I was thinking to report this bug to the WebCompat but there is no demo about this that they can test for reproduce the issue.
Also I tried to reproduce the issue with "normal Emoji means with no extension" and I was unable to reproduce the issue on Firefox. So the issue is the Firefox browser or the extension? How can we report the bug if is a browser bug?
https://www.screencast.com/t/usihW1Pyr0kZ
https://www.screencast.com/t/eEQUbZvL
Issue reported also on GitHub clarkwinkelmann/flarum-ext-emojionearea31
peopleinside I doubt this could be caused by my extension. My extension only adds an alternate way to input new characters into the post composer.
Emoji rendering and quoting is still entirely native to Flarum.
You say this happens with my extension disabled too? This should be reported to the Flarum bug tracker.
I did a quick try but couldn't reproduce the problem on my Firefox.
Hi clarkwinkelmann hope you are well!
I tested the Quote in the Flarum demo here; https://demo.flarum.site where your extension is not present and the issue seems cannot be reproduced.
It would be good maybe report to Firefox but without a demo with your emoji any reports will be not useful.
Thanks anyway.
With Chrome no issue so maybe is "the bad Firefox" that I leaved some days ago because too many bugs and unresolved issues.
What about 1.5.0 compatibility?