2.6.3 phpBB WordPress logs and 2.6.2 bugs report

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Post 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

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

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

User avatar
ale
Posts: 4
Joined: Sun Jul 22, 2018 9:43 pm

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

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

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Post 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

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Post 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

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Post 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(){

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Post by axew3 »

Clean up several hints into the main admin plugin page, and set as Enabled by default the option
Enable/Disable check of the email in phpBB before it is updated in WordPress (front-end plugins pages)
since it do not affect the default WordPress user's profile pages (WP admin)

Fix the phpBB stats widget to correctly get the online users count.

WP_w3all 2.6.3 is coming within tomorrow (or to better say today since it is hard night here, 00.40)
Stay tuned lovely and cool people!

User avatar
axew3
w3all User
w3all User
Posts: 2494
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.6.3 phpBB WordPress logs and 2.6.2 bugs report

Post by axew3 »

2.6.3 has been released
enjoy cool people!

Post Reply