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)

magnus 07-10-2007 07:54 PM

Yea, I'm trying to rework this modification to make it a bit easier for those on shared hosts who don't necessarily have access to server configs.

This was just a quick attempt to fill a requested need. We'll see what develops.

nebu 07-11-2007 09:11 AM

thx :)

testebr 07-11-2007 09:26 AM

Which to real need of having a topic in pdf?

magnus 07-11-2007 10:44 AM

Quote:

Originally Posted by testebr (Post 1288233)
Which to real need of having a topic in pdf?

There's plenty of uses for a modification such as this. For instance, if you run a technical site many times a thread will be one of your best sources of information. So, rather than printing it out you can simply save the thread in PDF format for reference purposes -- so if you ever need it again, the information is readily available.

Or, perhaps, you run a gaming site. Often threads will contain game hints, tips, walkthroughs or the like. Again, you can just save the thread to PDF and have it available at your fingertips.

The list goes on and on. However, if you cannot fathom a use for your site then perhaps this modification isn't for you.

Quantnet 07-14-2007 09:58 AM

any development on this, magnus ?

magnus 07-16-2007 01:29 PM

On this one, no. I'm trying to achieve the same results w/o the need for any non-standard unix binaries. There are a few ways to do it, but unforunately, they're not nearly as efficient. But, I do have a couple things in the works -- hopefully a viable solution will fall into place soon.

Simon Moon 07-25-2007 03:12 AM

I have installed this on a new forum (not visible to the public yet) and it gives me a blank pdf. It clearly is a pdf though, but it is empty, just no content at all. I have vBSEO installed, could that interfere in some way?

magnus 07-25-2007 11:33 AM

Quote:

Originally Posted by Simon Moon (Post 1300791)
I have installed this on a new forum (not visible to the public yet) and it gives me a blank pdf. It clearly is a pdf though, but it is empty, just no content at all. I have vBSEO installed, could that interfere in some way?

In your vBSEO settings, make sure "Rewrite Printthread URLs" is set to No.

Simon Moon 07-25-2007 03:08 PM

I tried that, doesn't work though. It still shows a completely empty PDF.

Looking a bit deeper, does it have problems with basedir restrictions?
Safe mode is off, but basedir is limited to the public html directory.

magnus 07-25-2007 03:42 PM

Quote:

Originally Posted by Simon Moon (Post 1301271)
I tried that, doesn't work though. It still shows a completely empty PDF.

Looking a bit deeper, does it have problems with basedir restrictions?
Safe mode is off, but basedir is limited to the public html directory.

There is PHPs open_basedir, if "/usr/local/bin/" (or wherever you've placed your html2ps binary) is not within the allowed path, then php scripts won't be able to access the file.


All times are GMT. The time now is 06:28 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.01081 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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