WP phpBB 3.0.4 - logs

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

WP phpBB 3.0.4 - logs

Post by axew3 »

Fix reported
Shortcode – latest phpBB topics/posts in WordPress using Forums IDS does not work properly. Instead of the author of the post, “Guest” is displayed.
viewtopic.php?p=7058#p7058
User avatar
axew3
w3all User
w3all User
Posts: 3020
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WP phpBB 3.0.4 - logs

Post by axew3 »

Secondary fix:
private static function phpBB_user_session_set($wp_user_data){
on file
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
so to detect if the requested page is still wp-login.php and/but the user is logged in.
User avatar
axew3
w3all User
w3all User
Posts: 3020
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

phpBB4 ready

Post by axew3 »

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

Re: WP phpBB 3.0.4 - logs

Post by axew3 »

fix a possible wrong ban result
private static function verify_phpbb_credentials(){
file
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php

Code: Select all

if( self::w3_phpbb_ban($phpbb_u, $phpbb_user_session[0]->username, $phpbb_user_session[0]->user_email) === true && $phpbb_user_session[0]->group_name != 'ADMINISTRATORS' OR $phpbb_user_session[0]->ban_userid > 2 && $phpbb_user_session[0]->group_name != 'ADMINISTRATORS' )
has been be changed into

Code: Select all

if( self::w3_phpbb_ban($phpbb_u, $phpbb_user_session[0]->username, $phpbb_user_session[0]->user_email) === true && $phpbb_user_session[0]->group_name != 'ADMINISTRATORS' )
User avatar
axew3
w3all User
w3all User
Posts: 3020
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WP phpBB 3.0.4 - logs

Post by axew3 »

3.0.4 has been released

Code: Select all

== Changelog ==

= 3.0.4 =
*Release Date - 12 Oct, 2025*
Fix: 'private static function verify_phpbb_credentials(){' so to not wrongly detect an user as banned, in certain cases
Fix: Shortcode – latest phpBB topics/posts in WordPress using Forums IDS does not work properly. Instead of the author of the post, “Guest” is displayed.
Add: the 3.0.4 plugin code is ready for phpBB4 ( https://www.axew3.com/w3/forums/viewtopic.php?t=2062 )
Fix: minor fixes
Post Reply