I know a AdSense Plugin already exist (nodebb-plugin-google-adsense). But it is not compatible with 0.7.x and the developer does not update it. So if someone could make a new one or update the existing one - that would be nice.
@a_5mith @Ted Now now play nice, upvotes for the both of you.
@psychobunny and @baris would make fun of me here, because back then I suffered from the same lock-in, except it was MooTools that I was using instead of jQuery XD
Yes, as @Schamper recommends, do not use relative paths to break out of the plugin's root directory, just use module.parent.require to require from the context of plugins.js, or require.main.require to require from the context of app.js
To answer OP, I use npm link to link my folders together. I have one big messy NodeBB install ( ) and next to it is a plugins/ folder where all the plugins live.
@psychobunny integrated grunt into NodeBB, so I just use grunt --verbose to develop now, instead of ./nodebb dev