number of characters in MCHAT_STATIC_MESSAGE

Support area for phpBB's mChat extension
Post Reply
Marti
Donor
Posts: 10
Joined: 09 Jan 2017, 09:23
Location: France
Contact:

number of characters in MCHAT_STATIC_MESSAGE

#1

Post by Marti » 18 Jun 2017, 19:50

Hello
I whish to show pictures in the static message but when I enter th html code to link them I have a problem with the 255 chars limit
I wish to now where I can modufy that?

User avatar
kasimi
mChat developer
Posts: 377
Joined: 06 Oct 2016, 09:56
Contact:

Re: number of characters in MCHAT_STATIC_MESSAGE

#2

Post by kasimi » 19 Jun 2017, 13:58

The database field where the rules as well as the static message are stored is limited to 255 characters (config_value column in the phpbb_config table). However, there's an easy fix for you: put your content into the language file: https://github.com/kasimi/mChat/blob/2. ... at.php#L91

In the long term, both values should be moved to the phpbb_config_text table where they can be more than 16 million characters long. I've opened an issue that you can follow here: https://github.com/kasimi/mChat/issues/14

Post Reply

Who is online

Users browsing this forum: Seznam [Bot] and 1 guest