18 Oct 2016 Edited #1

MyDropzone 1.2

Administrator

You are viewing page #6

Show original post
Filename Size Downloads
MyDropzone 1.2.zip
30.04 KB 38
LIONHAERT, Enes Palit, Tac like this post
SZyMeX PL 29 Jul 2019 Edited
#51
Hi everyone,
I have the same problem as @Gangst3r

Uncaught Error: No URL provided.
    at new b (dropzone.js?v=1.1:1)
    at dropzone.js?v=1.1:2
    at Function.Dropzone.discover (dropzone.js?v=1.1:2)
    at Dropzone._autoDiscoverFunction (dropzone.js?v=1.1:2)
    at HTMLDocument.d (dropzone.js?v=1.1:2)
b @ dropzone.js?v=1.1:1
(anonymous) @ dropzone.js?v=1.1:2
Dropzone.discover @ dropzone.js?v=1.1:2
Dropzone._autoDiscoverFunction @ dropzone.js?v=1.1:2
d @ dropzone.js?v=1.1:2
jquery.js?ver=1813:formatted:1485 Uncaught Error: Dropzone already attached.
    at new b (dropzone.js?v=1.1:1)
    at Object.init (rules.js?v=1.1:116)
    at HTMLDocument.<anonymous> (newreply.php:642)
    at l (jquery.js?ver=1813:formatted:1403)
    at c (jquery.js?ver=1813:formatted:1414)
Has it been fixed? I have MyBB 1.8.21
Shade 29 Jul 2019
#52
Hi, this is not fixed yet. I have planned to do a major rework of MyDropzone after BankPipe beta 7 and Flyover 2.1 are out, in some weeks.
Shade 31 Jul 2019
#53

MyDropzone 1.1 has been repackaged


MyDropzone has been repackaged and it's now working on newer MyBB versions (up to the latest, 1.8.21). The previous release was reported to be faulty on MyBB 1.8.20+, thus why the plugin has been repackaged with an updated version which makes it compatible with jQuery 3.

The plugin's version has not been changed. A new version is planned in the near future which will add functionalities.

If you have MyDropzone 1.1 currently installed on your board:
KEYCAP 1 uninstall MyDropzone 1.1. If you have a custom style, save your templates beforehand
KEYCAP 2 delete jscripts/rules.js and jscripts/dropzone.js
KEYCAP 3 upload the new version
KEYCAP 4 install and activate from the Plugins panel.

If you do not have MyDropzone 1.1 installed, you can skip the first two steps.
MichU, Gangst3r, ShockPuppet like this post
Shade 23 Nov 2019 Edited
#54

PUBLIC ADDRESS LOUDSPEAKER MyDropzone 1.2 is out


MyDropzone 1.2 is now available. Changelog:

SQUARED NEW added an "Insert into post" button which makes it easy to include any attachment into the current post
SQUARED NEW the "remove" button has been moved to a handy cross icon in the top left corner of each attachment
SQUARED NEW uploaded attachments will show the thumbnail if available
BUG fixed an issue with the usage quota being messed up if switching from KB to MB

To upgrade:
KEYCAP 1 uninstall MyDropzone. If you have a custom style, save your templates and stylesheet beforehand
KEYCAP 2 upload the new version and replace the old files
KEYCAP 3 install and activate MyDropzone from the Plugins panel

Note that templates must be updated in order to let the new version work.
Seeker-Smith 4 Mar Edited
#55
How do I remove the "Insert into post" link?

I also don't see this?

Whoops and this should go "Images are uploaded to Imgur.com and automatically added to your message. " as we're not using that service.
Shade 5 Mar
#56
MyDropzone is not demo'ed here, MyBBoost does not use it at the moment. Styling is up to your preference.

To remove the "insert into post" link, open mydropzone_attachment_add template and find:

<a href="javascript:void(0)" class="insert">{$lang->mydropzone_insert_into_post}</a>
Replace with:

<a href="javascript:void(0)" class="insert"></a>
I'd advise against getting rid of it completely, as it should pose some issues with JavaScript not being able to detect such button. By removing just the label you won't see it but the JS code will and won't cause any trouble.

To remove "Images are uploaded to Imgur", find and remove the following code in the same template as before:

<span class="dropzone_images_external">
            <img src="images/icons/photo.png" />
            {$lang->mydropzone_images_external}
        </span>
Note that everything that comes by MyDropzone is customizable either in templates or stylesheets in each of your themes.
How do I get my uploader to look like yours with the graphic and "Attach photos, videos or documents by selecting them " and link?
Shade 5 Mar
#58
MyBBoost features a unique theme powered by UIKit, a theming framework. It is not practical to include the whole CSS (500 kb) to replicate that part, but you can copy the relevant style by inspecting the element with your browser Console.
Seeker-Smith likes this post
Seeker-Smith 12 Mar
#59
When I add {$attachbox} I get every attachment ever posted under the quick reply.
Shade 12 Mar
#60
I'll have a look tomorrow.
Seeker-Smith likes this post