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

You are viewing page #7

Show original post
Filename Size Downloads
28.06 KB 186
Hefty, Enes Palit, MichU And 2 others like this post
Shade 13 Mar 2020
#61
Thank you for your report, I can confirm the issue. Will be fixed in the next update. If you want to apply the patch manually in 1.2, open inc/plugins/mydropzone.php, find around line 383:

        if($pid)
        {
            
$attachwhere "pid='$pid'";
        }
        else
        {
            
$attachwhere "posthash='".$db->escape_string($posthash)."'";
        } 
Replace with:

$attachwhere "posthash='".$db->escape_string(md5($thread['tid'].$mybb->user['uid'].random_str()))."'"
Seeker-Smith 14 Mar 2020 Edited
#62
So I'm removing the whole section or just the $attachwhere = "posthash='" line??

I've just changed the one line and it does appear to be working correctly
Shade 14 Mar 2020
#63
The whole section.
Seeker-Smith 14 Mar 2020
#64
I get the same issue when I change the whole section. All my attachments show.
Shade 14 Mar 2020
#65
Sorry, you also have to add:

$thread 
to the global line above.

So, find on line 369:

global $mybb$forumpermissions$pid$db$templates$lang$attachbox$theme
Replace with:

global $mybb$forumpermissions$pid$db$templates$lang$attachbox$theme$thread
Seeker-Smith 14 Mar 2020
#66
That did the trick. Thanks!!
Seeker-Smith 18 Mar 2020
#67
Hi Shade
I hope are getting better for you over there. Canada where I am is in lock down (3 weeks late).

Anyway I don't know if you can help or offer a suggestion. I'm using MyBBlog as a plugin and I'd like to add the attachment {$attachbox} to the editor. Do you think it's possible?
Shade 20 Mar 2020
#68
Unfortunately, third party plugins are not supported.
Seeker-Smith 20 Mar 2020
#69
I understand.
Hüseyin Filiz 22 May 2020
#70
My forum members like to upload images to the site. I mean, they like that the images are hosted on my server rather than on a different server. They want to copy the link of the image from another site and quickly upload it to my server.

I suggest you add this: Link address field when uploading images to attachments. The image on the external server should be automatically uploaded to my server. Like uploading images from a computer. The only difference is with the url.

Sorry for my bad english, i hope you understand.