1.6.9 patches list and bugs report

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: 1.6.9 patches list and bugs report

Re: 1.6.9 patches list and bugs report

by axew3 » Thu May 04, 2017 11:56 am

WP MU MS
Coming 1.7.0 to fix correct phpBB users addition into WordPress

and to correct any cookie setting for any installation

Re: 1.6.9 patches list and bugs report

by axew3 » Wed May 03, 2017 9:20 am

important-install-on-domains-like co.uk - temporary fix
https://wordpress.org/support/topic/imp ... co-uk-fix/

Re: 1.6.9 patches list and bugs report

by axew3 » Tue May 02, 2017 9:19 am

page-forum.php and the overall_footer.html javascript code about scroll has been little improved to correctly scroll on some circumstances (like when inserting new post, on moderating actions (scroll to action to execute), by the way it need to be improved further more.
https://www.axew3.com/w3/2016/02/embed- ... esponsive/

Re: 1.6.9 patches list and bugs report

by axew3 » Sat Apr 29, 2017 2:15 pm

wp_w3all.php has been patched for WP MU multisite to NOT allow admins to add a new user in WP, if already exist into phpBB

Re: 1.6.9 patches list and bugs report

by axew3 » Sat Apr 29, 2017 9:26 am

i suspect from reports, that something goes wrong in some case when option Deactivate user until WP confirmation is set to yes on wp_w3all config.
if any problem in the while, and you have activate this option, disable it.

Re: 1.6.9 patches list and bugs report

by axew3 » Fri Apr 28, 2017 2:51 pm

a question many times thrown in the air, was:
what about if an user have two tabs opened on browser one of wp home and other with page forum, AND the user logout on tab where WP home, AND so open the other tab and start to navigate the iframe? Will result as logged out into phpBB, but the WP page until not reloaded will display that the user is apparently logged in, on WP admin bar.

The work around added is very simple, but remember that since these are javascript tricks, they point to work to default WP themes ID and CLASSES html elements.
I will try to post an help to understand this if somebody interested: any phpBB event can be passed in this way to wp with ajax. This can be applied with the code about ajax PM count, not in the default overall_footer.html js code (because into default js code to be added into phpBB overall_footer.html the window.onload = function() not exist! ...)

The simple workaround:
On phpBB overall_footer.html js added code, window.onload = function() , has become this:

Code: Select all

window.onload = function() {
var pmn = "{PRIVATE_MESSAGE_COUNT}";
var w3all_phpbb_u_logged = "{S_USER_LOGGED_IN}";
// to send to wp at once here, like this: #w3all_phpbbpmcount=val#w3all_phpbbnotifycount=val#etc etc etc
var w3appendevents = '#w3all_phpbbpmcount=' + pmn + '#w3all_phpbb_u_logged=' + w3all_phpbb_u_logged;
parent.w3all_ajaxup_from_phpbb(w3appendevents);
}
while on page forum, this code function (that receive and execute)

Code: Select all

		function w3all_ajaxup_from_phpbb(res){
			var w3all_phpbbpmcount = /.*(#w3all_phpbbpmcount)=([0-9]+).*/ig.exec(res);
      if(w3all_phpbbpmcount !== null){
         w3all_ajaxup_from_phpbb_do(w3all_phpbbpmcount[2]);
       }
     }
has been rewrite into this (still not added in the advanced 1.6.9 tutorial how to and related code to copy):

Code: Select all

	function w3all_ajaxup_from_phpbb(res){
			var w3all_phpbb_u_logged  = /#w3all_phpbb_u_logged=1/ig.exec(res);
			 if( res.indexOf('#w3all_phpbb_u_logged=') > -1 && w3all_phpbb_u_logged == null && null !== (document.getElementById('wp-admin-bar-my-account')) ){
        window.location.reload(true);
       }
			var w3all_phpbbpmcount = /.*(#w3all_phpbbpmcount)=([0-9]+).*/ig.exec(res);
      if(w3all_phpbbpmcount !== null){
         w3all_ajaxup_from_phpbb_do(w3all_phpbbpmcount[2]);
       }
   } // END function w3all_ajaxup_from_phpbb(res){
the concept is clear, maybe it will changed little more before to be published also online.

This is effectively working already by the way, into this online example.

Top