A new port of phpBB mChat into WordPress is coming

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: A new port of phpBB mChat into WordPress is coming

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

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

mChat is working awesome right in iFrame.

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

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

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

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?

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

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

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

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.

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

by xray » Thu Jan 24, 2019 11:26 am

I am using current verision of WP mChat is 2.1.2, which says it latest. Theme is based on prosilver (black-silver split)
Browsers, IE, chrome, Firefox and mobile chrome. (On mobile the chat box is harder to close)

Top