[1.4.0] mChat Sticky Footer

Display mChat at the bottom of every page, configurable in the UCP
User avatar
kasimi
mChat developer
Posts: 939
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [1.4.0] mChat Sticky Footer

#81

Post by kasimi » 21 Oct 2018, 15:26

In ext/kasimi/mchatstickyfooter/event/listener.php find the display_mchat() function and at the end of it, add this:

Code: Select all

- This code is only accessible to donors -

aklabs
Donor
Posts: 6
Joined: 13 Jul 2019, 11:17

Re: [1.4.0] mChat Sticky Footer

#82

Post by aklabs » 13 Jul 2019, 19:09

Hi, thank you for extension, but this prevents me from using it on my board:

Having 3 issues:

1. It conflicts with QuickReply Reloaded: after sticky footer installation all message actions (like quoting or nickname ref) go to mchat window instead of main one.
2. It have "show mchat on all pages" option in ACP, but this option is missed in UCP. So users who don't like chat can't switch it off and it's very annoying.
3. it's good to have option to disable mchat sticky popup on mobile browsers because it works slow enough + it looks almost the same as mchat page. So better to show collapsed view at the bootom, but when vistior click it - redirect to mchat page.

Is there any thoughts regarding this? Thanks.

User avatar
kasimi
mChat developer
Posts: 939
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [1.4.0] mChat Sticky Footer

#83

Post by kasimi » 13 Jul 2019, 21:20

Thanks for your feedback. :+1:
  • Unfortunately this is a limitation of prosilver and can't be fixed. Also reported here: viewtopic.php?f=7&t=3&start=10#p390 and here: viewtopic.php?f=4&t=256&p=1675
  • You need to give your users the permission to edit this setting, have a look at the mChat in UCP user permission tab in the ACP.
  • That's a good idea, I'll look into it!

aklabs
Donor
Posts: 6
Joined: 13 Jul 2019, 11:17

Re: [1.4.0] mChat Sticky Footer

#84

Post by aklabs » 14 Jul 2019, 09:32

Hi. thanks, but disabling bbcodes and smiles in mchat not helps (at least with quickreply enabled): when user click "smile" or "quote" on main form it continue insert it to mchat input field anyway. So I have modified phpbb code a little (works well with standard full reply form as well):

in editor.js:

Code: Select all

- This code is only accessible to donors -
may be it's possible to do this without core code modification? Not sure, but this one works for my forum.

aklabs
Donor
Posts: 6
Joined: 13 Jul 2019, 11:17

Re: [1.4.0] mChat Sticky Footer

#85

Post by aklabs » 14 Jul 2019, 12:23

btw, what about adding some way to see that chat have "new unread messages" ? Actual for messages added when popup is in collapsed state.

User avatar
kasimi
mChat developer
Posts: 939
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [1.4.0] mChat Sticky Footer

#86

Post by kasimi » 16 Jul 2019, 21:12

aklabs wrote:
14 Jul 2019, 09:32
may be it's possible to do this without core code modification? Not sure, but this one works for my forum.
Create a new file ext/dmzx/mchat/styles/all/template/event/overall_footer_body_after.html and add this code:

Code: Select all

- This code is only accessible to donors -
No core edits required. Only works with core phpBB, mChat and QuickReply Reloaded. If you know any other extension that should be supported, let me know.

The color palette is still broken. Maybe you know a solution?

aklabs
Donor
Posts: 6
Joined: 13 Jul 2019, 11:17

Re: [1.4.0] mChat Sticky Footer

#87

Post by aklabs » 17 Jul 2019, 18:02

Your method have two additional problems:

1. "quote" button located in each post header does not work
2. quickreply reloaded have a "ref" link below avatar. This link not works too.

Really, it's the same problem: because user click outside any form.

User avatar
kasimi
mChat developer
Posts: 939
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [1.4.0] mChat Sticky Footer

#88

Post by kasimi » 17 Jul 2019, 20:09

Getting mChat's quote button and other BBCode buttons on each message to work was easy.

QuickReply's "ref" link isn't working for me, even if the mChat Sticky Footer add-on is disabled. Any idea how to fix this? Edit: I was running an outdated version of QR Reloaded, it works now.

Try this updated piece of code:

Code: Select all

- This code is only accessible to donors -

aklabs
Donor
Posts: 6
Joined: 13 Jul 2019, 11:17

Re: [1.4.0] mChat Sticky Footer

#89

Post by aklabs » 17 Jul 2019, 21:21

Still not works for me when this quote button pressed:
zz1.PNG
You do not have the required permissions to view the files attached to this post.

User avatar
kasimi
mChat developer
Posts: 939
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [1.4.0] mChat Sticky Footer

#90

Post by kasimi » 18 Jul 2019, 08:08

Another update:

Code: Select all

- This code is only accessible to donors -

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests