M Chat Custom Page Change

Support area for phpBB's mChat extension
Post Reply
User avatar
Mr_LonEly
Posts: 15
Joined: 09 Mar 2017, 05:02

M Chat Custom Page Change

#1

Post by Mr_LonEly » 25 Aug 2018, 17:38

Hi

Thanks For This Awesome Chat Room.I Want to Show A Radio on Custom Chat Page and Also Want to change link Name form mchat to MCHAT

Help Me Where I Have to Inserted Radio Code

Thanks

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

Re: M Chat Custom Page Change

#2

Post by kasimi » 25 Aug 2018, 18:10

Hi :wave:

Add your HTML code to mchat_body.html, for example here: https://github.com/kasimi/mChat/blob/ma ... .html#L139

To show it only on the custom page, wrap your code like this:

Code: Select all

{% if MCHAT_PAGE == 'custom' %}
    your HTML code here
{% endif %}
Have a look here to change the link name in the navbar menu: https://github.com/kasimi/mChat/blob/2. ... on.php#L43

User avatar
Mr_LonEly
Posts: 15
Joined: 09 Mar 2017, 05:02

Re: M Chat Custom Page Change

#3

Post by Mr_LonEly » 26 Aug 2018, 15:17

Thank you So Much Much .... best Solution . My Thanks Lines are not revealing My Inner feelings ..Superb Kasimi you are the Legend

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

Re: M Chat Custom Page Change

#4

Post by kasimi » 26 Aug 2018, 15:34

I appreciate your kind words. :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest