After upgrading WP to v6.6.2 and WordPress w3all phpBB integration to v2.9.0 I started having this strange behavior :
- each time a User with role different than (default) Subscriber logs in WP, his role gets changed to Subscriber
I thought this might be due to version mismatch with w3all phpBB WordPress extension, so I updated also the phpBB side with the lates v2.03, but unfortunately nothing changes.
At the moment the only way to have a working user is to force the role directly in mysql via phpmyadmin :
- in wp_usermeta, wp_capabilities changed from ({s:10:"subscriber";i:1;} to a:1:{s:13:"author";b:1;})
but at a new login on WP the system changes automatically back to Subscriber
This is very impactful a I have many users with different roles than the default one (subscriber)
Thanks a lot for your support !
Please HELP!!! User Role defaulted to Subscriber after WP login
-
- Posts: 4
- Joined: Wed Oct 23, 2024 1:59 pm
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Please HELP!!! User Role defaulted to Subscriber after WP login
Hello: have you enabled the option
have you set the user in phpBB to be admin then login into WP?
do you have access to the wp admin with some other user so to fix the problem?Switch the WP user to specified Group in phpBB, when Role updated in WordPress or vice versa
have you set the user in phpBB to be admin then login into WP?
-
- Posts: 4
- Joined: Wed Oct 23, 2024 1:59 pm
Re: Please HELP!!! User Role defaulted to Subscriber after WP login
Hi! I didn't enable the option "Switch the WP user to specified Group in phpBB, when Role updated in WordPress or vice versa".
Users should have different roles in WP and phpBB.
I do have access to the WP admin but the only way to go around the issue is to change role, after login in WP, by updating the user wp_capabilities in wp_usermeta via phpmyadmin.
>have you set the user in phpBB to be admin then login into WP?
No I didn't do that. Is it needed ? We use this plugin since many years, it has never been needed, is it change in the never versions ?
Thanks, Tony
Users should have different roles in WP and phpBB.
I do have access to the WP admin but the only way to go around the issue is to change role, after login in WP, by updating the user wp_capabilities in wp_usermeta via phpmyadmin.
>have you set the user in phpBB to be admin then login into WP?
No I didn't do that. Is it needed ? We use this plugin since many years, it has never been needed, is it change in the never versions ?
Thanks, Tony
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Please HELP!!! User Role defaulted to Subscriber after WP login
Let check if there is something wrong, but i assume it is your mistake.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Please HELP!!! User Role defaulted to Subscriber after WP login
In fact, based on my tests, you probably activated the option mentioned above.
Or there is no way to get what you report.
You probably activated the option
Switch the WP user to specified Group in phpBB, when Role updated in WordPress or vice versa
then: if the user is just an user that belong to Registered in phpBB, when visits WP will be updated to the Subscriber role in WP.
Unfortunately standing into my tests the option do not work!
To me it is impossible to get the behavior you say.
But i will check to fix if there is something as soon.
Or there is no way to get what you report.
You probably activated the option
Switch the WP user to specified Group in phpBB, when Role updated in WordPress or vice versa
then: if the user is just an user that belong to Registered in phpBB, when visits WP will be updated to the Subscriber role in WP.
Unfortunately standing into my tests the option do not work!
To me it is impossible to get the behavior you say.
But i will check to fix if there is something as soon.
-
- Posts: 4
- Joined: Wed Oct 23, 2024 1:59 pm
Re: Please HELP!!! User Role defaulted to Subscriber after WP login
Hi, as you can see I don't have that option enabled at all. I am seeing a consistent behavior across two different servers, the Captive and the Production ones.
If you want I am available to somehow share access to our deployments, if interested please contact me via email
Thanks, Tony