vBulletin Việt Nam

vBulletin Việt Nam (http://vbbvn.com/index.php)
-   BB Code Enhancements (http://vbbvn.com/forumdisplay.php?f=26)
-   -   BBCode view PDF online (http://vbbvn.com/showthread.php?t=5)

VBBVN 09-12-2018 02:11 PM

BBCode view PDF online
 
Vào AdminCP >> Custome BBCode Codes >> BB Code Manager >> Add New BBCode. Điền vào các ô như sau:

Title: PDF
Tag: PDF

Replacement:
PHP Code:

<p align="center"><a href="{param}" target="_blank"><b>Download File</b></a><br> <iframe src="http://docs.google.com/gview?url={param}&amp;embedded=true" style="width: 100%; height: 600px;" frameborder="0"></iframe></p

Example:

PHP Code:

[PDF]http://domain.com/demo/demo-pdf.pdf[/PDF] 

Description: View file PDF Online


Use {option} No

Button Image (Optional) or use attached

PHP Code:

http://domain.com/images/editor/pdf.gif 



Múi giờ GMT +7. Hiện tại là 04:03 AM

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.