@baris thanks very much for this. I'll test it now
Edit - from what I can see, everything now works as expected. Thanks
I believe you can use
npm outdated to find which plugins are outdated...
hahaha awesome. Maybe this should just be bundled along with core (or maybe even just part of the core). Looks like you won next week's contest already (plus you'll have 7 whole days worth of upvoting...)
I would be honored if this became part of core. Of course it's a little rough, and some of the remnants of construction are still there, so this is not completely done yet but the basic functionality is there! Hat's off to @Mr_Waffle for writing that sockets guide too, that helped things along for me nicely.
@tedr56 that's on the todo list, it shouldn't be too hard to add that
This has been updated to version 0.0.2 to address the duplicates issue
@bdharrington7 my life is complete
I updated this once more, I was getting an error when trying to update, but there was a bug in my package.json file, so to update, you might have to uninstall and then reinstall, current version is 0.0.3
Update to 0.0.4, added option to specify auto-update, and made the interface a little more user-friendly
Think this has been broken since the jump to 0.4.0, plugin page 404s.
@julian I think I could live with that. Sounds good!
I'm pretty sure you can do
require('npm') and then execute things like installs and uninstalls, which may be way nicer than shelling out to the
Yup. I think it's not directly supported like the cli tools are, however, though they do use the same underlying codebase, probably.
It's bad form to hijack a thread for an unrelated issue. What you want to do is, start another discussion in this category. State in as much detail as you can what the problem is and one or more people should be able to help you get NodeBB running properly. Remember to state what OS you are running and what Web server and the version of the Web server, too.
I'm pretty sure you can do
require('npm')and then execute things like installs and uninstalls, which may be way nicer than shelling out to the
I'll try to implement that in the next iteration
@julian It seems there was some sort of breaking change that I can't find any reference to anywhere in the docs or the forums that's causing my finder plugin to 404. I saw the deprecated staticDir -> staticDirs notice (which would be a breaking change in 0.5.0), but nothing of that magnitude for anything in 0.4.0. Is there a different, more updated way to declare the admin templates now?
Yeah defining routes changed quiet a bit, check out https://github.com/barisusakli/nodebb-plugin-imgur/blob/master/index.js#L22
Welcome back @BDHarrington7 Let me know if you need a hand with the upgrade, I just submitted a PR for @BarveyHirdman's plugin a few days ago if you want to have a look at it here: https://github.com/psychobunny/nodebb-plugin-emailer-local/commit/59044af4c068d5f9d909a5a1119b42c23ac18c26
Basically, we got rid of that convoluted way of declaring routes, and made it as if you were creating a route in any ordinary express app.
@psychobunny Thanks! I just moved to the SF bay area so I haven't been on the boards as much as I'd like to
I just updated the plugin to work with 0.4.x, now at version 0.0.5