[nodebb-plugin-imgur] Imgur Plugin
-
NodeBB Plugin Imgur
A plugin that uploads images to Imgur.
Installation
npm install nodebb-plugin-imgur
Setup
-
Register an imgur app here
-
After entering the values click Authorize, you will be redirected to imgur to allow access to your app.
-
Once you allow access you will be redirected back to nodebb.
-
Optinally create an album for your forum on imgur and put its album ID in the NodeBB ACP.
More info on Github
-
-
Removed the imgur client ID setting from admin/settings. After enabling the plugin the id can be put in the plugins/imgur page. Once enabled all images including user profile images, post images, site logo and category images are uploaded to imgur through the plugin. The only thing that is saved to local is the favicon.ico since imgur doesn't seem to allow icons.
Might have to do some more work there since some plugins like the S3 should still work for the icon.
-
@planner nope, it goes for all uploads. Reason being is that ideally you can have NodeBB running on several servers fronted by a load balancer, and data is sorted in a shared manner. That's why you use an asset server (s3, imgur, rack-cdn, nginx) for file uploads. Ideally we'd have a plugin that was "nodebb-plugin-uploads-local" or something, which was one that wrote to disk where NodeBB is running and serves using connect.static or something.
-
Ideally we'd have a plugin that was "nodebb-plugin-uploads-local" or something, which was one that wrote to disk where NodeBB is running and serves using connect.static or something.
Yeah, that's the idea whenever we create hooks to move core features to plugins. When we move search to its own hooks, a Reds NodeBB plugin will be created.
-
I had the same problem too... make sure you updated the plugin to latest
npm install nodebb-plugin-imgur
-
npm install nodebb-plugin-imgur
@psychobunny Yup, mine is the latest one, but still unluck, did u manage to make it work?
-
@baris, how exactly should the imgur app be configured?