Page 1 of 2

2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Posted: Wed Apr 06, 2022 8:55 am
by axew3
FIX wp_w3all_phpbb_iframe_short.php warning

Code: Select all

Fix:
PHP Warning:  Undefined variable $w3all_url_to_cms_sw in /wp/wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_phpbb_iframe_short.php on line 64
the related file has been already patched, so if needed, to fix this secondary bug just replace it with the new one
into wp-w3all-phpbb-integration/views/ folder:
https://plugins.trac.wordpress.org/expo ... _short.php

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Posted: Fri Apr 15, 2022 9:07 am
by axew3
So, there is a problem never resolved about iframe template integration.
The fact that if you navigate the iframe, then you return back with the browser's Back button, then you reload the page, it will not correctly display the phpBB page where you are on ...
let see ...

p.s a solution have been applied on phpBB overall_footer.html, but it is not active by default.
The page-forum that will work with, if the code about is active, is the new updated one
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Posted: Thu Apr 21, 2022 2:44 pm
by ale
Fix
function w3all_get_phpbb_onlineStats() {
fixed to get the correct number of users online, so that when a same user with different browsers is logged with different usernames, the related result on widget will be correct
and optimize it to execute only one time even if called in more contests

[EDITED]

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Posted: Wed Apr 27, 2022 9:56 pm
by axew3
1)
Definitively remove the username/user_login param from the WP login hook function.

It is intended that to let users to update their email into phpBB, you'll install the phpBB WordPress extension in phpBB
https://www.axew3.com/w3/2022/02/phpbb- ... extension/

2)
Clean up some function

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Posted: Wed May 04, 2022 9:01 am
by axew3
FIX:

Warning: Undefined array key "switch_wpu_uemail" in /wp-content/plugins/wp-w3all-phpbb-integration/admin/wp_w3all_phpbb_common_tasks.php on line 49

and the entire little file under some aspect

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Posted: Fri May 06, 2022 10:42 pm
by axew3
Add timezone as it is the default board config into phpBB, for the new registered user in phpBB, when created via WordPress:
viewtopic.php?p=5768&sid=ced8f39732fe95 ... 4b31#p5768

removed due to this:
https://www.phpbb.com/community/viewtop ... &t=2620516
so it is not useful to add the value.

While it was useful to optimize the query that retrieve values, that now are only 21, and not 63
Optimize the function w3all_get_phpbb_config(){