Hi and thanks for your work with this plugins. I've been struggling with the sync of WP roles to phpBB groups for a few days without luck.
I haven't found anything special about this in the docs so I guess it's just supposed to work if the groups are named identical in phpBB as the role in WP or have I missed something? I tried to name my custom role in WP to the same as the phpBB group and the create a new WP user which are assigned that role. The user are created in phpBB, but not assigned to the specified custom group.
Any ideas?
/Tomas
How to sync WP role to phpBB group?
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: How to sync WP role to phpBB group?
Sure that you instead have not forget to setup the correct phpBB users group where add registered wp users, into wp_w3all config page?
By the way since i noted a behavior into a site i'm working on about integration, i've edit the code of
file class.wp.w3all-phpbb.php. The new one is this one in attachment P.s the same should be done also into transfer file process code if needed.
By the way since i noted a behavior into a site i'm working on about integration, i've edit the code of
file class.wp.w3all-phpbb.php. The new one is this one in attachment P.s the same should be done also into transfer file process code if needed.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: How to sync WP role to phpBB group?
change committed on repository, plugin patched at date of this post:
updated files:
class.wp.w3all-phpbb.php
and
views/wp_w3all_users_to_phpbb.php
download and replace on respective folders.
updated files:
class.wp.w3all-phpbb.php
and
views/wp_w3all_users_to_phpbb.php
download and replace on respective folders.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: How to sync WP role to phpBB group?
Hi and thanks for your reply, you did lock the thread so I couldn't comment back to you.
I have now tried your updated files but the same behavior exists. I have selected the correct group to add new users into at the w3all config page as you asked about.
Just to be clear, the plugin does add the new user into the "registered users" group as configured at the config page, but it's impossible to get the plugin to add a phpbb users into more groups, matching the WP Users role.
Perhaps I have misunderstood the functions, is there a function to make the users member of other groups based on role membership in WP?
If it's supposed to work, how does the plugin select these groups? Is it looking into the rolename and search for a groupname with the same naming as the role?
Thanks in advance.
/Tomas
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: How to sync WP role to phpBB group?
Hello Thomas,
Re-opened
You mean the transfer process? You would like to add users with proper role, if admin admin, if editor moderator etc?
Something like this?
Or you would like that users are added into more then one phpBB group when they register?
Re-opened
Code: Select all
Just to be clear, the plugin does add the new user into the "registered users" group as configured at the config page, but it's impossible to get the plugin to add a phpbb users into more groups, matching the WP Users role.
Perhaps I have misunderstood the functions, is there a function to make the users member of other groups based on role membership in WP?
Something like this?
Or you would like that users are added into more then one phpBB group when they register?
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: How to sync WP role to phpBB group?
P.s about more then one user group, which wordpress plugin setup this kind of members configuration? Because this is not a possible option to have more then one role per user into a default wordpress if i'm not wrong.