MyBB Community Forums
Emoji plugin - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: Emoji plugin (/thread-212170.html)



Emoji plugin - martec - 2017-08-07

Hi,

in my forum already support emoji
[Image: hzF59TB.png]

So my plan is add this too to automention plugin https://community.mybb.com/thread-173199.html.
But i can only enable this feature if admin already made change in inc/config.php to utf8mb4 and changing existing database to utf8mb4.

So how can I check if the requirement is all okay?


RE: Emoji plugin - Eldenroot - 2017-08-07

Amazing!


RE: Emoji plugin - Tactrus - 2017-08-12

Looks great


RE: Emoji plugin - ChillBro - 2017-08-18

Looks great, I would love this addition to the plug in!


RE: Emoji plugin - PARADOXP - 2021-06-24

is this working ?


RE: Emoji plugin - Whiteneo - 2021-06-24

(2017-08-07, 04:00 AM)martec Wrote: Hi,

in my forum already support emoji
[Image: hzF59TB.png]

So my plan is add this too to automention plugin https://community.mybb.com/thread-173199.html.
But i can only enable this feature if admin already made change in inc/config.php to utf8mb4 and changing existing database to utf8mb4.

So how can I check if the requirement is all okay?

Mybb have a default config file settting you can call it, let me find the right var due i have used some time in the past but it is pretty easy todo.

Yeah i am right here take the code mate.

	$encoding = $mybb->config['database']['encoding'];
	if($encoding == 'utf8mb4')
		echo 'Yeah you have the right codification';
	else
		echo 'You need to change your configuration encoding database to utf8mb4';

You can use that at your owns besides the echo do something or return false or whatever you need....

Chears...


RE: Emoji plugin - PARADOXP - 2021-06-26

(2021-06-24, 02:44 AM)Whiteneo Wrote: Yeah i am right here take the code mate.

	$encoding = $mybb->config['database']['encoding'];
	if($encoding == 'utf8mb4')
		echo 'Yeah you have the right codification';
	else
		echo 'You need to change your configuration encoding database to utf8mb4';

You can use that at your owns besides the echo do something or return false or whatever you need....

Chears...

Where should i apply this code ?


RE: Emoji plugin - Eldenroot - 2021-07-02

Where to get the plugin?


RE: Emoji plugin - PARADOXP - 2021-07-03

(2021-07-02, 07:05 PM)Eldenroot Wrote: Where to get the plugin?

I think it is the plugin "Automention"