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: Embed PDF Files (No JavaScript/No iFrames) (BB Code) (https://vborg.vbsupport.ru/showthread.php?t=248549)

Dr.osamA 12-28-2010 12:49 PM

installed

thank you bro

good work

lemonadesoda 12-28-2010 01:21 PM

How would I use this BBcode for a PDF file that I have uploaded myself into vB? ie via the paperclip file attachment in a post.

Some PDFs are confidential and I dont want to just upload them into public.html/root/folder, but keep them in the attachments manager that deals with access rights, etc.

PS. I store attachments in the filesystem not the database (if it makes a difference).

BirdOPrey5 12-28-2010 01:43 PM

If you right click on the link to your attached file and get the URL to said file, then put that URL between the PDF BB Code tags, that should work.

hoatran 02-22-2011 03:22 PM

Great job mate, Working well on mine. thankssss

giaguaro 03-12-2011 12:56 PM

great job, installed and working!

l3asturd 03-14-2011 12:13 AM

Do you have any idea if there's a way to just show the PDF only and the the Adobe Reader frame around it? I'm trying to use it to show miniature PDF's but when I shrink it down the only thing I see is the adobe reader frame.

Is my question clear? If not I'll post some images of before and after. Thanks.

l3asturd 03-14-2011 12:19 AM

Quote:

Originally Posted by l3asturd (Post 2173067)
Do you have any idea if there's a way to just show the PDF only and the the Adobe Reader frame around it? I'm trying to use it to show miniature PDF's but when I shrink it down the only thing I see is the adobe reader frame.

Is my question clear? If not I'll post some images of before and after. Thanks.

I just solved my own question but I thought I'd post the solution here in case anyone wanted to get rid of the adobe toolbar,navpanes, and scrollbar:

Instead of this:
Code:

<embed src="{param}" type="application/pdf" width="700" height="900">
change it to this:
Code:

<embed src="{param}#toolbar=0&navpanes=0&scrollbar=0" type="application/pdf" width="700" height="900">

giaguaro 03-15-2011 07:51 PM

strangest thing is i havent any menu from Adobe and i use the standard mod..

BirdOPrey5 03-16-2011 12:10 AM

I'd imagine the menu depends on the version of adobe reader you have installed. (Or maybe it's not even adobe reader, this would work with other pdf viewers besides adobe that work with your web browser.)

stwan 04-08-2011 08:48 AM

<a href="https://support.mozilla.com/ru/questions/806638" target="_blank">https://support.mozilla.com/ru/questions/806638</a>


All times are GMT. The time now is 06:18 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.01118 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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