Hey guys. I recently picked up NodeBB (needed it for a client) and it was (still is) awesome. However, I need help with Plugin development. I could have sat down and dissect the docs (which seems scatterd BTW), but I am super duper busy. . . And I wish to develop the plugin ASAP. So I need a link or anything (blog posts, Youtube videos, books, etc) to get me started. A blog tutorial that outlines the plugin dev process and probably builds a sample plugin would be super helpful....
And BTW, my Nodejs skills is about 6 on a scale of 10, so a dummy approach would be highly appreciated.

@PitaJ Thanks for the answer!
I don't really know what do you mean by "template base object", do you mean the template file, or the template renderer?
EDIT:
Or it's just by doing like data.title = "blabla" before the render?
Also can I add other metadata to improve the SEO of the page?

@pichalite said in Restrict access on /users and /api/users if not logged:
ACP -> Settings -> Guests
Thanks @pichalite .
Actually the guests can access the /users page and /api/users.
The setting will hide the search fields, but they can see the page anyway and use the pagination to see the users.
I've finally added this on my routeSetup:
routeHelpers.setupPageRoute(
router, '/users', middleware, [middleware.checkGlobalPrivacySettings, middleware.requireUser], usersController.index);
and now I get the "Access denied" page that I wanted.
Thanks for the help.

I cloned @CCob's OneSignal push notification plugin, which is basically the Pushbullet plugin.
However, whenenver I try to visit the route to enter my user specific settings a 404 error is returned.
If you hit F5 to reload the page it will show up, leading me to the conclusion something is wrong with Ajax/the route itself.
Is there any way to correct this?

Sorry to hear that making a theme is difficult for you
Like @Pitaj says, using grunt to autocompile assets immediately on save is the best way to reduce the time in between changes.
@psychobunny also has some tips and tricks that may be helpful for you

Similar to something like <!-- IF !isTopicOrMain --> or <!-- IF !isEditing -->, is there some variable I can check in my .tpl file to see which category or subcategory I'm in?
I'm building out a custom composer that changes based on where the topic is being posted. For instance, it would know that I'm currently in the "NodeBB Plugins" category and display a particular part of my .tpl file, otherwise it wouldn't.

I'm looking to include custom forms on my site so that users can post uniform data for certain categories.
What would be the best way to tackle this? Would I need to create an entire plugin for a new composer, just make a custom .tpl file, etc.?
Looking for any suggestions or help! Attached are a few mockups of the form from an older website-