Nochmal genau nachsehen!Tata wrote:Using both of Christoph's codes make no changes there.
Oder Christoph fragen.
Moderator: Tata
Nochmal genau nachsehen!Tata wrote:Using both of Christoph's codes make no changes there.
Ja das ist ein Tippfehler. Danke.frase wrote:Noch etwas:
Ist das ein Tippfehler???
Nižšie sekudnárne umelecké vzdelávanie 2b
->
Nižšie sekundárne umelecké vzdelávanie 2b
Sorry, nur eine Frage.
You may try the following nonetheless:Tata wrote:That's it - Special characters in file names. Removing accents and Slovak special markers made it. Now it works on all devices. That's no big problem. The files don't necessary need exact Slovak names.
Code: Select all
$o.='<iframe id="'.$id.'" src ="'.$pth['folder']['plugins'].'pdfviewer/libs/web/viewer.html?file='.urlencode($GLOBALS['sn'].$GLOBALS['pth']['folder']['base'].'userfiles/downloads/'.($srctmp)).'#zoom='.$plugin_cf['pdfviewer']['zoom'].'&pagemode='.$plugin_cf['pdfviewer']['pagemode'].'&page='.$plugin_cf['pdfviewer']['page'].'" allowfullscreen webkitallowfullscreen></iframe>';
I am googling now for a way of protectiom of viewed files against copying/downloading. Would be reasonable if there are files for download (not necessary viewed) and files for viewing (not necessary for copying and download).PDF.js v1.4.20 (build: b15f335)
Message: Missing PDF "http://nobela.cmsimple.sk/userfiles/dow ... nie+2b.pdf".
And even then, anybody who's able to get the URL of the PDF is able to download it "manually".simpleSolutions.dk wrote:You have to change pdf.js file to remove download and other Icons. And you have to do it again every time you update the file.
By full names of the documents it's not very likely to write the path correctly. There would be however also a chance to use randomly generated filenames, which would be not very reasonable for the admin OTH.cmb wrote:And even then, anybody who's able to get the URL of the PDF is able to download it "manually".