Re: [ADDON] PDF Print
Reply #30 –
The permission to use the PDF function is, critically, tied to the "send topics to friends". Remove that permission and the PDF function should be disabled for those users.
I could easily add a feature to disable the images in the output, I'll see if I have time this weekend. If you are in a rush you can edit the elk-pdf class and set the validImageTypes variable to an empty array.
Re: [ADDON] PDF Print
Reply #34 –
Sorry I did not see this sooner ...
Must be due to the custom theme and DOMDocument not knowing what the HTML time tag is ... try the attached file, replacing the one in your subs directory.
Re: [ADDON] PDF Print
Reply #36 –
Sounds like we are 1/2 way there then .... I don't have a login for the site so the pdf button just defaults to the old print page. Can you post the error you are seeing?
Re: [ADDON] PDF Print
Reply #37 –
Sure:
Ein Fehler ist aufgetreten!
tFPDF error: 16-bit depth not supported: /www/htdocs/w00f21f1/hp_elkarte/attachments/20577_44fa87e2a1b7d2800628fe045e06a92b89c452ce.elk
I tried to find this attachment named "20577_44fa87e2a1b7d2800628fe045e06a92b89c452ce" in the backend, but it does not seem to be there with this name.
Re: [ADDON] PDF Print
Reply #42 –
No, sorry, doesn't fix any of the problems.
But I can use the print as pdf feature of the chrome browser to save the threads. Does look different then but works. And you don't have to invest more time to fix this.