Skip to content

If forum is a category, do not look for topics #15

Open

Description

@ePascalC
No description provided.

Activity

  1. ntwb commented on Jul 11, 2017

    @ntwb

    FYI: A category forum can contain topics

    Typically they don't, but there are various methods of achieving this, one such way is to create a topic in the forum before changing the forum to a category

  2. ePascalC commented on Jul 11, 2017

    @ePascalC
    OwnerAuthor

    Fully agree, I have converted a forum to a category and back to forum and of course still had the topics. But if in the API the details of a category are requested, should the attached topics be shown?

  3. ntwb commented on Jul 11, 2017

    @ntwb

    I think they should, the use case I've typically seen for this is a "placeholder" topic in the category forum, typically this topic is closed to new replies and contains a FAQ of sorts to the forums contained within the category

  4. ePascalC commented on Jul 11, 2017

    @ePascalC
    OwnerAuthor

    Great reasoning, so also categories should show the topics. But so this means also the 'post new topic' should allow posting to a category.

  5. tkserver commented on Jul 11, 2017

    @tkserver

    I don't disagree with the logic of the discussion, however I will not be allowing my app users on my own site to post in a category. If I wanted them to be able to do that I would have made it a forum!

  6. ntwb commented on Jul 11, 2017

    @ntwb

    This should follow bbPress' standard permissions, standard users aka participants can not post new topics in a category, buy keymasters can

    It's 2am here, I'm not checking the code for what permissions moderators have in this regard, but the same deal, whatever permissions moderators have should also be used 😏

  7. ePascalC commented on Jul 11, 2017

    @ePascalC
    OwnerAuthor

    On that part I see no issue. All permissions apply as standard bbp_insert_post is used. I'm still only doing anonymous inserting (well, with a small twist for now), but when 'logged in', the POST will fail if the poster has no adequate permissions.
    Get some sleep ! ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions