Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: punchy on May 16, 2020, 06:04:30 AM

Title: PDF in Post
Post by: punchy on May 16, 2020, 06:04:30 AM
Does anyone know of how a PDF can be shown in a post, The Mod PDF tag does not work with my SMF 2.0.17, it just shows a blank space where the PDF should be
Title: Re: PDF in Post
Post by: punchy on May 16, 2020, 06:21:07 AM
Still not working

I'm managed to use iframes and the Admin Html tags like this

[html]<iframe src="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf" title="PDF in Post " width="1000" height="800" > </iframe>[/html]

Ok so this worked 1st time, and now for some reason i'm just getting a black Iframe ?? Its not reading the PDF

Ok Its working now with the blank PDF see below.

EDIT: I've found out that if the PDF is not on a server with a Padlock it will not display, My Site has a padlock so now i've proved that if you have a secured server with SSL then you will only be able to show PDF's that are on a secured server, if there is anything important that you need to show then you will need to upload the pdf on your hosting and point to that.

Sorry for the Panic But i'm glad its sorted and hope this helps others who need to show PDF's