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.
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.
You could replicate and modify what in NodeBB are categories as groups (Movie/games/tv show), and what in NodeBB are topics as actual elements (a movie, a tv-series, a game). The best examples of code are their one and you can find them in /src
In order to use these things in your plugin, check official plugins code ^^