Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

MyDropzone 1.2

18 Oct 2016 Edited
#1
MyDropzone replaces MyBB's default attachments behavior with a reliable drag and drop solution (Dropzone.js) which uses AJAX instead. Uploading an attachment becomes extremely easy and fast.

MyDropzone adds 1 stylesheet and 3 templates which overwrite the default ones during runtime. Existing templates are not edited nor deleted.

Minimum requirements


PHP 5.4
MyBB 1.8.0

Features


MyDropzone does not come with many complicated features other than being a neat replacement for the attachments box, and that's pretty much it. MyDropzone inherits all the existing attachments features – except for approving/unapproving, which is not available in the current version. A special mention goes to Imgur.com support which lets your users upload images anonymously to Imgur.com and the generated URL will be added to their messages as soon as the upload finishes.

Quick reply attachments


MyDropzone adds support for posting attachments from quick reply. However, it does not edit any templates, so in order to use this functionality you need to alter templates by yourself. This decision was made because in the past, many lamented that a particular functionality in other plugins was not working while they were using a custom theme and the search and replace routine was not able to find the associated pattern.

If you want to enable your users to post attachments from quick reply, edit your showthread_quickreply template, and add the following variable wherever you want the box to appear:

{$attachbox
This loads nothing but the post_attachments template as it does in New Reply, New Thread, Edit Post, etc.. Once you style the attachment box, quick reply automatically inherits the same styling.

Multiple attachments simultaneously


MyDropzone supports uploading multiple attachments at the same time. Just drag and drop how many attachments you want to upload, and it will handle all of them at once till the maximum limit (which inherits from the attachments system settings) is reached.

This feature is also available on stock MyBB 1.8.19 onwards.

Imgur.com support informations


How to get the Client ID


In order to upload images to Imgur, you need to enter a Client ID in MyDropzone settings, otherwise the plugin will fall back to default server uploading.

If you do not have an Imgur.com account, register for free and go to this page to create a new application. Fill the informations and select Anonymous usage without user authorization under Authorization type.

When you have finished, go to this page and copy the Client ID, add it to MyDropzone settings and enjoy.

Rate limits


Imgur.com limits their API usage to 1250 uploads per day. Although this should be ok with most of MyBB boards out there, if you are running a big board (100k+ users) you may want to switch to normal image handling. For more informations on limitations imposed by Imgur.com, visit this page.

Notice under the attachment box


Due to the fact that MyDropzone does not edit templates, I have added a notice to the mydropzone_attachments_new template informing users that their images are posted to Imgur. If you are not willing to use this feature, delete the corresponding HTML you can find in the template.

Customization


You can completely customize MyDropzone's appearance by tweaking with its templates (MyDropzone Templates Group) and its stylesheet (mydropzone.css). Support will be given when possible.

Compatibility


MyDropzone is compatible with MyBB 1.8.0+ and PHP 5.4+. Browser compatibility is listed on Dropzone.js documentation.

Previews


[Image: iRGMPtG.png]
[Image: UhyhyjY.gif]

Availability


MyDropzone is available for free. WARNING SIGN Support is discontinued due to my departure from programming. Read more why here.


This project is licensed under

MIT


A simple license with little to no use restrictions, except for author's crediting. Read the provided LICENSE file for more informations.

Permissions

Commercial use
Modification
Distribution
Private use
Limitations

Warranty
Liability
Conditions

License notice
Copyright notice
Filename Size Downloads
28.06 KB 186
Hefty, LIONHAERT, Tac And 2 others like this post
TeamViz 10 Jan 2017
#21
Ok two things I noticed about this plugin. First thing its great start and I love how it works. I have 2 requests to as features that it should have.

1) I like the imgur feature and works very good, BUT is there a way to make sure the urls that come back instead of http://www.imgur.com/picture.jpg to change the http to https as I have ssl on my website and gives me errors ( saying the images from imgur arent secure and could be used to attack the website) when i view page as the imgur pictures arent SSL and I know they can be. Is that a option ?

2) by default without your plugin you can upload images to mybb forum and gives you the option to insert the image into the post, and can utilize lightbox. If you have imgur upload off, could you make it a option when you put your mouse over image to be able to insert the image into the post like the default one does?
Shade 10 Jan 2017
#22
Hello @TeamViz and thank you for supporting me by buying a premium subscription. Both of your suggestions seem reasonable, and I will add them to the to-do list for the next minor version of MyDropzone. I am currently away for my finals until the end of January, but when I will be back I am going to push an update as soon as possible.
TeamViz 10 Jan 2017
#23
Sounds great I look forward to it!
Brenda 14 Jan 2017
#24
Getting "server responded with 0 code error."
Shade 14 Jan 2017 Edited
#25
I will check it out when I will be back. In the meantime, please provide your board's URL so I will be able to test the issue on your side.
Brenda 14 Jan 2017 Edited
#26
Nvm, its working now. It was happening when you were uploading an image to imgur. It was probably some problem with their servers?

BTW, if you upgrade the mybb software, the dropzone area isn't shown anymore afterwards. I've encountered this bug with upgrading to 1.8.9 and 1.8.10. You can fix it by uninstall/install, perhaps also with deactivate/activate, but i didn't try that. Thought i'd let you know.

Board url is, if you still need it: www.uniting-people.com/forum
Tac 16 Jan 2017
#27
A suggestion for this plugin - similar to the Imgur feature.

Is it possible to link another API to hold actual files, instead of just images? Many boards aren't comfortable allowing users to upload attachments to their server, in fear that users may upload illegal content and put the website at legal risk for hosting this content.

So could an actual file host such as MEGA, Google Drive, Dropbox, etc. be used to quickly upload files and use that download link in place of the normal attachment link, so it's not being hosted on your website? This would be a very valuable feature imo.
Shade 16 Jan 2017
#28
I've got to check if the respective APIs allow uploading from third party sites. Also, I'm not sure if they allow uploading files anonymously such as Imgur. Requiring users to link an external account seems not very practical to me, as the plugin wants to speed up the uploading process by simplifing it. Definitely an interesting suggestion though which I will surely consider.
Tac 25 Jan 2017
#29
I'm really looking forward to possibly seeing this feature added if you can manage it when you get back.
zyra 27 Apr 2017
#30
Hello,

First of all I want to felicitate you witch you're great work! :) everything I ever desired is waiting on me here thx to you!

I have some suggestion on this awesome plugin... I would like to have the ability to include the uploaded attachments inline of the posted topic/ message as with the standard upload facility of mybb .. using the [attachment] bbcode tags.
Could that be possible or would that cause some headaches ?

kind regards,