[nodebb-plugin-ns-custom-fields] NS Custom Fields

  • Global Moderator

    @andre-mosin sorry I made a couple big typos there. I meant to ask if you are storing the user data on the user object in the database.


  • @pitaj I was trying to figure that out and I think it is like a sub key in the user object like:

    {
    "_key": "user:1:ns:custom_fields",
    "myField": "test value"
    }

    it doesn't look like a regular field in the user object which is like this:

    {
    "_key": "user:1",
    ....
    "joindate": 1602212738594,
    "lastonline": 1602703044144,
    "status": "online",
    "uid": "1",
    "username": "admin",
    "userslug": "admin",
    ...
    "reputation": 4
    }


  • @andre-mosin ok... thanks for all the help... I probably will need more help though... lol I think I have all that I need now and I decided to change the route... I was trying to utilize existing plugins but I am having to make so many changes to the existing ones that I decided to start a new one from scratch that will include everything I need. I learned a lot from looking and trying to modify other plugins that I think it makes more sense to write from scratch.

Suggested Topics

| |