Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic Content Missing for All Users but Adminstrators, but Replies Show?!

  • Avatar of robgranholm
    robgranholm
    Participant

    @robgranholm

    Hi,

    I’ve hit an issue that is critical for my site to function, and can’t figure out where to go to fix this. If you are a BuddyPress service professional, please let me know, I’d be happy to pay for a fix.

    We launched our site, and have found a weird bug where users who have the Site Role – Subscriber [through Contributor] and Forum Role – Participant [through Keymaster] which is most everyone CANNOT view any original topic posts, only replies if any. Even if you are user who is creating the topic, once you hit submit, you’re brought to your topic, and you cannot see the topic content any longer. Here’s a snapshot of what you do see: http://bit.ly/1ctPQv7 [replies are shown, but the actual topic content which goes above the replies is missing]

    Here’s the same post as viewed from a User set as an Administrator: http://bit.ly/NzMu4K [notice the original topic content and controls that are visible]

    The only user type who can see the topic post content is Administrators, which certainly isn’t workable for a forum!

    Please help, and contact me if you are a BuddyPress support professional. Where do I look for what could be causing this?

    This makes no sense, and I can’t figure out how to fix this. I am willing to provide username and password to any individuals that can help troubleshoot.

    Wordpress 3.8
    BBpress 2.5.3
    BuddyPress 1.9.1

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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.

    Avatar of SaoWolfe
    SaoWolfe
    Participant

    @saowolfe

    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:http://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

    Avatar of robgranholm
    robgranholm
    Participant

    @robgranholm

    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?

    Avatar of robgranholm
    robgranholm
    Participant

    @robgranholm

    @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?

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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.

    Avatar of SaoWolfe
    SaoWolfe
    Participant

    @saowolfe

    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

    Avatar of SaoWolfe
    SaoWolfe
    Participant

    @saowolfe

    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?

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Topic Content Missing for All Users but Adminstrators, but Replies Show?!’ is closed to new replies.