[1.2.1] mChat in Forums & Topics

Display mChat when viewing forums and topics, configurable in the UCP
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: mChat in Forums & Topics

Post by kasimi »

Updated to version 1.1.1. The latest version fixes a bug on the archive page when editing & deleting messages. You can find the download link in the first post. :+1:
nicrun
Posts: 3
Joined: 10 Jun 2017, 14:43

Re: mChat in Forums & Topics

Post by nicrun »

Hi kasimi,
First of all, congratulations for your chat which is really great.
I use it on my forum with great pleasure and all my community is very satisfied.
You can see the integration on https://www.tomtomax.fr/forum
login: test
password: testtest

I just installed the add-on "mChat in Forums & Topics": It works very well, I had to simply refresh the cache.

I have a suggestion: would it be possible to make the mChat appear on absolutely all the pages of the forum: "active topic" / "New posts" / "Messages without answers" / Forum / Categories / The pages that may be displayed.
Of course, the chat does not belong in the messaging / Administration panel and / or moderation

Thank you in advance for your response.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: mChat in Forums & Topics

Post by kasimi »

Hi nicrun and welcome. :wave:

Except for the ACP, it is possible to display mChat anywhere you want, but the scope of this extension is limited to forums and topics.

If you want to change the code yourself, you need two things:
  1. A core PHP event that is triggered on the page where you want mChat to be displayed. You can register a handler for the event by adding it around line 84 of the listener file.
  2. A template event where on the page you want mChat to be located. If you found one, have a look at ext/kasimi/mchatinforumsandtopics/styles/prosilver/template/event/viewtopic_topic_title_after.html. In the same folder, create a file with the name of your template event and use the same code in it.
nicrun
Posts: 3
Joined: 10 Jun 2017, 14:43

Re: mChat in Forums & Topics

Post by nicrun »

Hi kasimi,
It's a bit too technical for me. I'm afraid of doing damage by hurting.
I will ask a friend who is more talented than me.
He will certainly come here to seek advice.
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: [1.2.0] mChat in Forums & Topics

Post by kasimi »

Version 1.2.0 is now available. :+1: It requires at least mChat 2.1.0.

The extension now uses the same height that mChat uses on the index page (as configured in the ACP) for both viewforum and viewtopic, instead of hard-coded 200px. Also it fixes a bug when voting in a topic while mChat is displayed (reported here).
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: [1.2.1] mChat in Forums & Topics

Post by kasimi »

Version 1.2.1 is available. :+1: It fixes an undefined offset PHP notice in a migration file (only happens on fresh installs) that was reported here.
User avatar
wads24
Distinguished Donor
Posts: 29
Joined: 26 Aug 2018, 02:16
Location: Idaho

Re: [1.2.1] mChat in Forums & Topics

Post by wads24 »

When displaying on the top of viewtopic if you have a quick reply at the bottom then it will insert BB code and smileys in that quick reply field rather than in chat
I am a crazed lunatic that has desires... :lol: :lol: :D
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: [1.2.1] mChat in Forums & Topics

Post by kasimi »

You should be able to fix this by adding some code, see this post for the instructions and this post for the latest code.
User avatar
wads24
Distinguished Donor
Posts: 29
Joined: 26 Aug 2018, 02:16
Location: Idaho

Re: [1.2.1] mChat in Forums & Topics

Post by wads24 »

Thanks...I did that fix. Now the mchat bbcode only works on chat if you click on one of the smilies first. This change also forces bbcode to show above quick reply even though I have it turned off in advanced BB code extension settings...
I am a crazed lunatic that has desires... :lol: :lol: :D
User avatar
wads24
Distinguished Donor
Posts: 29
Joined: 26 Aug 2018, 02:16
Location: Idaho

Re: [1.2.1] mChat in Forums & Topics

Post by wads24 »

Strange... I have to click on smilie first before bbcode will work on mchat
I am a crazed lunatic that has desires... :lol: :lol: :D

Who is online

Users browsing this forum: CCBot [Bot] and 0 guests