One way I did it was add the mchat code inbetween the cms code inside index.php
Find
// display blocks
$blocks->display();
After add
mchat code that normally goes to index.php
Then maybe to get the shoutbox to show up at the bottom of page, is add the Mchat html code in your_template/cms/cms_footer.html
Do note that this will make the shoutbox show up in just about every page of the cms.
This is what I did since i did not really want the shoutbox to be inside another box/module etc.
mChat, Primetime & index page
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
-
- New member
- Posts: 9
- Joined: 05 Jun 2010, 10:21
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: mChat, Primetime & index page
Thanks for the answer, Pete! The idea of modifying cms_layout.html was great, now the shoutbox works on the index page. However, it is displayed under EACH article, what looks quite funny . I would love to put it into a new custom block, do you have any idea how to achieve this?
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 44 guests