vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328053

Drag & Drop Upload Problem
by Dr.CustUmz
25 May 2020 08:22

I am trying implement a drag and drop uploader in the newattachment template. I have used all variables in the default template, and everything is looking right, the hover is good when I hover a file over it. but when I release the mouse on the box it does not upload the file.

I have included all code I felt relevant that could be causing a problem. I can not figure out what the issue is.

*keep in mind this is a stripped code*

the form:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The drop zone:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The Submit button:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The Js:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also, I can upload attachments manually just fine. But I cant get the drag and drop portion to work.

--------------- Added 25 May 2020 at 14:10 ---------------

edited the code to better target the problem

I think the problem may lay in this bit of Js, but evrything looks correct to me.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 05:05.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.