@julian Thanks for getting back to me quickly. Other priorities pulled me away from this, but after looking at your response, it seems like what I'm actually after are "unread" counts, not just notifications. The simple GET solution returned notifications, but not every "unread". Our app is using the session sharing plugin, and we are associating NodeBB accounts with our app accounts. Would I be able to leverage some of the session sharing functionality to get an unread count for users on our app based on their NodeBB account? Thanks
HOOK for intercepting "Register user"
-
I want to be able to achieve the following feature : "When user registers AS A NEW USER to the NodeBB Site SUCCESSFULLY, I want to create a same user to some other appplication with same username and password".
Query : Any HOOK that I can intercept to achieve this feature ? Also, can I get the username and password as part of parameters for that HOOK ?
-
@Gauri-Padbidri You'll want to listen for the
action:user.create
hook, which is fired after a user is created successfully.It returns user data, including username, although for security purposes, it does not return the password.
-
Thanks Julian ! But, what if I want to somehow get the users entered password into that action hook ? Any thing I can do to get the password in the create User HOOK ?