I have no fields in my login page :
![Capture d’écran 2015-02-10 à 20.37.20.png](uploading 100%)
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
#login and then
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!