This mChat addon allows users to customize the default font size for all mChat messages (not just yours). It adds a new setting in the UCP for users to specify their font size in pixels.
I have downloaded, installed and activated this superb extension, I cleared the cache but, so far, I can't see the option to select the font size in the mChat tab of my UCP.
What am I doing wrong?!
Regards,
Henry
P.S. Got it! I had to give the Administrator group the permission to do so as it was set on "No" by default!
P.P.S. A request please! Would it be possible to implement the DEFAULT font size as an option under GLOBAL SETTINGS in the ACP? My experience has shown me that users rarely bother to configure their preferences in their UCP. Thus, I would thus love a GLOBAL SETTING in the ACP where I could set the font size by default for ALL USERS (let's say 11 pix). Naturally, users could override this default setting in their UCP (if they ever bothered to do so).
There should be an option for this in the global user settings. By changing the value there, new user accounts will automatically use that value. You can can override the font size of all existing users by using the "Override settings for all users" feature at the bottom of that page. Keep in mind that this will override all other user settings as well (display on index, input type, new messages at the top/bottom etc).
If you only want to change the font size for all users, you have two options:
Uninstall this add-on extension and delete the data
Open ext/kasimi/mchatfontsize/migrations/v1_0_0.php
Small update in the first post. The CSS for this extension was included on all pages and sometimes resulted in wrong CSS, which is fixed in version 1.0.1. No language changes.
I haven't, you're the first one who brought up the idea.
My time is very limited at the moment, but you can edit this extension to get a rudimentary version for font color:
Adjust the two language strings MCHAT_FONT_SIZE and ACL_U_MCHAT_FONT_SIZE in the en folder.
Open ext/kasimi/mchatfontsize/styles/prosilver/template/event/overall_header_stylesheets_after.html and change font-size: {{ MCHAT_FONT_SIZE }}px; to color: {{ MCHAT_FONT_SIZE }};. Now users can set their UCP preference to red, #123456 etc.
If you want to have the real Font Size add-on installed at the same time, a few more edits are required: you will need to change the migration file to set a new unique table column name, and the composer.json will need a new extension name.