Hi,
Thanks for active usage of URE plugin and sharing your experience.
It theory “Forums” menu should be available if user has ‘edit_forums’ capability. But bbPress works with roles and capabilities in non-traditional WordPress way. bbPress adds its own roles and capabilities to WP roles list dynamically, on the fly. I suppose, as it is happened after WP loaded its roles from the database, bbPress created caps rewrite caps, which user get from WP database. It seems that assigning bbPress to non-bbPress roles or directly to the user has no any effect.
I’m near to decision exclude all bbPress capabilities from User Role Editor view, as I made for bbPress roles already. What do you think about it?
If you don’t need something special for bbPress, why not to use one of its predefined roles? bbPress lets you assign its role to the user in addition to the base WordPress role.
Try this variant and let me know, if it works for you.
Regards,
Vladimir.
Yes I am agree with you Vladimir, and thanks for replying with the bbpress technique.
Sorry but I didn’t really get what u asking by “I’m near to decision exclude all bbPress capabilities from User Role Editor view, as I made for bbPress roles already.”
By your saying “bbPress lets you assign its role to the user in addition to the base WordPress role”, I got and is what I did.
I have already created one wp-user having custom role ‘SiteAdministrator’ (as defined in first post), and assigned a bbpress role, the top most ‘Keymaster’ to it. Means this user now have two roles ‘SiteAdministrator’ and ‘Keymaster’, but logging-in with the same user still not show forum menu available and giving ‘invalid post type’ issue on direct add forum.
Could you please check doing all things the similar at your end (as I described the need and what I did in the problem) and let me know the way it worked, if it so? It will be helpful for me and other users too.
Thanks.
Hi Vladimir,
Did you get time to check it? Please let me know, as its an important point to discuss and solve, related to wp and bbpress forum compatibilities with user-role editor. (I have mentioned in above post what I did as per your suggestion, but not success).
[ Signature moderated. ]
Hi Shashank,
No, I had no time yet. Your problem is still not resolved for this moment.
Regards,
Vladimir.
Okay, I hope you get sometime soon to look over it. If something need to be done inside URE plugin for it, will hope that fixed in its next release.
I excluded all bbPress created dynamic roles and capabilities from User Role Editor scope. Any role modification with URE will remove all bbPress capabilities from WordPress roles storage. I hope it will help to resolve compatibility issue with bbPress.
You may download version 3.11 beta for testing from this link
http://shinephp.com/wp-content/downloads/wordpress/plugins/user-role-editor-3.11b.zip