Please HELP!!! User Role defaulted to Subscriber after WP login

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

Re: Please HELP!!! User Role defaulted to Subscriber after WP login

Post by axew3 »

Ok thank you for the report.
Look i am under a big flu, maybe going little better just today after 20 days (if god want).

Ok detected the problem, It happen exactly on login, going to fix it immediately
and the plugin will be updated.

I will return in reply in short...
User avatar
axew3
w3all User
w3all User
Posts: 2896
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Please HELP!!! User Role defaulted to Subscriber after WP login

Post by axew3 »

Tony, thank you for the report and sorry for the delay on fix the issue.

Also another bug has been fixed on same function, related to an eventual password to be updated.

Here we go.
the function

Code: Select all

public static function w3_check_phpbb_profile_wpnu($username){ // email/user_login
on file
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php

has been fixed and 2.9.1 released!
tonymrc
Posts: 4
Joined: Wed Oct 23, 2024 1:59 pm

Re: Please HELP!!! User Role defaulted to Subscriber after WP login

Post by tonymrc »

I can confirm, after updating to v2.9.1 everything works as it should.

Thank you for the fix and hope you have a prompt recovery from the flu ;)
JDoo
Posts: 1
Joined: Wed Jan 15, 2025 7:49 pm

Re: Please HELP!!! User Role defaulted to Subscriber after WP login

Post by JDoo »

hello the problem is came back
User avatar
axew3
w3all User
w3all User
Posts: 2896
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Please HELP!!! User Role defaulted to Subscriber after WP login

Post by axew3 »

Hello!
I just tested the flow you say this way:
changed an user to editor, then logged with the same user. Logged and the group not switched to Subscriber.
Then i have set the user as subscriber again, and activated the option
Switch the WP user to specified Group in phpBB, when Role updated in WordPress or vice versa
setting it to
Only update user's Group in phpBB when Role updated in WordPress (admin - user profile update)
(just because i test out sometime something random so to check that all is ok)
and the user has been correctly set as moderator in phpBB when i switched him to Editor in WP.
Then i have try to login with this user and he is correctly an Editor in WP and the role not switched to Subscriber.

Said that, can you maybe add some info more like which plugins options activated you are on or if you use a custom file for the Groups/Roles switches?
Post Reply