WordPress phpBB 2.4.4

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: WordPress phpBB 2.4.4

WordPress phpBB 2.4.4

by axew3 » Tue Mar 02, 2021 11:37 pm

Code: Select all

== Changelog ==

= 2.4.4 =
*Release Date - 2 Mar, 2021*

* Add: option "Add users in phpBB only after first successful login in WordPress" that return to be so useful under many aspects (especially to fix some frontend plugin registration problem. Read hints into the same plugin option)
* Add: option "Force correct WordPress password reset (front end plugins)" that resolve problems into front end plugins (read hints into the same plugin option)
* Fix: WP UID 1 wrong password on reset
* Fix: user addition in phpBB, if added as newbie, then promoted to Registered when reach specified number of posts: the user is now added/created in phpBB in the correct way, so to be removed from Newly Registered when the case, and promoted to Registered
* Fix: page-forum.php: fix uid1 WP and phpBB uid2 (install admins) loop on page-forum, given by the fact that uid1 in WP and uid2 in phpBB are not linked anymore. To fix this, it is necessary to rebuild page forum, and update overall_footer.html js code. 
* Fix: history.pushState and history.replaceState on page-forum so to return to correct page when navigating back by clicking into Browser Back button. Fix the empty w3= (custom fancy= url) sometime happening on address bar. page-forum(orWhateverYouNamedIt).php require to be rebuilt into plugin admin or manually substituted, for changes to take effect, and for the Wp uid1 and phpBB uid2 loop into page-forum, the overall_footer.html code require to be updated: https://www.axew3.com/w3/2020/01/phpbb-wordpress-template-integration-iframe-v5/ . If you want to update to fix the uid 1 loop on page-forum just looking what into overall_footer.html code changed, follow this link: https://www.axew3.com/w3/forums/viewtopic.php?p=5175#p5175
* Fix: function create_phpBB_user() to not follow on create the user if email or username already exists into phpBB, so to avoid an error in certain cases
* Fix: WP and MUMS under several aspects and errors messages
* Revert: MUMS to allow users coming from phpBB that need to be inserted into WordPress, to be accepted only if usernames are in the pattern range 0-9A-Za-z
* Fix: minor (but important) fixes

To manually update the overall_footer.html javascript code, and fix the WP user ID 1 loop on page forum, steps are these:

where:

Code: Select all

var w3boardU = "{BOARD_URL}";
Just after ADD:

Code: Select all

var w3uid = "{U_USER_PROFILE}".split("u=");
var w3uidck = 0;
 if( typeof w3uid[1] != 'undefined' ){
  w3uidck = w3uid[1];
 }
where:

Code: Select all

var w3appendevents = '#w3all_phpbbpmcount=' + pmn + '#w3all_phpbb_u_logged=' + w3all_phpbb_u_logged + '#w3all_lochash=' + w3all_lochash; 
change into:

Code: Select all

var w3appendevents = '#w3all_phpbbpmcount=' + pmn + '#w3all_phpbb_u_logged=' + w3all_phpbb_u_logged + '#w3all_lochash=' + w3all_lochash + '#w3all_uidck=' + w3uidck; 
this is required to fix the WordPress uid 1 loop into page-forum, that also need to be so updated to latest: if not interested on fix it, just do not apply. if you apply, remember that you have to recompile phpBB template to make changes take effect

Top