Is there a method (plugin) to assign new registrations to a group?



  • I went through all the listed plugins and various settings and did not see anything that looked like a method to auto assign a group to new registrants.

    Along the same line, it would be nice if there was a way to force a group to be displayed for all users without them self identifying.

    Obviously, if this was set at registration, that would be best. Then the settings screen would let them change it if they had access to more than one, but never let them set it to no group displayed?


  • Translator

    I think you can achieve this somewhat with the reward plugin build into NodeBB. I might be mistaken on this though.



  • @Kowlin said:

    I think you can achieve this somewhat with the reward plugin build into NodeBB. I might be mistaken on this though.

    I seen that one, but had not looked into it because I was not after all its features. hmm, something to consider.


  • Plugin & Theme Dev

    @JaredBusch try this plugin nodebb-plugin-assign-newuser-to-group

    https://github.com/pichalite/nodebb-plugin-assign-newuser-to-group


  • Plugin & Theme Dev

    @JaredBusch It's probably not listed in the ACP plugins page because I have not updated the NodeBB compatibility setting. You can install it using npm i nodebb-plugin-assign-newuser-to-group



  • @pichalite said:

    @JaredBusch It's probably not listed in the ACP plugins page because I have not updated the NodeBB compatibility setting. You can install it using npm i nodebb-plugin-assign-newuser-to-group

    Hah, just was trying to find it!



  • @pichalite said:

    npm i nodebb-plugin-assign-newuser-to-group

    Here are your warnings that need fixed, but it installed and I configured it, thanks.

    [root@daermabb nodebb]# npm i nodebb-plugin-assign-newuser-to-group
    npm WARN package.json nodebb-plugin-soundpack-default@0.1.5 No README data
    npm WARN package.json passport@0.3.2 No README data
    npm http GET https://registry.npmjs.org/nodebb-plugin-assign-newuser-to-group
    npm http 200 https://registry.npmjs.org/nodebb-plugin-assign-newuser-to-group
    npm http GET https://registry.npmjs.org/nodebb-plugin-assign-newuser-to-group/-/nodebb-plugin-assign-newuser-to-group-0.0.1.tgz
    npm http 200 https://registry.npmjs.org/nodebb-plugin-assign-newuser-to-group/-/nodebb-plugin-assign-newuser-to-group-0.0.1.tgz
    npm ERR! peerinvalid The package redisearch does not satisfy its siblings' peerDependencies requirements!
    npm ERR! peerinvalid Peer nodebb-plugin-dbsearch@0.2.18 wants redisearch@^0.0.6
    npm ERR! System Linux 3.10.0-229.20.1.el7.x86_64
    npm ERR! command "node" "/usr/bin/npm" "i" "nodebb-plugin-assign-newuser-to-group"
    npm ERR! cwd /opt/daerma/nodebb
    npm ERR! node -v v0.10.36
    npm ERR! npm -v 1.3.6
    npm ERR! code EPEERINVALID
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /opt/daerma/nodebb/npm-debug.log
    npm ERR! not ok code 0

  • Plugin & Theme Dev

    @JaredBusch that's expected because I did not update compatibility setting



  • Ah, I just missed the module and started searching.

    Thanks for the hint how to install it 👍




Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.