![]() |
Quote:
|
Then I don't know what to tell you, sorry. It works on dozens, maybe hundreds, of other VB forums.
You don't have any "Replacement Variables" setup that could be interfering, do you? |
The document view when I use it is skewed to right and down. Also when the post I have it embedded in comes up the browser looses focuses and focus is controlled by the embedded .pdf window.
I used the adobe .pdf document that discusses the controls and switches when embedding .pdf files and one of the controls is http://www.xxxxx.com$fitH This is suppsed to fit the document wigth wise in the viewable window... not. |
Just added this BBCode and tested in Chromium Browser. Had to download Google Chrome .deb package, extract the contents and copy the libpdf.so file to /usr/lib/chromium-browser as Chromium doesn't have a .pdf plug-in (Google Chrome does). Restarted Chromium and went to your demo page and voila, embedded .pdf document! Just too cool. :cool: :cool:
Even though this MOD is from 2010, I've marked it as recommended for MOTM and of course, rated it Excellent. BOP5 continues to amaze me with his skills at providing improvements to vBulletin. |
Quote:
|
Quote:
can you help me ? i can give you admin premission for testing thanks Raz |
Sorry guys... This is a simple bbcode, if it doesn't work I don't know why, it works on dozens of other sites.
There is nothing I can change in this mod to make it magically work on a site it doesn't work on now- the issue is external from this code. I am marking this as unsupported because I do not have time to give the support some people are asking for. I would suggest anyone having issues- 1) Try with a different browser 2) Make sire you have Adobe PDF Reader Plugin for your browser installed 3) Double/triple check the correct code in the BB Code Manager 4) Try from another computer |
Quote:
|
1 Attachment(s)
It works fine on my 3.8.7 and 4.2.1 forums.
Can you see the PDF on this page? http://www.qapla.com/mods/showthread...e-Embedded-PDF This is what it looks like to me (working): https://vborg.vbsupport.ru/attachmen...1&d=1377171151 |
After reinstalling it a second time, it now works on 4.1.11. Not sure why it wouldn't work the first time, unless I copied the code wrong. =/
|
When I use this bb code it will work in the test block below bb code manager but it doesn't work in a post. I get a black block.
Also the Click here to view or download the file directly dose not work. any ideas of what I could be doing wrong? I am running 4.2 Here is my post link: http://www.gonejetskifishing.com/for...&p=128#post128 |
Quote:
|
installed
thank you :) good work :up: |
|
Quote:
|
Quote:
|
I have changed the bbcode so that users that see a blank pdf will have a link to click to view the file.
-----IF THE PDF IS BLANK CLICK HERE TO VIEW.----- ~~ok my bbcode settings are now as below: ---------------------------------------------------------------------------------------------------------------------- Title = embed_pdf BB Code Tag Name = pdf Replacement = <div align="center"> <p align="center"> <p><a href="{param}">---------------IF THE PDF IS BLANK CLICK HERE TO VIEW.--------------- </a></p> <br /> <object type="application/pdf" data="{param}" width="800" height="900"> <param name="src" value="{param}" /> <embed src="{param}" type="application/pdf" width="800" height="900"> <p><a href="{param}">Click here to view or download the file directly.</a></p> </object><br /> </embed> </p></div> Example = [pdf]http://www.baymeadowscommunitycouncil.net/pdf/visionplan.pdf[/pdf] Description = Allows you to embed a pdf file. Use {option} = Yes Remove Tag If Empty = Yes Disable BB Code Within This BB Code = Yes Disable Smilies Within This BB Code = Yes Disable Word Wrapping Within This BB Code = Yes Disable Automatic Link Parsing Within This BB Code = Yes ---------------------------------------------------------------------------------------------------------------------- This seems to work for now until a better solution is found. Anyone that sees a problem with this please let me know and show me a better way of doing this. Thanks |
Working with 4.2.0. Marked as installed, thanks!
|
don't work with mediafire...
|
Hey Joe, your pfd bbcode was working great on a vb4 site before it was changed to https.
Any idea what would cause it to stop functioning? The acp is not https and the pdf bbcode example works fine there, thoughts? |
Try pdf from https source. And check in browser if it blocked http scripts. And if it is, what happens if you allow them.
|
Weird, but confirmed same issue on my own site. I guess browsers just don't trust pdf files, even if loaded over https. I suppose its because these days PDF files can submit data on their own outside of the security of the rest of the page it is loaded on. I haven't checked yet for any fix, too many other things to deal with on the https conversion. But if I find a fix I'll post it.
|
I confirm to me does not work. It worked perfectly before migration
|
Seems changing to an <object> tag instead of embed makes it work... There are some other small changes to the replacement code:
Code:
<div align="center"> |
Thanks Joe, What small changes?
|
Sorry Joe, http link still refuse to work for me.
|
Quote:
Quote:
Make sure you edit the post so it rebuild the cache if you didn't make a new post or truncate the postparsed table. |
Thx BirdOPrey5, now it's ok!
|
Is there a PDF Viewer in the works for vB v5?
|
All times are GMT. The time now is 03:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|