MyBB Community Forums

Full Version: Imgur Upload
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
ok solved thanks
(2013-04-11, 12:49 PM)Shemo Wrote: [ -> ]is anyone else having the problem with the spinning image just continually spinning when using firefox?
That happens to me.
I'm using Chrome.

Which keys do I put where?
There's a Private Key and a Client Key.
Thanks.
Pretty useful. Will try it.
I canĀ“t upload.Nothing happens.

Authorization type: ?
it's not work Smile
working fine on my side.. Wink
Is that working on sc editor? I tried all steps...still nothing showing..any help?
(2013-05-18, 09:35 PM)KingCupid Wrote: [ -> ]Is that working on sc editor? I tried all steps...still nothing showing..any help?

not work with code provided here...
need some modification... i use in my forum with sceditor...

[Image: ngC75HD.png]

in jquery.sceditor.mybb.helper.js

	/********************************************
	 * Imgur Tag *
	 ********************************************/
$.sceditor.command.set("imgur", {
    exec: function () 
	{
		MyBB.popupWindow('imgur.php', 'imgur', 240, 200);
	},
    txtExec: function() 
	{
		MyBB.popupWindow('imgur.php', 'imgur', 240, 200);
	},
    tooltip: 'Upload to Imgur'
});
$.sceditor.plugins.bbcode.bbcode.set("imgur", {
    tags: {
        pre: null
    },
    format: function () 
	{
		MyBB.popupWindow('imgur.php', 'imgur', 240, 200);
	},
    html: function () 
	{
		MyBB.popupWindow('imgur.php', 'imgur', 240, 200);
	}
});

find

"toolbar:"

and add "imgur"

need add too in default.min.css or theme of your choice

.sceditor-button-imgur div { background-image:url(imgur.png); }

need upload imgur.png in jscripts/sceditor/themes

other things are same of this thread
Hey Martec wanted to know if there was any guide to integrate sce editor in mybb? Can you please share how you did it?
Pages: 1 2 3 4 5 6 7 8