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)

lemonadesoda 04-15-2012 03:43 PM

Quote:

Originally Posted by Lewenhaupt (Post 2275491)
...the bbcode appears to be working perfectly in firefox. But I switched to chrome a while ago, and there the attachments won't show up. (edit:
PDF files that are hosted on the site - uploaded to a folder through ftp - do work on chrome - but not through inline "attachments".)

I have the same issue, hence my post a year ago https://vborg.vbsupport.ru/showpost....7&postcount=12

I have fixed it. How?

1./ Update to LATEST Acrobat Reader 10.1.3
2./ Update to latest Chrome
3./ Launch chrome
4./ In address bar type chrome://plugins
5./ Enable Acrobat Reader plugin (which will automatically disable Chrome PDF reader plugin)

Inline attachments should now work also within the bbcode as PDF inline read. There seems to be a bug in the embedded Chrome PDF reader that is not caching or cannot resolve the indirect link to the attachment PDF. This problem doesnt not occur with IE, and was a solution discovered by trial and error. No logic there!

Try it out and report back to see if this is a general solution, or just worked for me.

etca 04-15-2012 08:19 PM

installed on 4.1.12

stl7997 09-30-2012 04:43 PM

Is this working for anybody that has 4.2? I just get a empty gray box. I've tried Chrome, FF, and IE and it's all the same. Just curious.

BirdOPrey5 09-30-2012 05:02 PM

Quote:

Originally Posted by stl7997 (Post 2369785)
Is this working for anybody that has 4.2? I just get a empty gray box. I've tried Chrome, FF, and IE and it's all the same. Just curious.

It should work... do you have a PDF reader installed on your computer/browser?

If you can post a link to a page with the problem.

stl7997 09-30-2012 05:19 PM

I've got a PDF reader. Here's a link to one of the embeds.

http://forum.wapscalc.com/showthread...romotion-Study

Snowhog 09-30-2012 06:27 PM

BOP5@

Your demo doesn't work for me either - it seems to specifically want the Adobe plug-in. I'm running Kubuntu 12.04, 64-bit, with Okular version 0.15.1. Okular is an Adobe Reader compliant Linux .pdf viewer/reader.

BirdOPrey5 09-30-2012 08:50 PM

Quote:

Originally Posted by stl7997 (Post 2369791)
I've got a PDF reader. Here's a link to one of the embeds.

http://forum.wapscalc.com/showthread...romotion-Study

The file you are linking to does't exist:

Code:

http://forum.wapscalc.com/pdfs/NCOpromotion.pdf
check the spelling maybe... ?m

BirdOPrey5 09-30-2012 08:52 PM

Quote:

Originally Posted by Snowhog (Post 2369811)
BOP5@

Your demo doesn't work for me either - it seems to specifically want the Adobe plug-in. I'm running Kubuntu 12.04, 64-bit, with Okular version 0.15.1. Okular is an Adobe Reader compliant Linux .pdf viewer/reader.

There's nothing in the code that can specify a specific PDF reader. It's simply your PDF viewer may not work embedded in web documents.

ikorolis 11-18-2012 04:32 PM

thanks nice plug in but no working to my vb 4.2pl3 any browser testing

uninstalled

i see only one box with html code no pdf.

Mr_Running 11-18-2012 05:28 PM

Works for me 4.2pl3 in Firefox 16 and IE9 :)


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

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.01202 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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