Height doesn't change

Display mChat when viewing forums and topics, configurable in the UCP
User avatar
jan_2017
Distinguished Donor
Posts: 166
Joined: 13 May 2017, 18:07

Height doesn't change

Post by jan_2017 »

Hello

The height does not change if it is changed in the ACP. on the index page the height is as set but not on all following pages.

php 7.0.28 , phpbb 3.2.0. , mchat 2.0.2

bye jan
Last edited by jan_2017 on 23 May 2018, 23:23, edited 1 time in total.
User avatar
</Solidjeuh>
Posts: 37
Joined: 28 Apr 2018, 21:09
Location: Aalst, Belgium

Re: Height doesn't change

Post by </Solidjeuh> »

Are you using an extension to show mChat on other pages?
When you use the Board3 portal module for mChat, you need to edit a file from that ext.

Like:

/ext/talonos/b3pmchat/b3pmchat.php

Find: 'MCHAT_INDEX_HEIGHT' => and change the value
Forum for NL Extension translations ---> https://www.amusementspaleis.com
----------------------------------------------------------------------------
User avatar
jan_2017
Distinguished Donor
Posts: 166
Joined: 13 May 2017, 18:07

Re: Height doesn't change

Post by jan_2017 »

I don't use any other ext to show mchat. No portal installed.

In a test board i see the same "bug".

Bye Edit.

I'm SORRY ..... i use 2.0.2 and nor 2.0.3.

Just i should test it with 2.0.3.????

Bye Jan
User avatar
kasimi
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Height doesn't change

Post by kasimi »

For some reason the height is hard-coded. :?

Try this to use the index page height as configured in the ACP for mChat in forums and topics:
User avatar
jan_2017
Distinguished Donor
Posts: 166
Joined: 13 May 2017, 18:07

Re: Height doesn't change

Post by jan_2017 »

Perfect, it works. Thanks for the quick fix.

But i change it to 'MCHAT_INDEX_HEIGHT' => 250,

That was enough.

:ugeek: Thanks again

Who is online

Users browsing this forum: CCBot [Bot] and 0 guests