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
[visio_pdf]{URL}[/visio_pdf]
HTML code
<object data="{URL}" type="application/pdf" width="800" height="500"> 'The file is not in PDF format it could not be displayed.' 'click here''to access the file.' </object>
Helpline
[visio]URL of the file[/visio]
David LAURENT