Emoji plugin
#7
(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 ?
Reply


Messages In This Thread
Emoji plugin - by martec - 2017-08-07, 04:00 AM
RE: Emoji plugin - by Eldenroot - 2017-08-07, 04:07 PM
RE: Emoji plugin - by Tactrus - 2017-08-12, 08:59 PM
RE: Emoji plugin - by ChillBro - 2017-08-18, 12:31 PM
RE: Emoji plugin - by PARADOXP - 2021-06-24, 02:39 AM
RE: Emoji plugin - by Whiteneo - 2021-06-24, 02:44 AM
RE: Emoji plugin - by PARADOXP - 2021-06-26, 10:41 AM
RE: Emoji plugin - by Eldenroot - 2021-07-02, 07:05 PM
RE: Emoji plugin - by PARADOXP - 2021-07-03, 02:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)