Kane Leins

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 29 total)
in reply to: Updating to WP 5.8.2 and WPDM 6.1.0 Breaks #165945

Kane Leins
Participant
This reply has been marked as private.
in reply to: Updating to WP 5.8.2 and WPDM 6.1.0 Breaks #165936

Kane Leins
Participant
This reply has been marked as private.
in reply to: Updating to WP 5.8.2 and WPDM 6.1.0 Breaks #165935

Kane Leins
Participant
This reply has been marked as private.

Kane Leins
Participant
This reply has been marked as private.
in reply to: Download manager not working in IE 11 or Edge #128835

Kane Leins
Participant
This reply has been marked as private.
in reply to: Modify Download File Name #114585

Kane Leins
Participant

Hey Shahriar, sorry if I wasn’t clear in my previous message. Between the time I sent in first ticket today, and your reply I made the changes in the code sample above. That FIXED MY ISSUE and caused the files to download with the file name IE (filename.zip) instead of 015265498.zip.

When I updated to latest version last week, the functionality to use file name was overwritten. The code looks different so I sent in a ticket asking for help, but figured it out myself. WITHOUT the fix I applied, I was getting downloads with names like 015265498.zip

in reply to: Modify Download File Name #114580

Kane Leins
Participant

We have only one file per package. Here is a link -> https://ninjatraderecosystem.com/user-app-share-download/pricevoice/

I was able to modify it from code previously sent like this:

$filepath = str_replace(‘\\’,’/’, $filepath );
$filename = wpdm_basename($filepath);

//modified to get the file name instead of random number
$tmparr = explode(‘.’, $filename );
$filename = get_the_title( $package[‘ID’] ) . “.” . end($tmparr);
wpdm_download_file($filepath, $filename, $speed, 1, $package);

Is there a better way to do this? Also, you had previously said a filter with the ability to use the download file name would be added to the front end, is that still a possibility?

in reply to: Modify Download File Name #114562

Kane Leins
Participant

This code no longer works in the latest update. The code block is now:
//$plock = get_wpdm_meta($file[‘id’],’password_lock’,true);
//$fileinfo = get_wpdm_meta($package[‘id’],’fileinfo’);

$filepath = str_replace(‘\\’,’/’, $filepath );
$filename = wpdm_basename($filepath);
$filename = preg_replace(“/([0-9]+)[wpdm]+_/”, “”, $filename);

wpdm_download_file($filepath, $filename, $speed, 1, $package);
//@unlink($filepath);

What do I modify to use the file name instead of the string of numbers as before?

in reply to: Downloads not working when coming from a google search #112277

Kane Leins
Participant
This reply has been marked as private.
in reply to: Downloads not working when coming from a google search #112276

Kane Leins
Participant
This reply has been marked as private.
in reply to: Modify Download File Name #89065

Kane Leins
Participant
This reply has been marked as private.
in reply to: Linking from another domain and can't download package #88793

Kane Leins
Participant
This reply has been marked as private.
in reply to: Linking from another domain and can't download package #88554

Kane Leins
Participant

We had to add rel=”noreferrer” to our links on external domains. Is there a better solution or setting we can adjust on the WPDM side so I don’t have to add the rel tag to all links on other domains we own?

in reply to: Returning Invalid License Key #88311

Kane Leins
Participant

WPDM admin did something and sent an email telling me to try again, I did and it worked. Wish there was more to it, but thats what resolved my issue.

in reply to: Returning Invalid License Key #88296

Kane Leins
Participant
This reply has been marked as private.
in reply to: Updating from 4.7.3 to 4.7.7 #80606

Kane Leins
Participant
This reply has been marked as private.
in reply to: Updating from 4.7.3 to 4.7.7 #80438

Kane Leins
Participant
This reply has been marked as private.
in reply to: Bulk Import Error #69049

Kane Leins
Participant

Scott, can confirm you won’t lose any data – I didn’t. You have to deactivate the plug in, delete it (make sure it is deleted in your directory via ftp) then upload new one. Not ideal, but it is what it is.

in reply to: Advanced CSV Import – Mapping to custom taxonomies #69015

Kane Leins
Participant
This reply has been marked as private.
in reply to: Bulk Import Error #69014

Kane Leins
Participant
This reply has been marked as private.
in reply to: Bulk Import Error #68925

Kane Leins
Participant
This reply has been marked as private.
in reply to: Bulk Import Error #68698

Kane Leins
Participant
This reply has been marked as private.
in reply to: Bulk Import Error #68689

Kane Leins
Participant
This reply has been marked as private.

Kane Leins
Participant
This reply has been marked as private.

Kane Leins
Participant
This reply has been marked as private.
Viewing 25 posts - 1 through 25 (of 29 total)