Forum Replies Created
-
AuthorPosts
-
koenhiemstraParticipant
Never mind. I already found a solution. Thanks for all your help.
koenhiemstraParticipantYes, you are right. I will do that. Thanks for your help.
I still have another question. I only want to make the downloadable files available for people that have logged in. When enabled the option “Only Allow Logged-in Users to Download” at the settings page. If I am logged out and I click on the download button, first a the browser has a problem loading and the message ‘File not found’ appears. When I refresh that page, a page appears with the message
You need to be logged in to download this file. Click here to go to login page.
I would like to have this page directly after clicking the download button when you are logged out. Now users first see an page with an error. I want to directly motivate them to loggin. Is that possible?
koenhiemstraParticipantI downloaded and activated the plugin. But still I am not able to upload the GPX file. Are you sure this plugin is also compatible with the .gpx extension?
Do you think this is also the reason why the file cannot be downloaded outside the internet browser?
koenhiemstraParticipantWhen I enable the PHP dispatch option, nothing changes and the file still opens in the web browser. When I put the file in a folder and zip it, the download function works fine and the zip file is downloaded the way I want it. But I would like to offer the file directly to the users instead off in a .zip file. Of course this is a option, but do you think it is also possible with the .gpx file?
I just noticed that it is not possible to upload a gpx file, when I want to upload a file in the download item. A message appears “Sorry, this file type is not permitted for security reasons”. Might it have to do with this? Before I manually placed a link to the gpx file on my server (which I uploaded by the WP GPX Maps).
I really appreciate your help!
koenhiemstraParticipantNo I am not using the PHP dispatch option, PHP dispatched was already unchecked.
koenhiemstraParticipantYes, thanks for your response. When I am using this approach, the file still opens in Firefox and IE instead off a popup to download the file. In Google Chrome the target blank is working properly. I also manually created some download files without the Simple Download Monitor plugin shortcode. These are downloading correctly (not in the internet browser for both IE and Firefox). See code below:
<a href="<?php echo '/wp-content/uploads/gpx/' . $gpx_url; ?>" target="_blank" download="" title="Download Route" class="btn btn-primary btn-lg">Download Route</a>
See the difference when clicking on the download route button on the right sidebar:
with download monitor plugin: rondjedoen.nl/rondje-ringvaart/
without download monitor plugin (manually created link): rondjedoen.nl/fietsen-langs-kinderdijk/Could you help me out? Or is this just a restriction of the plugin?
koenhiemstraParticipantThis is my code:
<a href="[sdm_download_link id="1041"]" title="Download Route" target="_blank" > Download Route </a>
-
AuthorPosts