jsalomone (@jsalomone)

Forum Replies Created

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

  • jsalomone
    Participant

    @jsalomone

    I still have the problem on my site, and am not using WishList Member.

    I tried a clean install with all plugins I am using, and maybe the order of installing was different, but on the clean install I had no problem, until I did a database restore. Something in the db messes it up. I can’t see where in the code the showing of the first post (or any) is checked against some condition.

    Did the past updates of bbpress and other plugins too (not the latest wordpress though) and the behavior is still the same.


    jsalomone
    Participant

    @jsalomone

    I had already done all the repairs too, even locked me out when I was remapping existing users to forum roles, got that back by editing in the db though using a backup.

    I have looked at the code and what it does in the end is return true or false in every case, resulting in the showing or not showing of the whole page, not forum elements. And disabling that code completely just skips the check, done that several times, but it didn’t make a difference.


    jsalomone
    Participant

    @jsalomone

    I have gone through those steps a number of times already, including removing the membership plugin. This membership plugin is not specific to bbpress. It has no awareness of topics and users and such. It is to restrict access to wordpress pages and posts.

    The way the forum is protected is by this code: https://gist.github.com/strangerstudios/1633637
    What it basically does is determine if it is going to show forum content or not and then either not show it at all and redirect to another page (in my case the home page) or continue and show whatever the forum is showing. It does not discriminate between topics or replies or whatnot from what I can tell.

    Again, disabling that bit, or disabling the membership plugin as a whole does not make a difference.

    Walking through all forum roles: blocked shows a 404 page, all the others show the content except the first post (of type topic)

    Walking through all wordpress roles: only administrator will show the first post (of type topic)


    jsalomone
    Participant

    @jsalomone

    When I look in the database table for posts I see the post type of the first post is topic and the following are all of type reply. the menu order column seems to be the order for the posts to be displayed, first being 0. Changing that number to one higher than the current last reply doesn’t show anything different.
    Could it be showing of posts of type topic is exclusive to administrators in some way?


    jsalomone
    Participant

    @jsalomone

    It is a new installation, and I noticed this after someone reported strange things happening. I had not seen it since I was using an admin account, so I can only assume it has always been like this, well, since Friday as that was when we went live.
    The forum is not public although it is set to public in the forum. It is protected by functions that check for a site membership (Paid Memberships Pro). When I disable that functionality the behaviour stays the same. I can enable/disable by removing the respective functions. But can’t leave it open as people have personal details posted.
    How would it be that an administrator (WP role) would see the first post but not any other role, regardless of the forum role set (I have not tried the Blocked one though)

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