• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Duncan Sullivan
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    Duncan Sullivan

    @Duncan Sullivan

    1
    Reputation
    166
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Duncan Sullivan Unfollow Follow

    Best posts made by Duncan Sullivan

    • Guidance on creating a topic approval by category plugin

      Hey, all. I'm trying to get into plugin development to customize my nodeBB site but I'm finding the documentation a little lacking and my search attempts haven't been too fruitful, so my apologies if I'm asking silly/repeated questions.

      So, my end goal is that I'd like one specific topic category to require approval on all topic creations to ensure quality in that category (in my case, how-to instructions/guides). So, basically I'd like to utilize the post queue but instead of by new member, by category instead.

      First off, how could I best store this data? I'll probably make a basic ACP page to read and allow selection of categories admins would desire requiring approval in. But then, what calls would I need to make to store this data in the DB? Should it be attached to the category data? Is there a more appropriate place to put it?

      Second I assume I'll be using the filter:post.shouldQueue hook? How would I ultimately figure out if they're posting in a category requiring approval/access the data from the first question?

      Thanks in advance!

      posted in Plugin Development
      D
      Duncan Sullivan

    Latest posts made by Duncan Sullivan

    • RE: Guidance on creating a topic approval by category plugin

      Awesome, thanks! Here's hoping.

      posted in Plugin Development
      D
      Duncan Sullivan
    • Guidance on creating a topic approval by category plugin

      Hey, all. I'm trying to get into plugin development to customize my nodeBB site but I'm finding the documentation a little lacking and my search attempts haven't been too fruitful, so my apologies if I'm asking silly/repeated questions.

      So, my end goal is that I'd like one specific topic category to require approval on all topic creations to ensure quality in that category (in my case, how-to instructions/guides). So, basically I'd like to utilize the post queue but instead of by new member, by category instead.

      First off, how could I best store this data? I'll probably make a basic ACP page to read and allow selection of categories admins would desire requiring approval in. But then, what calls would I need to make to store this data in the DB? Should it be attached to the category data? Is there a more appropriate place to put it?

      Second I assume I'll be using the filter:post.shouldQueue hook? How would I ultimately figure out if they're posting in a category requiring approval/access the data from the first question?

      Thanks in advance!

      posted in Plugin Development
      D
      Duncan Sullivan

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact