Amazon S3 configuration + more questions



  • I'm new to NodeBB and I like it.
    Now I want to customize a few things.

    • for user profiles I want to add a few extra fields. Besides bio, I'd like to add two fields, "specialization" and "company". How can I do that?

    • I'd like to create a tooltip. When the users hover the name of an user, the tooltip would display a few profile items. How can I do this?

    • how do I setup Amazon S3 for file uploads?

    • I would like to create bulk invites, via API. How can I do that?

    • I'm using Timuu theme and I'd like to change the class of the category. How can I do that?

    Thanks in advance


  • Admin

    Amazon S3, I think there's a plugin for that.

    Everything else would involve some custom work to plugins and themes. If you're interested in this, I'd reach out to us at sales@nodebb.org for a quote.

    ... alternatively I am sure there are some here who would also quote out the work for you 🙂



  • @julian thanks. I'm planning to do on my own, not because of the cost, but because I might want to get deeper in development in the future.

    Some questions were short, but were intended to find out if is correct what I'm trying to do.
    For instance to add additional fields to the user profile.


  • Admin

    For that, you'd want to create a theme so that you can modify the user profile editing page.

    There are also some whitelist hooks that you need to listen for, since the user object is locked down to a specific subset of properties.



  • @julian is going well, I think. Now I want to modify the registration process. That can be done with the theme, or affects NodeBB code base?
    I found this specific function in "src/controllers/authentication.js": registerAndLoginUser
    Can I modify it in my theme?


  • Admin

    What are you changing in the registration process?



  • @julian I want to add a field in the registration form.
    The users will receive an invitation code and enter it manually.
    This invitation code will be generated in the database, but without being associated with any email address.


  • Admin

    Then likely the filter:register.check on server-side (to verify the invite token), and you'd modify the register.tpl file in your theme to add the new fields.



  • @julian thanks.

    In which theme I can find the template for the profile feature (see below)?

    0b48d27a-8331-4785-a74e-bc2b5a296d66-image.png



  • For who else might be interested on adding custom registration fiedls, I found a plugin which seems to be this:
    https://github.com/btw6391/nodebb-plugin-custom-registration-fields


Log in to reply
 

Suggested Topics

  • 5
  • 4
  • 2
  • 3
  • 3
| |