PHPBB3-14000 - Add support for emoji

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.2/Rhea branch. Everything listed in this forum will be available in phpBB 3.2.
User avatar
JoshyPHP
Registered User
Posts: 348
Joined: Fri Jul 08, 2011 9:43 pm

PHPBB3-14000 - Add support for emoji

Post by JoshyPHP » Sun Jul 12, 2015 5:11 pm

https://tracker.phpbb.com/browse/PHPBB3-14000
https://github.com/phpbb/phpbb/pull/3753
[2015-07-10 18:41:58] <CHItA> callumacrae: do we support emojis then or not?
A couple of days ago, CHItA and callumacrae were discussing supporting emoji. I wrote the PR for it, it's there: https://github.com/phpbb/phpbb/pull/3753/files

It uses Twemoji's assets. That's the markup:

Code: Select all

<img alt="😀" class="smilies" draggable="false" width="18" height="18" src="//twemoji.maxcdn.com/36x36/1f600.png">
It has proper Unicode support as well as support for the ASCII/short names used by other emoji libraries. Smilies have higher priority than emoji; you can override individual emoji by creating a smiley of the same name. Emoji are not displayed if viewsmilies is set to false by the user.

The attached screenshot uses this list of emoji grouped by their default style values.
Attachments
phpbb-emoji.png

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 297
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: PHPBB3-14000 - Add support for emoji

Post by Nicofuma » Mon Jul 13, 2015 1:51 pm

Merged and available on area51 :+1:
emoji variant ☺️ ☝️ ✌️ ❤️ ♨️ ✈️ ⚠️ ☀️ ☁️ ❄️ ♠️ ♥️ ♦️ ♣️ ▶️ ◀️ ☎️ #️⃣ 0️⃣ 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ ✉️ ✏️ ✒️ ✂️ ⬆️ ↗️ ➡️ ↘️ ⬇️ ↙️ ⬅️ ↖️ ↕️ ↔️ ↩️ ↪️ ⤴️ ⤵️ ♻️ ☑️ ✔️ ✖️ 〽️ ✳️ ✴️ ❇️ ‼️ ⁉️ 〰️ ©️ ®️ ™️ 🅰️ 🅱️ ℹ️ Ⓜ️ 🅾️ 🅿️ 🈂️ 🈷️ ㊗️ ㊙️ ▪️ ▫️ ◻️ ◼️◼️◼️
Member of the phpBB Development-Team
No Support via PM

CHItA
Development Team
Development Team
Posts: 128
Joined: Thu Mar 12, 2015 1:43 pm
Location: Budapest, Hungary

Re: PHPBB3-14000 - Add support for emoji

Post by CHItA » Mon Jul 13, 2015 2:16 pm

With some smilies mixed in:
☺️ ☝️ ✌️ ❤️ ♨️ ✈️ ⚠️ ☀️ ☁️ ❄️ ♠️ ♥️ ♦️ ♣️ ▶️ :) ◀️ ☎️ #️⃣ 0️⃣ 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ ✉️ ✏️ ✒️ ✂️ ⬆️ ↗️ ➡️ ;) ↘️ ⬇️ ↙️ ⬅️ ↖️ ↕️ ↔️ ↩️ ↪️ ⤴️ ⤵️ ♻️ :o ☑️ ✔️ ✖️ 〽️ ✳️ ✴️ ❇️ ‼️ ⁉️ :lol: 〰️ ©️ ®️ ™️ 🅰️ 🅱️ :D ℹ️ Ⓜ️ :mrgreen: 🅾️ 🅿️ 🈂️ 🈷️ ㊗️ ㊙️ ▪️ ▫️ ◻️ :twisted: ◼️◼️◼️

User avatar
brunoais
Registered User
Posts: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: PHPBB3-14000 - Add support for emoji

Post by brunoais » Mon Jul 13, 2015 9:34 pm

Question:
Emoji vs emoticon; what's the difference?

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 297
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: PHPBB3-14000 - Add support for emoji

Post by Nicofuma » Mon Jul 13, 2015 10:27 pm

Emoji:

Code: Select all

With some smilies mixed in:
☺️ ☝️ ✌️ ❤️ ♨️ ✈️ ⚠️ ☀️ ☁️ ❄️ ♠️ ♥️ ♦️ ♣️ ▶️ :)  ◀️ ☎️ #️⃣ 0️⃣ 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ ✉️ ✏️ ✒️ ✂️ ⬆️ ↗️ ➡️  ;)  ↘️ ⬇️ ↙️ ⬅️ ↖️ ↕️ ↔️ ↩️ ↪️ ⤴️ ⤵️ ♻️ :o  ☑️ ✔️ ✖️ 〽️ ✳️ ✴️ ❇️ ‼️ ⁉️   〰️ ©️ ®️ ™️ 🅰️ 🅱️ :D  ℹ️ Ⓜ️  🅾️ 🅿️ 🈂️ 🈷️ ㊗️ ㊙️ ▪️ ▫️ ◻️  ◼️◼️◼️
Smileys:

Code: Select all

 :D  :)  ;)  :(  :o  :shock:  :?  8-)  :lol:  :x  :P  :oops:  :cry:  
that's the difference

(By the way, the emojii are not impacted by the smileys limit)
Member of the phpBB Development-Team
No Support via PM

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: PHPBB3-14000 - Add support for emoji

Post by Pony99CA » Tue Jul 14, 2015 2:30 am

Nicofuma wrote: ↑
Mon Jul 13, 2015 10:27 pm
Emoji:

Code: Select all

With some smilies mixed in:
☺️ ☝️ ✌️ ❤️ ♨️ ✈️ ⚠️ ☀️ ☁️ ❄️ ♠️ ♥️ ♦️ ♣️ ▶️ :)  ◀️ ☎️ #️⃣ 0️⃣ 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ ✉️ ✏️ ✒️ ✂️ ⬆️ ↗️ ➡️  ;)  ↘️ ⬇️ ↙️ ⬅️ ↖️ ↕️ ↔️ ↩️ ↪️ ⤴️ ⤵️ ♻️ :o  ☑️ ✔️ ✖️ 〽️ ✳️ ✴️ ❇️ ‼️ ⁉️   〰️ ©️ ®️ ™️ 🅰️ 🅱️ :D  ℹ️ Ⓜ️  🅾️ 🅿️ 🈂️ 🈷️ ㊗️ ㊙️ ▪️ ▫️ ◻️  ◼️◼️◼️
Smileys:

Code: Select all

 :D  :)  ;)  :(  :o  :shock:  :?  8-)  :lol:  :x  :P  :oops:  :cry:  
that's the difference
But how do you enter them? I don't see an Emoji panel on the posting page. (That might be a cool idea, if it's not too difficult.)

And isn't another difference that Emoji (at least "official" ones) are controlled by the Unicode board?

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: PHPBB3-14000 - Add support for emoji

Post by DavidIQ » Tue Jul 14, 2015 12:21 pm

Pony99CA wrote: ↑
Tue Jul 14, 2015 2:30 am
But how do you enter them? I don't see an Emoji panel on the posting page. (That might be a cool idea, if it's not too difficult.)

And isn't another difference that Emoji (at least "official" ones) are controlled by the Unicode board?

Steve
Emojis are entered through mobile device keyboards. Far as I'm aware entering them on a desktop is kind of a pain and I'm not sure we want to add that rather large list to the default smilies.
Image

CHItA
Development Team
Development Team
Posts: 128
Joined: Thu Mar 12, 2015 1:43 pm
Location: Budapest, Hungary

Re: PHPBB3-14000 - Add support for emoji

Post by CHItA » Tue Jul 14, 2015 12:46 pm

DavidIQ wrote: ↑
Tue Jul 14, 2015 12:21 pm
Pony99CA wrote: ↑
Tue Jul 14, 2015 2:30 am
But how do you enter them? I don't see an Emoji panel on the posting page. (That might be a cool idea, if it's not too difficult.)

And isn't another difference that Emoji (at least "official" ones) are controlled by the Unicode board?

Steve
Emojis are entered through mobile device keyboards. Far as I'm aware entering them on a desktop is kind of a pain and I'm not sure we want to add that rather large list to the default smilies.
You can also use them like :short_form:.

User avatar
AmigoJack
Registered User
Posts: 92
Joined: Wed May 04, 2011 7:47 pm
Location: グリーン ヒル ゾーン
Contact:

Re: PHPBB3-14000 - Add support for emoji

Post by AmigoJack » Tue Jul 14, 2015 12:48 pm

  • Emojis are characters. And because of that, it depends on the fonts being used how they render. You enter them just like any other character: the minority of all characters can be entered with your current keyboard layout (this applies to those with latin letters, aswell as to those with cyrillic, or kanjis, or...). It's either up to the software to support different approaches in entering all available characters, or it's up to the device(s) - think of your smartphone and how you're able to enter brackets, operators and such: there the software offers you different keyboard layouts. Operating systems do the same.
  • Smileys consist of multiple characters and are more or less ANSI art. Displaying pictures instead of those character combinations came in with GUI instead of having text mode only.
Neither emojis, nor smileys are graphics, originally. That's only an alternative interpretation to them.

User avatar
Mess
Registered User
Posts: 197
Joined: Wed Jun 13, 2012 10:14 am

Re: PHPBB3-14000 - Add support for emoji

Post by Mess » Tue Jul 14, 2015 3:24 pm

Testing from Android mobile.
👺😝😱👌👍

Post Reply