BBcode order to view PDF files on your phpBB Forum
If you use your phpBB Forum BBcode viewer Google.docs (http://docs.google.com/viewer?url={URL}&embedded=true “), you’ve probably noticed that it tends to crash depending on the time of day. I present today an alternative for viewing PDF files on your forum and bypass the error message if the URL of the posted link points to a file or .doc .xls for example.
Use BBCode
1 |
[visio_pdf]{URL}[/visio_pdf] |
HTML code
1 2 3 4 5 |
<object data="{URL}" type="application/pdf" width="800" height="500"> 'The file is not in PDF format it could not be displayed.' <a href="{URL}" target="_blank" rel="noopener noreferrer"><b>'click here'</b></a>'to access the file.' </object> |
Helpline
1 |
[visio]URL of the file[/visio] |
David LAURENT