Hi I am using user-role-editor 3.10 with wordpress 3.5.1.
I have created a custom role ‘SiteAdministrator’ with permissions lying between Administrator and Editor. (it have all capabilities of editor including user creation/edit/listing etc. and not have edit-dashboard permission).
I have given all forum permissions also to this role.
But on logging-in with this user in admin, I am getting only ‘Topics’ and ‘Replies’ menus in admin sidebar. There is no ‘Forum’ menu available.
Topics and replies are working well for all creation/editing.
for forums I can list it by direct url pasting in address bar after login, ex. http://mysite.com/wp-admin/edit.php?post_type=forum . Also I am able to edit any forum and update.
But when I try to create a new forum by using http://mysite.com/wp-admin/post-new.php?post_type=forum, it not working giving error on blank page “Invalid post type”.
Please let me know why there are no forum menus/submenus available in admin sidebar and not able to create new forums by direct url?
Tried giving permissions various ways in user-role-editor panel but not working. May be there some incompatibility of user-role-editor with bbpress roles.
Please someone help.
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.
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.
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. ]
No, I had no time yet. Your problem is still not resolved for this moment.
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
- The topic ‘user role editor with bbpress: forum menu, add new forum invalid post type issue’ is closed to new replies.