MyBB Community Forums

Full Version: ABP Imgur : one click upload and insert picture
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
(2015-02-13, 11:14 PM)Crazycat Wrote: [ -> ]Easy to do, I'll add this in the next version. Coming next week I hope Smile

Ah fantastic!
I cannot wait for this, this is the best thing so far!! Make it happen dude, we are behind you!!
+1 for idea, and plugin.
Thanks !
This plugin work on Mybb 1.6?
I didn't try it for 1.6.
Btw, 1.6 mods can't be proposed on the extend part, and I don't have any 1.6 forum Smile
(2015-02-13, 10:08 PM)GreyGhost Wrote: [ -> ]
(2015-02-13, 07:54 AM)Crazycat Wrote: [ -> ]I'll add a warning in the plugin to prevent this Smile

Works fantastically now! Thank you very much.

Would you also be able to the upload button to new private message response? Would that be easy to do?

Thank you!

The new version (#3) is now working with PM.
I also corrected a stupid error in uninstall procedure.
(2015-02-19, 09:27 AM)Crazycat Wrote: [ -> ]
(2015-02-13, 10:08 PM)GreyGhost Wrote: [ -> ]
(2015-02-13, 07:54 AM)Crazycat Wrote: [ -> ]I'll add a warning in the plugin to prevent this Smile

Works fantastically now! Thank you very much.

Would you also be able to the upload button to new private message response? Would that be easy to do?

Thank you!

The new version (#3) is now working with PM.
I also corrected a stupid error in uninstall procedure.

Awesome!

Thank you very much.
Firstly, thanks for this wonderful plugin.

Managed to get it working but
is it possible to make the return of the code to become https instead of http. As this will prevent mixed content flagged up when using ssl.
Well, the returned url comes from imgur directly.
If you want to have the scheme according to yours, here is a small hack:

find in the global template imgur_popup
var code = '[img]' + JSON.parse(xhr.responseText).data.link + '[/img]';

Add just after
code = code.replace(/https?:/, '');

Save and try.
the https: was omitted..

[img]//i.imgur.com/uPfAatL.jpg[/img]


Edited: realised it is still wroking without the https:

Thanks
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27