Page 89 of 98

Re: [RC] mChat

Posted: Sun Oct 09, 2016 9:12 pm
by martin123456
kasimi thanx for that regards the pm.

Re: [RC] mChat

Posted: Mon Oct 10, 2016 6:50 am
by Sniper_E
Mess wrote:I cant get mchat to show up on the theme canvas, when using index top. :(
If I use index bottom it does not fit the theme.

Are there any manual edits I still need to do?
You may have a custom style there Mess if I'm looking in the right place.

Your header of your style starts out with a...

Code: Select all

		<div class="category-wrapper">
		<div class="category-header" style="">
If that is the correct style I looked at. mchat's header will have to be re-written like your style.
Anything you put in that style will have to be written to form to that style.

Re: [RC] mChat

Posted: Mon Oct 10, 2016 11:46 am
by Mess
Sniper_E wrote:
Mess wrote:I cant get mchat to show up on the theme canvas, when using index top. :(
If I use index bottom it does not fit the theme.

Are there any manual edits I still need to do?
You may have a custom style there Mess if I'm looking in the right place.

Your header of your style starts out with a...

Code: Select all

		<div class="category-wrapper">
		<div class="category-header" style="">
If that is the correct style I looked at. mchat's header will have to be re-written like your style.
Anything you put in that style will have to be written to form to that style.
Thanks for your reply mate. :)

My website is the same as in my signature. And the style is default for guests.
Mchat has a style folder for canvas so I didn't realize I had to do other "hacks". If I change mchats header will still work on our other styles?

Re: [RC] mChat

Posted: Mon Oct 10, 2016 12:07 pm
by kasimi
As far as I can see the Canvas style doesn't have the event index_body_markforums_before which mChat uses to display at the top.

Go to /ext/dmzx/mchat/styles/canvas/template/event, create an empty text file index_body_forumlist_body_before.html and add this code:

Code: Select all

<!-- IF MCHAT_INDEX and MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF --> 
Refresh your board cache.

Re: [RC] mChat

Posted: Mon Oct 10, 2016 12:31 pm
by KhurramMunawar
I think mchat should deliver "user logout notification" just as it delivers "user login notification"

Re: [RC] mChat

Posted: Tue Oct 11, 2016 7:58 am
by bitsss
it would be nice if (external) URL`s will be opened in a new window!

Re: [RC] mChat

Posted: Tue Oct 11, 2016 8:25 am
by kasimi
KhurramMunawar wrote:I think mchat should deliver "user logout notification" just as it delivers "user login notification"
Yes, that is something reasonable to add but it won't happen anytime soon. I'm playing with the idea to move the posts & login notifications to a separate extension but I'm not sure yet if it's worth it. Once that is decided, the logout notification can be added. It won't happen in 2.0.0.
bitsss wrote:it would be nice if (external) URL`s will be opened in a new window!
This is a job for another extension.

Re: [RC] mChat

Posted: Tue Oct 11, 2016 6:13 pm
by Mess
kasimi wrote:As far as I can see the Canvas style doesn't have the event index_body_markforums_before which mChat uses to display at the top.

Go to /ext/dmzx/mchat/styles/canvas/template/event, create an empty text file index_body_forumlist_body_before.html and add this code:

Code: Select all

<!-- IF MCHAT_INDEX and MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
Refresh your board cache.
That worked, thanks mate.
Now I just need to match it with the style a little better. But I can figure that out myself when I get a little time. :)

Re: [RC] mChat

Posted: Wed Oct 12, 2016 7:07 am
by bitsss
bitsss wrote:it would be nice if (external) URL`s will be opened in a new window!
kasimi wrote:This is a job for another extension.
This code does work, thanks:

https://www.phpbb.com/customise/db/exte ... 21#p508221

Re: [RC] mChat

Posted: Fri Oct 14, 2016 6:43 am
by bitsss
Hi guys,
i would like to show chat messages only from the CURRENT day. What i have to do?

Re: [RC] mChat

Posted: Fri Oct 14, 2016 10:07 am
by kasimi
bitsss wrote:i would like to show chat messages only from the CURRENT day. What i have to do?
Wait a few days for RC7 to be released. ;) It will allow you specify the pruning interval in the ACP. You will need to set it to 24 hours at midnight and set the number of messages to retain to 0.

Re: [RC] mChat

Posted: Sun Oct 16, 2016 4:02 pm
by kasimi
mChat 2.0.0-RC7 is available now. See the first post for the download link and release highlights. It will be submitted for validation in the near future.

Language changes from RC6 to RC7: https://github.com/kasimi/mChat/compare ... C7#diff-18

Re: [RC] mChat

Posted: Sun Oct 16, 2016 6:08 pm
by chfs
Thanks kasimi 8-)

and will update extension Post Number phpBB 3.2?

https://github.com/kasimi/phpbb-ext-postnumbers

:roll:

Re: [RC] mChat

Posted: Sun Oct 16, 2016 6:14 pm
by kasimi
Yes there will be an update soon. :)

Re: [RC] mChat

Posted: Sun Oct 16, 2016 7:29 pm
by Buu
hi, can i set somehow that the chat to appear even if the user is in a topic or posting a reply? Now he is only on the main page, but if i enter in a topic or post a rely, i don`t see the chat anymore...
thanks