Skip to:
Content
Pages
Categories
Search
Top
Bottom

View query not working if role is not Moderator


  • buildcreate
    Participant

    @buildcreate

    Hi!

    JJJ- I meant to bug you about this at WCCHI but decided not to be that guy 😉

    I have registered a custom view, it’s an extension on Pippin’s unread posts plugin to have a view for your unread posts. It works great for admins and anyone Moderator and above, but for normal forum users it just displays every single post in the forum. I have spend like 15 hours beating my head against the wall trying to debug this and I can’t find anywhere that it would be limited (not in the role parameter of the hook). How I’m creating it is the same as in every other plugin I’ve checked and even looking through bbpress core I can’t find anything…outputting the query vars right up until the topic display outputs the correct array. So no idea what’s going on.

    halp.

  • You must be logged in to reply to this topic.
Skip to toolbar