[nodebb-plugin-imgur] Imgur Plugin
-
@linan2332 Did you follow the steps in the plugins setup page in ACP?
-
Yes, i follow the steps in https://github.com/barisusakli/nodebb-plugin-imgur
register a new user, authorize the application with secret and client id. Everything proceed with no errorIt seems like there are some people also not able to fix it. However I saw in this post it is being solved.
-
@linan2332 after you entered the client id and secret in the plugin ACP page and clicked enter..... it takes you to imgur website to authorize... after you authorize it... did it return back to the same ACP plugin page?
-
@linan2332 well then I have no idea what else to do... works fine for me in two separate installations.
-
I dig into the logs and find the following error, does this help..?
8/1 04:05 [204] - [31merror[39m: /api/admin/uploadlogo
Error: invalid-refresh-token
at refreshToken (/app/node_modules/nodebb-plugin-imgur/index.js:102:20)
at Request._callback (/app/node_modules/nodebb-plugin-imgur/index.js:216:13)
at Request.self.callback (/app/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/app/node_modules/request/request.js:1035:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:962:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7) -
Hello and thanks for the great plugin!
I've noticed that since my upgrade to Nodebb v1.4.x when uploading an image with the imgur plugin, before I had a lovely percent progression, 1% to 100% now I just have a "100%" mention next to the imgur link being generated.
Is there a way to correct this or did I do something wrong?
-
@baris First of all thanks for the great work. Is there any plan to update this plugin ? Since imgur provides way to get thumbnails link by appending a simple letter suffix to the basename, here are 3 features I can suggest.
- Adding an option for the user to choose one of the available imgur thumbnails instead of the full size image
- Adding an option for an admin to choose a mandatory maximum thumbnail size
- Best would be adding an option so the plugin create a clickable thumbnail that link to the full size image, i.e. something like
[![imgur](http://i.imgur.com/pictureh.jpg)](http://i.imgur.com/picture.jpg)
Surely I'm not the sole nodeBB admin with some photo heavy threads that would like to force the user to use the huge thumbnail (which in reality is only 1024x1024) instead of the full size image so that mobile and low bandwith users can load the pages faster.
-
@TaLoche said in [nodebb-plugin-imgur] Imgur Plugin:
Hello and thanks for the great plugin!
I've noticed that since my upgrade to Nodebb v1.4.x when uploading an image with the imgur plugin, before I had a lovely percent progression, 1% to 100% now I just have a "100%" mention next to the imgur link being generated.
Is there a way to correct this or did I do something wrong?
100% is not done. That means it uploaded 100% but the system has not yet returned the URL.
Just wait until it switches to the URL.
But because it is hard to explain this to users, it would be better if the plugin changed from 100% to waiting or something so people know it is not done.
-
@damian said in [nodebb-plugin-imgur] Imgur Plugin:
@TaLoche I have the same problem on mobile. It works fine on desktop but on mobile I get
"Error
Something went wrong when parsing the server response."
I never have any problems from mobile.
Imgur occasionally has load problems and you will see this error then.
If you try to load imgur manually you will see their overloaded message.
-
One thing I would like is if the plugin can detect that a new topic post has no category selected yet and do something about it.
I cannot count the number of times I have made a new post on mangolassi.it and added an image before selecting the category.
This causes the image upload to fail with a permission error. After it has sent everything to imgur.
-
@JaredBusch I'll see if I can put some info together on this and report back. I just got a local (dev) install running of my forum so I can run with debug output and see what I can get. It's still happening.
Stay tuned, and thanks for the reply.
-
New problem with this plugin after upgrading to NodeBB 1.10.2 and plugin version 1.0.2
https://github.com/barisusakli/nodebb-plugin-imgur/issues/35