No, it doesn't follow this tutorial, it uses MyBBEditor.insertText(code);
I'll do tests on next week-end
yes,
waldo have this recognized.
solution:
find imgur_popup:
MyBBEditor.insertText(code);
$.modal.close();
replace:
if(MyBBEditor) {
MyBBEditor.insertText(code);
$.modal.close()
} else {
$("#message, #signature").focus();
$("#message, #signature").replaceSelectedText(code);
$.modal.close()
}
works!!! thank you very much to all!
Ok, thanks him for the correction, I'll add this in the plugin. But the
$.modal.close() can be after the condition:
if(MyBBEditor) {
MyBBEditor.insertText(code);
} else {
$("#message, #signature").focus();
$("#message, #signature").replaceSelectedText(code);
}
$.modal.close()
hi, after installet and activated plugin home page not working ,and not opened home page forum,but acp no problem.
(2015-06-25, 11:44 AM)roy Wrote: [ -> ]hi, after installet and activated plugin home page not working ,and not opened home page forum,but acp no problem.
It might be a trouble with the GZip compression of your forum, due to the file encoding.
Try disable the compression and check if your forum works (with the plugin activated).
If it works, verify you have the latest build (actually, #12). The latest "stable" version (#9) has an encoding bug.
hi, dev 12 working .
thanks.
upload to imgur in the quickreply:
add in the plugin:
$plugins->add_hook('private_read', 'imgur_button');
$plugins->add_hook('showthread_start', 'imgur_button');
and in the templates after smilies or what ever in the quickreply-section:
{$imgur_button}
and try please in the template imgur_button this: &