View Single Post
  #1  
Old 25 May 2020, 08:22
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Drag & Drop Upload Problem

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.

__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.

Last edited by Dr.CustUmz; 25 May 2020 at 13:46.
Reply With Quote