First of all, i've find out an error, that is into the
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
PHP Warning: Undefined variable $w3all_custom_output_files in class.wp.w3all-phpbb.php on line 523
to fix, so to let exec the code as it need to be, until the next plugin version is not released, please open:
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
and just after
Code: Select all
private static function verify_phpbb_credentials(){
add
Code: Select all
global $w3all_custom_output_files;
or add the var
$w3all_custom_output_files (as it will be) into the list of all others declared global vars:
Code: Select all
global $w3all_custom_output_files,$w3all_link_roles_groups,$w3all_phpbb_profile_fields, ... ... etc etc
or the code on
verify_phpbb_credentials() will not fire so to load the custom file, but the default one.
Are you using a custom one?
Anyway this is the part on
verify_phpbb_credentials() that run for the logged in user, that check for phpBB groups which the user belong to, and update in WP the role based on the related code)
it is not about the update done on WP admin by the same user or an admin.
Let see what happen on admin action or due to user's action.
Looking also for WOO hooks so to know how to make the joke easier.
Or the WP default filter, that fire when a role change, i assume, it will be faster to code on it all the required joke.
Let see...