gmo

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
in reply to: Open in Browser and don´t zip #149570

gmo
Participant

My problem is not yet solved 😉

in reply to: Open in Browser and don´t zip #148979

gmo
Participant

Not quite. Opening in the browser works as in the old website, but not everything runs smoothly elsewhere.

In wpdm-start-download.php, something crucial has changed compared to the old version: Line 43 $fileCount = count($files) has been supplemented with the comparison of whether a package_dir is also available.

Of course, simply changing this does not work. How can I change it for my specific case so that I have the latest version of the Download Manager and the files are still opened in the browser?

in reply to: Open in Browser and don´t zip #148860

gmo
Participant

I have just renamed the current download-manager folder under plugins and added the old folder.

This means that the individual files, which have always been in folders, open perfectly in the browser with the [download_link_dynamic] in functions.php.
This works for the individual download buttons as well as in the download archive with all available downloads.

As soon as I rename the old download-manager folder again and activate the new one, it no longer works and the files are zipped and downloaded.

Again for reference, the old version was Download Manager Special Pack and the new Download Manager Pro v5.3.

What has changed so much between these two versions?

in reply to: Open in Browser and don´t zip #148509

gmo
Participant

As I said earlier, this was still possible with the old version. So what has changed and how can we set this up again?

in reply to: Open in Browser and don´t zip #148313

gmo
Participant

No, I had tried that before I asked here.

in reply to: Open in Browser and don´t zip #148291

gmo
Participant

Is there any way to get an answer, even without access data? 😉

Basically I just want to know if there is still a way to download a single file in a folder without it being zipped.

in reply to: Open in Browser and don´t zip #148160

gmo
Participant

Sorry, but this is not possible as it is hosted locally.

in reply to: Password popup does not work with DIVi Theme #114432

gmo
Participant

We’re approaching the solution. Many thanks for that. wpdm-all-downloads.php works so far. Only I don’t want a popup for the password input, but the solution like download_link_extended. Is that possible?

In the same way I would like to achieve the following with link-template-default.php:

If password protected show [download_link_extended] otherwise show “[link_label]“.

Can you rebuild this for me? I am not good at php. 🙂

in reply to: Password popup does not work with DIVi Theme #114340

gmo
Participant

That’s also correct. But it’s about the pdf, which are not password protected. These open in the same tab, but I want these files to open in a new tab as well. However this is not possible with your procedure for password-protected files.

I can’t provide you with an admin, because the project is currently only stored locally.

in reply to: Password popup does not work with DIVi Theme #114166

gmo
Participant

Hi,

in this Thread: https://www.wpdownloadmanager.com/support/topic/open-pdfs-in-new-browser-tab/ I have already asked, because it doesn’t work for me. All my pdf should open in a new tab. This also worked until I added password protection to some pdfs. How do I make sure that the password is requested first and then the pdf opens in the new tab? It doesn’t matter if it’s wpdm_all_packages or link-template-default.php. Do you know what I mean?

in reply to: Open PDFs in New Browser Tab #114115

gmo
Participant

When using the main download button:
To open file in new tab replace [download_link] with [link_label] in your custom page/link template.

However, this only works for me until I use a password protection. Then a new window will open but there will be no popup for entering the password.

I use for single file downloads link-template-default.php and for [wpdm_all_packages….] wpdm-all-downloads.php. What do I have to change to make it work?

in reply to: Password popup does not work with DIVi Theme #114112

gmo
Participant

Sorry, my mistake. It’s because I changed a link template and wpdm-all-download so that the Divi theme opens the file in a new tab and not in the same one. Now I just have to figure out how it’s basically possible except for password-protected files.

in reply to: Download Link in new tab #113577

gmo
Participant

I figured it out.:-)

in reply to: Download Link in new tab #113565

gmo
Participant

Hi,

how is the correct for echo $download_link ? $download_link : '—';?

Viewing 14 posts - 1 through 14 (of 14 total)