Xem DEMO
Bắt đầu!
Xem thêm: http://kenhdaihoc.com/forum/threads/6700-BBCode-Word-Chen-va-xem-file-PDF-online-tai-bai-viet-cho-vBB.kdh
1) Vào AdminCP ->Custom BBCodes-> Add new BBCode
Title: word online
Tag: word
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:
[word]PDF[/word]
Description: Ẩn link vào ảnh( Có thể để trống)
Use {option}: No
Button Image (Optional) --> http://kenhdaihoc.com//forum/images/bbcode/bbcodeword.gif
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
Chúc thành công!
0 comments:
Post a Comment