mChat Sticky Footer

Display mChat at the bottom of every page, configurable in the UCP
Tarantino
Donor
Posts: 46
Joined: 21 Oct 2016, 12:59

Re: mChat Sticky Footer

#31

Post by Tarantino » 28 Oct 2016, 15:30

Thanks, that was it. If I disabled the quick reply the chat appeared. It's just a matter of waiting some months then. ;)

User avatar
kasimi
mChat developer
Posts: 377
Joined: 06 Oct 2016, 09:56
Contact:

Re: mChat Sticky Footer

#32

Post by kasimi » 02 Nov 2016, 13:00

Tarantino wrote:It's just a matter of waiting some months then. ;)
If you don't want to wait any longer and if you're in the mood for editing a core function, you can have this feature now. :)

In the first post there is version 1.2.0. It detects whether or not the change that will be shipped in phpBB 3.1.11 that is required for the mChat Sticky Footer to be displayed on all pages is available. If it isn't there's no change, but if it is, mChat will be displayed on all pages.

How to get it running:
  • Install the mChat Sticky Footer add-on 1.2.0
  • If you have phpBB 3.1.10 or older, you need to apply these changes: https://github.com/phpbb/phpbb/pull/4490/files

    Manual instructions:
    • Open [board root]/includes/functions.php
    • Find:

      Code: Select all

      - This code is only accessible to donors -
    • Replace with:

      Code: Select all

      - This code is only accessible to donors -
And that's it! mChat Sticky Footer will now be displayed when, for example, composing a reply, a PM and when browsing a forum with quick reply enabled as well. 8-) You can test this feature here on this board.

Tarantino
Donor
Posts: 46
Joined: 21 Oct 2016, 12:59

Re: mChat Sticky Footer

#33

Post by Tarantino » 02 Nov 2016, 15:32

Great work. Thanks a lot for this!

Tarantino
Donor
Posts: 46
Joined: 21 Oct 2016, 12:59

Re: mChat Sticky Footer

#34

Post by Tarantino » 04 Nov 2016, 11:43

I've found a little bug on viewtopic with quick reply disabled at least.

When Ive a video (youtube video at least) on a post (I'm using s9e phpbb-ext-mediaembed) I can't resize the chat no more if the chat is below the video.

Best Regards

User avatar
kasimi
mChat developer
Posts: 377
Joined: 06 Oct 2016, 09:56
Contact:

Re: mChat Sticky Footer

#35

Post by kasimi » 04 Nov 2016, 16:37

Hi Tarantino,

I was able to fix an issue that prevented vertical resizing when the page is very long, for example with lots of long posts. I'm not sure if this fixes the issue you describe but please give version 1.2.1 a try, see first post.

Note that resizing mChat across a YouTube video or any other Flash content doesn't work because the Flash object swallows all mouse move notifications which means that my code can't update mChat's position. Unfortunately, as far as I can see, this is not possible to fix.

Report back if you still have any problems. :)

Tarantino
Donor
Posts: 46
Joined: 21 Oct 2016, 12:59

Re: mChat Sticky Footer

#36

Post by Tarantino » 05 Nov 2016, 03:05

All my problems are solved! It was because of very long pages and not after videos after all! :)

When going above videos it doesnt work as you told but that's a minor thing that nobody cares.

User avatar
FranckTH
Donor
Posts: 15
Joined: 19 Nov 2016, 12:59
Location: Champagne (France)

Re: mChat Sticky Footer

#37

Post by FranckTH » 31 Dec 2016, 15:24

Hi very nice extension, just a small problem (conflict) with mChat Rooms ;) i'll send you screenshot tomorrow
<!-- INCLUDECSS ext/franckth/photoshop.exe -->

Aq215
Donor
Posts: 1
Joined: 03 Mar 2017, 03:41

Re: mChat Sticky Footer

#38

Post by Aq215 » 03 Mar 2017, 23:29

figured it out!

User avatar
kasimi
mChat developer
Posts: 377
Joined: 06 Oct 2016, 09:56
Contact:

Re: mChat Sticky Footer

#39

Post by kasimi » 08 Mar 2017, 18:57

What was the problem? Anyway, I had a chance to test it on an iPad myself and it seems like the corner that allows you to drag and resize mChat is very small. I'll make it bigger for the next release.

User avatar
kasimi
mChat developer
Posts: 377
Joined: 06 Oct 2016, 09:56
Contact:

Re: mChat Sticky Footer

#40

Post by kasimi » 23 Mar 2017, 13:24

Version 1.2.2 is available now in the first post. :+1:

The drag icon has been updated to blend better with different styles. Its size has been increased so that it should be easier to resize mChat on iPads and other medium sized devices. The 'mChat' title has been centered.

Red marks the draggable area:
  • v1.2.1 and earlier:
    Image
  • New in v1.2.2:
    Image
  • Final look:
    Image

Post Reply

Who is online

Users browsing this forum: LTX71 [Bot] and 1 guest