View Full Version : BB Code Enhancements - BBCode view PDF
ry215
05-07-2010, 10:00 PM
Going AdminCP >> Custome BBCode Codes >> BB Code Manager >> Add New BBCode.
Title: PDF
Tag: PDF
Replacement:
<p align="center"><a href="{param}" target="_blank"><b>Download File</b></a><br>
<iframe src="http://docs.google.com/gview?url={param}&embedded=true" style="width: 100%; height: 600px;" frameborder="0"></iframe></p>
Example:
http://soctrangit.net/diendan/demo/demo-pdf.pdf
Description: View file PDF Online
Use {option} No
Button Image (Optional) or use attached
http://yoursite/images/editor/pdf.gif
TimberFloorAu
05-08-2010, 06:52 AM
Good Idea, tagged:
Not sure what Làm việc thôi: Vào AdminCP >> Custome BBCode Codes >> BB Code Manager >> Add New BBCode. Điền vào các ô như sau: means tho !
sulasno
05-08-2010, 06:56 AM
tagged and thanks
used Google to try the translation and got this;
Working alone: In AdminCP>> custome BBCode Codes>> BB Code Manager>> Add New BBCode. Fill in the boxes as follows:
ry215
05-08-2010, 07:08 AM
sorry :D T_T
ThorstenA
05-08-2010, 08:39 AM
can you make a screenshot?
Xencored
05-08-2010, 08:55 AM
On my test Site i get this mate
https://vborg.vbsupport.ru/
Edit =
Test PDF
http://www.myanimeisland.com/testpdf.pdf
It keeps adding the [url] wraps :(
ThorstenA
05-08-2010, 08:59 AM
Thanks for your screenshot! :)
Xencored
05-08-2010, 09:21 AM
Thanks for your screenshot! :)
My screen shot is of a error mate :D
sulasno
05-08-2010, 10:21 AM
working perfectly in vBulletin 4.0.3
Xencored
05-08-2010, 11:05 AM
working perfectly in vBulletin 4.0.3
How did you get it so it didnt add the URL tags?
Overbr
05-08-2010, 11:29 AM
good work man !thanks and instaled vb 4.0.2 OK 100% !!!!
JAFRI
05-08-2010, 01:17 PM
Nice , dear . Gooooooooooooooood
Xencored
05-10-2010, 06:34 PM
On my test Site i get this mate
http://www.myanimeisland.com/pdf error.png
Edit =
Test PDF
http://www.myanimeisland.com/testpdf.pdf
It keeps adding the [url] wraps :(
Ha for anyone with this problem
Disable Automatic Link Parsing Within This BB Code : set to YES!
Awesome Mods Thanks
The download button does not work tho
http://www.myanimeisland.com/www.myanimeisland.com/testpdf.pdf
Copys the url twice
Dr.osamA
05-11-2010, 12:15 AM
Good Idea
installed + 5 stars
thanxxx ry215
cloferba
08-11-2010, 03:59 AM
i get:
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
<p align="center"><a href="{param}" target="_blank"><b>Descargar Archivo</b></a><br> <iframe src="http://docs.google.com/gview?url={param}&embedded=true" style="width: 100%; height: 600px;" frameborder="0"></iframe></p>
BirdOPrey5
08-15-2010, 03:11 PM
This mod should really be marked with the 'external content' warning because it relies on google to show the pdf.
JAFRI
08-22-2010, 04:17 AM
not work in vb 4.0.6
sticky
09-29-2010, 09:22 AM
Any reason why it doesn't work in Internet Explorer but works fine in Chrome and Firefox?
sticky
09-29-2010, 09:27 AM
Any reason why it doesn't work in Internet Explorer but works fine in Chrome and Firefox?
Figured it out, it was IE's privacy settings.
sticky
10-03-2010, 10:14 AM
This mod should really be marked with the 'external content' warning because it relies on google to show the pdf.
This is true.
It seems you need to be logged in to google for this to work?
Unfortunate as it is so useful, not everyone has an account though.
iyama
10-20-2010, 10:36 AM
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
* <p align="center"><a href="{param}" target="_blank"><b>Download File</b></a><br> <iframe src="http://docs.google.com/gview?url={param}&embedded=true" style="width: 100%; height: 600px;" frameborder="0"></iframe></p>
On vb4.07
BirdOPrey5
10-20-2010, 10:56 AM
You can hit "continue" and ignore that warning, it must be a bug, as you can see all html attributes ARE enclosed in double quotes.
sticky
10-23-2010, 07:45 AM
I thought this was great at first but for users who don't have a google account it is useless as you have to be logged in for the PDF's to display.
Doctor Death
12-13-2010, 07:35 PM
I got the same error, but continued and it works great.
BadgerDog
12-13-2010, 10:10 PM
Installed.. then uninstalled ...
Useless unless you have Google account ...
Thanks anyway ...
Regards,
Doug
rootsxrocks
12-14-2010, 02:34 PM
Yeah I got excited too, till I realised it was not for attached PDFs
majidmozaffari
03-02-2011, 06:12 AM
Disable Automatic Link Parsing Within This BB Code >>>>> yes شاد باشید :)
lemonadesoda
07-07-2011, 01:27 PM
Author: Please modify this bbcode to be INDEPENDENT of google. Requiring a google account AND logged in for this bbcode to work is useless IMO. Work out and explain how to get the PDF viewer application into the local server installation so that it is independent of google, then this would be brilliant. 2 stars now. 4 or 5 stars when you get this working server-side.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.