Feature request for chatrooms

Chat rooms for mChat with optional password protection and 1-on-1 chats
kingbob777
Donor
Posts: 19
Joined: 22 Jul 2019, 23:05

Feature request for chatrooms

#1

Post by kingbob777 » 18 Feb 2020, 21:23

Hello again. I was just thinking on a future update of the plugin. Knowing that you can have a max level of rooms and if it goes past that level of rooms it can no longer add any it plays an error sound.

Would it be possible to add pagination? For example lets say the max number of rooms is 10, and if you create an 11th room instead of hearing an error sound, it turns to pagination and on the 2nd page you can see the 11th room plus? I know you can set the max number of rooms more than 10 but then it lengthens the screen display and can look bad.

Hope you understand what I am trying to say lol

I still use phpbb 3.2.7 as it works perfect with your plugin. 3.3 seems to break half my other plugins lol


:beer: :beer:

Bgagger
Donor
Posts: 63
Joined: 28 Nov 2018, 15:57

Re: Feature request for chatrooms

#2

Post by Bgagger » 21 Feb 2020, 20:12

We have some issues with phpBB 3.3.0 so far, out of the box I would say they are not fully compatible. Upgrading to 3.3.0 at this point is not recommended.
But there are workarounds if you are willing to get your hands dirty with the code.

Up to phpBB 3.2.8 we had no serious issues with mChat.

Anyhow, we have come across some limits for number of rooms as well.
Technically it seems mChat can handle more then about 33 rooms at a time for a single user. But after that they fall outside of the GUI layout and can not display. Making them inaccessibly until you leave some old rooms, so that they get purged and makes space for older rooms to appear again.

So as long as you don't make a ton of private rooms, it works fine. Just stay within a reasonable limit that works for your current layout and board style.
It is probably possible to tweak the CSS to make the rooms list longer, but we haven't tried that yet.

If a scroll-able list or pagination solution could be made though, that would be a nice feature.

kingbob777
Donor
Posts: 19
Joined: 22 Jul 2019, 23:05

Re: Feature request for chatrooms

#3

Post by kingbob777 » 22 Feb 2020, 15:10

Pagination would be awesome. Also a search bar to search chat rooms as well. Would make the mod awesome!

terry2
Donor
Posts: 212
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: Feature request for chatrooms

#4

Post by terry2 » 23 Feb 2020, 15:16

Like this ?
roomsani.gif
You do not have the required permissions to view the files attached to this post.

Bgagger
Donor
Posts: 63
Joined: 28 Nov 2018, 15:57

Re: Feature request for chatrooms

#5

Post by Bgagger » 23 Feb 2020, 15:40

terry2 wrote:
23 Feb 2020, 15:16
Like this ?
Yeah, that would probably to the trick.
How did you solve that?

kingbob777
Donor
Posts: 19
Joined: 22 Jul 2019, 23:05

Re: Feature request for chatrooms

#6

Post by kingbob777 » 23 Feb 2020, 18:12

thing is aswell, how does it look when in mobile display? I am using the milk 2 theme.

terry2
Donor
Posts: 212
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: Feature request for chatrooms

#7

Post by terry2 » 23 Feb 2020, 19:01

On mobile.
roomsmobile.gif
You do not have the required permissions to view the files attached to this post.

kingbob777
Donor
Posts: 19
Joined: 22 Jul 2019, 23:05

Re: Feature request for chatrooms

#8

Post by kingbob777 » 23 Feb 2020, 20:01

Thats awesome. How do we implement this in the plugin? or is there going tobe an update soon?

terry2
Donor
Posts: 212
Joined: 22 Oct 2016, 18:22
Location: My castle

Re: Feature request for chatrooms

#9

Post by terry2 » 23 Feb 2020, 20:18

Raw code can be better but i just whizzed it up to test.

Open /ext/kasimi/mchatrooms/styles/prosilver/mchat.rooms.css
add

Code: Select all

- This code is only accessible to donors -
Change the 300 to suit your needs.

This can be set in the acp to set the height of the scroll maybe some thing for kasimi will think about but if not i'l add it in later.
Last edited by terry2 on 24 Feb 2020, 18:42, edited 1 time in total.

kingbob777
Donor
Posts: 19
Joined: 22 Jul 2019, 23:05

Re: Feature request for chatrooms

#10

Post by kingbob777 » 23 Feb 2020, 20:28

I have it on 350px anyway.. but awesome though... Thanks! :beer: :beer:

Post Reply

Who is online

Users browsing this forum: Google [Bot], Yandex [Bot] and 1 guest