[CDB] mChat

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [RC] mChat

Post by martin123456 »

kasimi thanx for that regards the pm.

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->
User avatar
Sniper_E
Registered User
Posts: 822
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [RC] mChat

Post 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.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [RC] mChat

Post 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?
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 4579
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: [RC] mChat

Post 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.
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: [RC] mChat

Post by KhurramMunawar »

I think mchat should deliver "user logout notification" just as it delivers "user login notification"
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website
bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [RC] mChat

Post by bitsss »

it would be nice if (external) URL`s will be opened in a new window!
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 4579
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: [RC] mChat

Post 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.
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [RC] mChat

Post 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. :)
bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [RC] mChat

Post 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
bitsss
Registered User
Posts: 120
Joined: Fri Nov 09, 2012 11:04 am

Re: [RC] mChat

Post by bitsss »

Hi guys,
i would like to show chat messages only from the CURRENT day. What i have to do?
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 4579
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: [RC] mChat

Post 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.
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 4579
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: [RC] mChat

Post 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
chfs
Registered User
Posts: 237
Joined: Mon Feb 04, 2013 10:01 am

Re: [RC] mChat

Post by chfs »

Thanks kasimi 8-)

and will update extension Post Number phpBB 3.2?

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

:roll:
I'm sorry for my english. :?
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 4579
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: [RC] mChat

Post by kasimi »

Yes there will be an update soon. :)
Buu
Registered User
Posts: 105
Joined: Wed Oct 16, 2013 5:50 pm

Re: [RC] mChat

Post 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
Locked

Return to “Extensions in Development”