I created a tutorial for forking themes, versioning them, and getting them up on Heroku: http://glassdimly.com/blog/tech/nodebb-yarn-nodejs-javascript-yalc/how-fork-and-deploy-nodebb-custom-theme-heroku
glassdimly
Posts
-
Quickstart your NodeBB theme development -
Redirect after login?Hi @gotwf,
Thank you for your input, and I hear you. Currently, client wants to let users log in and post immediately--and to be clear that's already configured and done, an option in NodeBB. If we get spam, easy to change. We also have good mods.
The only thing I need here is that I want them to be redirected to the page from which they started. I could write a cookie or something, or maybe make a query string deal. I could even track down the login button and try to ajaxify it. But I'm sure others have done this, so I thought I'd ask.
The question is the same whether someone registers or logs in: I want them to be redirected back to the page from which they clicked "Log in to post".
In other systems, namely Drupal, this is what happens, which is why as a dev I think it's important.
Users also expect this. They don't want to hit the back button to get to where they were before. Some low-tech users like grandmas just get confused at that point.