A new port of phpBB mChat into WordPress is coming

User avatar
axew3
w3all User
w3all User
Posts: 2707
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 »

The 1.9.5 rc2 switched the code to not setup last visit on forum on wp login or when on wp side and not on forum, to avoid the behavior/bug you reported about New posts.

Which themes, wp and phpBB chat template you test, and browser you experience this?
Let re-think the mChat js code into some other different way, more easy to apply and that never fail.
xray
User ww
User ww
Posts: 34
Joined: Mon Dec 24, 2018 9:48 pm

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

Post by xray »

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)
xray
User ww
User ww
Posts: 34
Joined: Mon Dec 24, 2018 9:48 pm

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

Post 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.
User avatar
axew3
w3all User
w3all User
Posts: 2707
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 »

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: 2707
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 »

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: 2707
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 »

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
Post Reply