vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Download Thread as PDF (https://vborg.vbsupport.ru/showthread.php?t=151637)

Simon Moon 07-25-2007 07:45 PM

i disabled the open_basedir for this host now to test, and it still delivers the same result. Any ideas on how i could test this to find the cause of it? I mean i get a valid PDF file, its just blank, so maybe the problem lays somewhere in the data part?

magnus 07-26-2007 10:15 AM

Quote:

Originally Posted by Simon Moon (Post 1301537)
i disabled the open_basedir for this host now to test, and it still delivers the same result. Any ideas on how i could test this to find the cause of it? I mean i get a valid PDF file, its just blank, so maybe the problem lays somewhere in the data part?

If you try to View Printable Version, does it display fine? If so, does it work as a Guest/Not Logged In user?

All this does is pipe the output of View Printable Version through html2pdf. So, if we can verify that half of it works, we know where to look.

Simon Moon 07-26-2007 05:10 PM

I figured it out, it was me. The forum is behind an htaccess authentication, for the setup etc. It seems like this plugin goes and literally uses a web access to the showthread url for this, so, if a general user without anything special cant see it (say user and password, or even if you would block the printthread for non registered users) it would not work anymore.

It is a great plugin and i keep it in, but you should note that in the first posts text, so it is very clear what it does (direct http access).

GeekDrew 07-27-2007 07:49 PM

Quote:

Originally Posted by Simon Moon (Post 1302362)
I figured it out, it was me. The forum is behind an htaccess authentication, for the setup etc. It seems like this plugin goes and literally uses a web access to the showthread url for this, so, if a general user without anything special cant see it (say user and password, or even if you would block the printthread for non registered users) it would not work anymore.

All of my forums require that the user be logged in to read threads, so guests are not able to view any threads. This plugin works just fine for me...

nebu 07-30-2007 05:38 AM

can you say when the new version will be ready?

Majest 07-30-2007 06:13 AM

I've installed this, but each time I try to save a thread as a PDF I get the following error message.

Fatal error: Cannot instantiate non-existent class: html_topdf in /home/user/public_html/forum/threadtopdf.php on line 187

I am not sure if I have html2ps and/or ps2pdf installed. Could that be the problem?

magnus 07-30-2007 10:40 AM

Quote:

Originally Posted by Majest (Post 1305107)
I am not sure if I have html2ps and/or ps2pdf installed. Could that be the problem?

There's no doubt that's the problem. You can't instantiate a class when it doesn't exist. :)

raiderlax 07-31-2007 04:55 AM

Definitely not working for me,

let's make it work please!

magnus 07-31-2007 10:48 AM

Quote:

Originally Posted by raiderlax (Post 1305915)
Definitely not working for me,

let's make it work please!

Can't fix it if you don't tell me what's wrong.

Majest 08-01-2007 09:03 AM

Quote:

Originally Posted by magnus (Post 1305221)
There's no doubt that's the problem. You can't instantiate a class when it doesn't exist. :)

Ah okay, so what versions do I download and how and where do I install them on my site. Sorry but I don't have a clue what to do with them.


All times are GMT. The time now is 05:59 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.01258 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
  • (5)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