Page 4 of 5

Re: A new port of phpBB mChat into WordPress is coming

Posted: Thu Jan 24, 2019 11:46 am
by xray
I just thought of something, did the iframeresizerjs change? Because that's the only thing I didn't change when adding the mChat. I still see some strange things in the iframe as it does not always open as it should.
I did all the rest in clearing the load and purging caches.

Re: A new port of phpBB mChat into WordPress is coming

Posted: Thu Jan 24, 2019 1:15 pm
by axew3
no, no changes, iframe resizer files are the same.
I will re-check all things within today, if no external surprises come out.

The button shortcode code do not need to fire in case the iframed wp page-forum loaded.
And the point is to find out the way to avoid conflicts on loading things when specific events/pages.
We are near to solution ...

Re: A new port of phpBB mChat into WordPress is coming

Posted: Thu Jan 24, 2019 2:57 pm
by axew3
over again finally:
since looking code and evaluating possibilities, about your header/not header or footer/not footer:
did you changed on the code added into /ext/dmzx/mchat/styles/prosilver/template/mchat_body.html on the line

Code: Select all

<script>
	var boardU = "{BOARD_URL}";
	// change 'forum' with the name of the wordpress page that embed/display the phpBB iframe (page-forum template name you coosed/created)
if( /\/forum\//ig.exec(document.referrer) == null && (document.referrer.indexOf(boardU) > -1) == false )
{	
	var w3_chat_phpBBpage = true;
}
</script>
the word forum to match the page you created for the wp forum page template?

Re: A new port of phpBB mChat into WordPress is coming

Posted: Thu Jan 24, 2019 9:22 pm
by axew3
OBSOLETE
1.9.5 has been released and the procedure is available here
ok, here we go: new procedure and code, DO NOT require to edit any file.
The js code to add on overall_footer.html little changed.
Use latest mChat as it is. Replace any edited file, just use mChat default files, and just follow the new easier procedure and apply the new js code.

OBSOLETE
1.9.5 has been released and the procedure is available here

Re: A new port of phpBB mChat into WordPress is coming

Posted: Tue Feb 12, 2019 8:54 am
by Madisondade
mChat is working awesome right in iFrame.