Do you have any WordPress Role editing plugins installed? Or membership plugins like S2Member?
It’s possible something has altered your role capabilities so that bbPress’s read_topics capability is broken.
Or, it’s possible it’s just a template issue. The query itself happens in bbp_has_replies()
, so start your debugging there to see if it’s a template problem, or a dataset problem.
I’m having the same problem, except that it doesn’t matter what the user role is, the topic content isn’t visible.
Here’s an example link: http://www.knhub.ca/groups/communications-community-of-practice-cop/forum/
When you click on the topic all it shows is the topic title (as was the case in @robgranholm’s example #1) and the option to reply. But reply to what??? The content isn’t visible to see. I have administration access so it’s not a role issue.
I would also really appreciate some support as this is a HUGE problem for me right now. FYI, I am using a membership plugin…Membership Premium. But it doesn’t seem to be a role or content protection issue since I’m an admin.
Here’s the link to me earlier Buddypress Forum post:https://buddypress.org/support/topic/content-of-topics-in-group-forums-not-displaying/
@robgranholm: I hope you don’t mind me piggy-backing on your post here since it’s essentially the same issue.
Thanks,
Scott
Interesting, I am using Wishlist, but even if I have no protection on the topic itself, this issue still presents itself, further wouldn’t that hide the page entirely, and redirect the user to the login page? I’ve turned on protection and tried just viewing the page not logged in, and I get redirected, once logged in, the page shows, but again with the issue, no topic content showing.
Where would I go to test these suggestions? What actions would I take?
@SaoWolfe
Nope, not at all, as long as we join up in the solution! I’m in the same boat as this being an urgent issue, and I’m not sure what to toggle, or files to look at to resolve this.
I’ve cycled a user through every forum role, and site role, and in my case, only the Administrator can see the content. I have removed protection on the post itself completely and that hasn’t made a difference. Not sure what else to stab at.
@johnjamesjacoby You mention things that look like PHP calls in a template file somewhere, which I haven’t edited, but how would I test for these things?
Unfortunately, you can’t assume that because your account has a certain role, that you’re able to do certain things, especially once you start installing membership plugins that directly manipulate the way roles and capabilities work.
(Role/cap problems are amongst the worst to troubleshoot in WordPress, IMO. There is no UI to help you, and there is little documentation available to guide you through the complex process of unraveling WordPress’s role based access control. It’s also my experience that most role/membership plugins are quirky, and can oftentimes leave your users and roles in a very crippled and polluted state.)
Do any of these plugins that you’re using place limitations on types of posts that users can see? Is it possible you blocked Topics on accident?
I wrote a bbPress plugin almost a year ago to try and provide a bbPress specific solution to roles and capabilities, and troubleshooting why specific users are blocked from certain things:
https://github.com/johnjamesjacoby/bbp-capabilities
You’ll need to install it on your site manually with your favorite FTP program. After installing the plugin, visit your Users in wp-admin
and try editing a user that’s having issues viewing topics. At the very bottom, underneath their Forum Role, will be a large table of bbPress capabilities, the current permission, the source of that permission, and allow you to manipulate it. Anything highlighted in yellow is a deviation from the role (saved to the user instead) and there is a button to reset the user’s capabilities back to match the default role.
Hopefully this all helps track this down.
This seems very promising @johnjamesjacoby. Thank you! I’m going to see if this helps. Where would I load the files in FTP? Would it be under Plugins or under Plugins –> bbPress ?? Or other? Thanks for any direction you can provide…this is not my strong suit!
Scott
I successfully installed the plugin @johnjamesjacoby and went through and tested it. It doesn;t seem as though the issue is one of role capabilities. I tested it out on several users with different capabilities, and also attempting to activate what would appear to be possible changes in your plugin table (ie, on the user edit page). Nothing had an impact.
The problem i clearly one wherein the topic content does not get called to appear along with the topic title.
Any ideas as to what might be the next possible solution?
Thanks for all your time and support!
Scott
PS – @robgranholm how are you fairing on your end?
Next guess is some plugin conflict.
Best way to figure that out is to systematically disable one plugin at a time, until the issue corrects itself.
We definitely strive to keep both BuddyPress and bbPress compatible with as many plugins and themes as possible, so if anything needs fixing on our end, we’ll make sure it happens.