• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

Approval Topic

Scheduled Pinned Locked Moved NodeBB Plugins
14 Posts 5 Posters 3.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • terminetor1717T Offline
    terminetor1717T Offline
    terminetor1717
    wrote on last edited by
    #1

    Is possible approval topic before posting it? If so, how?

    DukeD 1 Reply Last reply
    0
  • DukeD Offline
    DukeD Offline
    Duke
    replied to terminetor1717 on last edited by
    #2

    @terminetor1717 Under the category and the privlidges menu tick "moderate"

    1 Reply Last reply
    0
  • terminetor1717T Offline
    terminetor1717T Offline
    terminetor1717
    wrote on last edited by
    #3

    @Duke moderate is permission for moderate topic no for approval topic

    DukeD 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #4

    Enable post approval queue in /admin/settings/post#posting-restrictions, the restriction only applies to new users(no posts no reputation)

    1 Reply Last reply
    1
  • terminetor1717T Offline
    terminetor1717T Offline
    terminetor1717
    wrote on last edited by
    #5

    is possible ability for one category?

    1 Reply Last reply
    0
  • DukeD Offline
    DukeD Offline
    Duke
    replied to terminetor1717 on last edited by
    #6

    @terminetor1717 I dont get it, can you explain the difference? Arn't they the same thing?

    pichaliteP 1 Reply Last reply
    0
  • pichaliteP Offline
    pichaliteP Offline
    pichalite Plugin & Theme Dev
    replied to Duke on last edited by
    #7

    @duke Right now if you enable post approval queue, all posts from new users will be sent to the queue irrespective of the category it's posted in. He/she wants to only enable that for one specific category and not the entire forum.

    DukeD terminetor1717T 2 Replies Last reply
    1
  • DukeD Offline
    DukeD Offline
    Duke
    replied to pichalite on last edited by
    #8

    @pichalite ahhh got it, thanks 🙂

    1 Reply Last reply
    0
  • terminetor1717T Offline
    terminetor1717T Offline
    terminetor1717
    replied to pichalite on last edited by
    #9

    @pichalite yes! Is possibile?

    pichaliteP 1 Reply Last reply
    0
  • pichaliteP Offline
    pichaliteP Offline
    pichalite Plugin & Theme Dev
    replied to terminetor1717 on last edited by
    #10

    @terminetor1717 yes it's possible but not without writing code.

    terminetor1717T 1 Reply Last reply
    1
  • terminetor1717T Offline
    terminetor1717T Offline
    terminetor1717
    replied to pichalite on last edited by
    #11

    @pichalite said in Approval Topic:

    yes it's possible but not without writing code.

    does not exist a plugin?

    pichaliteP 1 Reply Last reply
    0
  • pichaliteP Offline
    pichaliteP Offline
    pichalite Plugin & Theme Dev
    replied to terminetor1717 on last edited by
    #12

    @terminetor1717 no

    1 Reply Last reply
    0
  • Andrea CardinaleA Offline
    Andrea CardinaleA Offline
    Andrea Cardinale
    wrote on last edited by
    #13

    @baris @psychobunny @pichalite
    a new hook in Posts.shouldQueue method could be usefull
    Example:

    Posts.shouldQueue = function (uid, data, callback) {
    	async.waterfall([
    		function (next) {
    			user.getUserFields(uid, ['reputation', 'postcount'], next);
    		},
    		function (userData, next) {
    			var shouldQueue = parseInt(meta.config.postQueue, 10) === 1 && (!parseInt(uid, 10) || (parseInt(userData.reputation, 10) <= 0 && parseInt(userData.postcount, 10) <= 0));
    			next(null, shouldQueue);
    		},
    		//Here a plugin could alter the value of shouldQueue
    		function(shouldQueue, next) {
    			plugins.fireHook('filter:post.shouldQueue', {uid:uid, data: data}, next);
    		},
    	], callback);
    };
    
    barisB 1 Reply Last reply
    1
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    replied to Andrea Cardinale on last edited by
    #14

    @andrea-cardinale that's a good idea 👍 https://github.com/NodeBB/NodeBB/commit/9a3a5192c4d25fecea0d0002f3892c814ea6380a

    1 Reply Last reply
    3

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development