A new port of phpBB mChat into WordPress is coming

xray
User ww
User ww
Posts: 30
Joined: Mon Dec 24, 2018 9:48 pm

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

Post by xray » Thu Jan 24, 2019 11:46 am

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.

User avatar
axew3
w3all User
w3all User
Posts: 1598
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post by axew3 » Thu Jan 24, 2019 1:15 pm

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 ...

User avatar
axew3
w3all User
w3all User
Posts: 1598
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post by axew3 » Thu Jan 24, 2019 2:57 pm

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?

User avatar
axew3
w3all User
w3all User
Posts: 1598
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post by axew3 » Thu Jan 24, 2019 9:22 pm

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

Madisondade
Posts: 2
Joined: Tue Feb 12, 2019 8:52 am

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

Post by Madisondade » Tue Feb 12, 2019 8:54 am

mChat is working awesome right in iFrame.

Post Reply