Login via Home
Is it possible for users to login directly from the homepage?
On a forum, such as this one, directly on https://community.nodebb.org/ is it possible to login directly there instead of having to goto the login page itself.
Not a popup, just on the page itself.
Sure, off the top of my head all you would need is a button with id
require('forum/login')and NodeBB should handle the rest for you
You'd need these fields too, obviously: https://github.com/NodeBB/NodeBB/blob/master/public/src/forum/login.js#L11-L16
EDIT: Please find the latest version of this code here: https://community.nodebb.org/topic/4283/widgets-how-to-place-a-login-form-on-the-homepage-or-anywhere-else
Thanks I'll give it a shot!