MyBB Community Forums

Full Version: [1.8] How add imgur upload button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(2015-01-14, 07:38 AM)mujeebdgk Wrote: [ -> ]Imgur button is working fine with me , but today i want to know that , every time when we update mybb version , we again have to edit these files to working imgur button , is there any permanent solution ? mean when we update mybb version then it shouldn't be change . Smile hope i clear my point

try Leefish solution http://community.mybb.com/thread-155796-...pid1131600

(2015-02-17, 06:39 PM)niere8 Wrote: [ -> ]Hi, imgur button works perfectly, but images uploaded from users don't appear in my album (public).

Is there a way to "connect" my album to imgur button?

So I can have images uploaded from users in my forum on my public album and maybe I can get a image gallery.

Thank you

free gallery what rememeber has limit of images that can stored.
Thank you for the reply. So isn't possible in no way get a gallery image for mybb, without using images uploaded on forum? Also without imgur but with other services.
Because I'm afraid to run out of space web...
(2015-02-17, 07:37 PM)niere8 Wrote: [ -> ]Thank you for the reply. So isn't possible in no way get a gallery image for mybb, without using images uploaded on forum? Also without imgur but with other services.
Because I'm afraid to run out of space web...

normally you need paid account...
i believe that paid account of imageshack possible make what you trying...
(2015-02-17, 06:45 PM)martec Wrote: [ -> ]
(2015-01-14, 07:38 AM)mujeebdgk Wrote: [ -> ]Imgur button is working fine with me , but today i want to know that , every time when we update mybb version , we again have to edit these files to working imgur button , is there any permanent solution ? mean when we update mybb version  then it shouldn't be change . Smile hope i clear my point

try Leefish solution http://community.mybb.com/thread-155796-...pid1131600
Thanks leefish and martec for great tutorial. 
leefish gave us great solution but .
what is about CSS ? how can we add it else of mybb.css ? i tried in global css but thats not working .
and for quick reply buttons should we add same script in quick code button template ?
You can add the css in your template. It isn't exactly semantic, but it works.

In codebuttons template, after this

<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/editor_themes/{$theme['editortheme']}" type="text/css" media="all" />

add your style tags

<style type = "text/css">
Css as in Martec's Tutorial
</style>

And yes, I used the same codes in martec's code butquick template and it worked
Just tried this but when I upload to imgur it doesn't load the image and when looking at the source it shows up as <img src="undefined"> any fix for this problem?

[Image: 9HlRF02.png]

EDIT:
Fixed I deleted the "Client-ID" bit from the code and replaced the whole thing with my client-id.
If anyone else is having the same problem only change the red bit on the code.

 // Ok, I don't handle the errors. An exercice for the reader.
 xhr.setRequestHeader('Authorization', 'Client-ID ACTUAL-CLIENT-ID');
 /* And now, we send the formdata */
 xhr.send(fd);
 }; 

Thanks martec  for the simple solution
(2015-03-13, 12:45 AM)kaashi Wrote: [ -> ]Just tried this but when I upload to imgur it doesn't load the image and when looking at the source it shows up as <img src="undefined"> any fix for this problem?

[Image: 9HlRF02.png]

EDIT:
Fixed I deleted the "Client-ID" bit from the code and replaced the whole thing with my client-id.
If anyone else is having the same problem only change the red bit on the code.

 // Ok, I don't handle the errors. An exercice for the reader.
 xhr.setRequestHeader('Authorization', 'Client-ID ACTUAL-CLIENT-ID');
 /* And now, we send the formdata */
 xhr.send(fd);
 }; 

Thanks martec  for the simple solution

I got the same error, and did that and it still didn't work.

I did the Leefish tutorial on doing this in codebutton template, and it still doesn't work.
Can you figure out how to do this with dropbox or any other cloud storage drive?
(2015-05-26, 12:37 AM)Sinaloense Wrote: [ -> ]For use this in? http://community.mybb.com/thread-156080.html

you can use Miuna Shoutbox that already come with imgur button.
http://community.mybb.com/thread-166773.html
Pages: 1 2 3 4 5