Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BBCode view PDF Details »»
BBCode view PDF
Version: 1.00, by ry215 ry215 is offline
Developer Last Online: May 2022 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.3 Rating:
Released: 05-07-2010 Last Update: Never Installs: 49
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #12  
Old 05-08-2010, 11:29 AM
Overbr Overbr is offline
 
Join Date: Mar 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good work man !thanks and instaled vb 4.0.2 OK 100% !!!!
Reply With Quote
  #13  
Old 05-08-2010, 01:17 PM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice , dear . Gooooooooooooooood
Reply With Quote
  #14  
Old 05-10-2010, 06:34 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Animemike View Post
On my test Site i get this mate



Edit =
HTML Code:
[CENTER]Test PDF

[PDF][url]http://www.myanimeisland.com/testpdf.pdf[/url][/PDF][/CENTER]
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
Reply With Quote
  #15  
Old 05-11-2010, 12:15 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Idea

installed + 5 stars

thanxxx ry215
Reply With Quote
  #16  
Old 08-11-2010, 03:59 AM
cloferba cloferba is offline
 
Join Date: Apr 2009
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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}&amp;embedded=true" style="width: 100%; height: 600px;" frameborder="0"></iframe></p>
Reply With Quote
  #17  
Old 08-15-2010, 03:11 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod should really be marked with the 'external content' warning because it relies on google to show the pdf.
Reply With Quote
  #18  
Old 08-22-2010, 04:17 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work in vb 4.0.6
Reply With Quote
  #19  
Old 09-29-2010, 09:22 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any reason why it doesn't work in Internet Explorer but works fine in Chrome and Firefox?
Reply With Quote
  #20  
Old 09-29-2010, 09:27 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sticky View Post
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.
Reply With Quote
  #21  
Old 10-03-2010, 10:14 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04658 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete