Đây là một BB Code khá hữu ích trong vấn đề share tài liệu trên diễn đàn!
Vào AdminCP => Custome BBCode Codes => BB Code Manager => Add New BBCode. Điền nội dung như sau:
Title: PDF
Tag: PDF
Replacement:
Example:HTML Code:<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>
Description: View file PDF OnlineCode:[PDF]http://www.mburoja.net/PDF_files/39168eb0-cdb6-41f9-b010-6561c9e46edf.pdf[/PDF]
Use {option} NO
Button Image: Code:
Remove Tag If Empty: YesCode:http://www.udhezimi.com/images/buttons/pdf.gif
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: NO
Disable Word Wrapping Within This BB Code: NO
Disable Automatic Link Parsing Within This BB Code: YES
Save !
Bookmarks