vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - BBCode view PDF (https://vborg.vbsupport.ru/showthread.php?t=242088)

ry215 05-07-2010 10:00 PM

BBCode view PDF
 
1 Attachment(s)
Going AdminCP >> Custome BBCode Codes >> BB Code Manager >> Add New BBCode.

Title: PDF
Tag: PDF

Replacement:

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}&amp;embedded=true" style="width: 100%; height: 600px;" frameborder="0"></iframe></p>



Example:

HTML Code:

[PDF]http://soctrangit.net/diendan/demo/demo-pdf.pdf[/PDF]
Description: View file PDF Online

Use {option} No

Button Image (Optional) or use attached

HTML Code:

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 =
HTML Code:

[CENTER]Test PDF

[PDF][url]http://www.myanimeisland.com/testpdf.pdf[/url][/PDF][/CENTER]

It keeps adding the [url] wraps :(

ThorstenA 05-08-2010 08:59 AM

Thanks for your screenshot! :)

Xencored 05-08-2010 09:21 AM

Quote:

Originally Posted by ThorstenA (Post 2033625)
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

Quote:

Originally Posted by sulasno (Post 2033659)
working perfectly in vBulletin 4.0.3

How did you get it so it didnt add the URL tags?


All times are GMT. The time now is 07:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01092 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete