display preview button

Phoca Download - download manager
blondie63
Phoca Member
Phoca Member
Posts: 16
Joined: 25 Jul 2016, 14:06

display preview button

Post by blondie63 »

I've enabled "display preview button" on settings but i don't see it
Is there another setting to enable it ?

Thanks
christine
Phoca Hero
Phoca Hero
Posts: 2734
Joined: 28 Nov 2010, 17:20

Re: display preview button

Post by christine »

Hi,

should work, if enabled. Sometimes it takes time .... Clear your browser cache

Kind regards
Christine
blondie63
Phoca Member
Phoca Member
Posts: 16
Joined: 25 Jul 2016, 14:06

Re: display preview button

Post by blondie63 »

I changed browser but no preview button.. :(
justgina
Phoca Member
Phoca Member
Posts: 19
Joined: 12 Nov 2016, 04:44

Re: display preview button

Post by justgina »

I'm having the same issue with clean new install of J!3.9, PD 3.1.4 and Bootstrap Helix template. "Preview" and "Play" are set to "YES" in Options but no preview/play button anywhere and no errors.

I cleared my cache in Chrome and used Firefox to confirm the issue. Preview/Play buttons are not showing in either browser.

Any idea how to troubleshoot this issue?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9117
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: display preview button

Post by Benno »

Hi,
"Preview" and "Play" are set to "YES" in Options but no preview/play button anywhere and no errors.
It's not enough to enable the "Preview" and "Play" buttons.
The files you want to preview or play needs to be insite the /phocadownloadpap/ folder and needs to be selected in backend file edit view. See images:
Image

Image

Kind regards,
Benno
justgina
Phoca Member
Phoca Member
Posts: 19
Joined: 12 Nov 2016, 04:44

Re: display preview button

Post by justgina »

Copies of every file were previously copied into the phocadownloadpap folder prior to importing them via multiple upload function...

How to accomplish your suggestion in batch mode for 32,000 files that were uploaded via multiple upload function?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9117
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: display preview button

Post by Benno »

Hi,
I can offer you no other solution. How should the program know which file should be used for preview or fileplay, if this was not explicitly stated in the File Edit view?

Kind regards,
Benno
justgina
Phoca Member
Phoca Member
Posts: 19
Joined: 12 Nov 2016, 04:44

Re: display preview button

Post by justgina »

When someone uses the multiple add function it is reasonable to presume the same file will exist by the same exact name in the phocadownloadpap folder, whether the user copies those files to the pap folder before the import or the program copies it for them.

I find it hard to believe the PD team expects its users to manually add the Play/Preview file location for tens of thousands of individual files after using the multiple add function to add those files ... That makes no sense to me...
justgina
Phoca Member
Phoca Member
Posts: 19
Joined: 12 Nov 2016, 04:44

Re: display preview button

Post by justgina »

I found a workaround but you need to have some technical skills and access to your mysql database to use my workaround.

First, export a copy of your phocadownload table from mysql in CSV format.
Second, open your .csv file in MS Excel.
Third, select the entire column "filename" in your .csv file.
Fourth, copy what you just selected and paste it into the "filename_play" and/or "filename_preview" columns.
Fifth, save your csv file.
Sixth, backup or export another copy of your phocadownload table before importing changes.
Seventh, empty your phocadownload table.
Eighth, import your .csv file into the phocadownload table with the changes you just made.

If you have several thousand files to import, be patient while your server processes the data.

It seems illogical that users have to manually add the Play/Preview location for every individual file since the PD code is written properly to copy/find the file in the pap folder without specifically identifying the phocadownloadpap name in the file path.

** FEATURE REQUEST **

Basically, when the user imports several thousand files with the multiple add function, it would be pretty easy to improve the code so it copies the file path to the "filename_play" and "filename_preview" columns when it enters that file path in the "filename" column...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: display preview button

Post by Jan »

Hi,
When someone uses the multiple add function it is reasonable to presume the same file will exist by the same exact name in the phocadownloadpap folder, whether the user copies those files to the pap folder before the import or the program copies it for them.
did you try to enable parameter Play and Preview Copy?

Image
If you find Phoca extensions useful, please support the project
Post Reply