Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Download Thread as PDF Details »»
Download Thread as PDF
Mod Version: 1.0.1, by magnus (Coder/Designer) magnus is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

vB Version: 3.6.7 Rating: (7 votes - 4.57 average) Installs: 77
Released: 07 Jul 2007 Last Update: 07 Jul 2007 Downloads: 762
Not Supported Uses Plugins Template Edits Additional Files  

Keywords: SHOWTHREAD, PDF, Abobe, export, download, thread

Description:
Allows you to download an entire thread in PDF format, viewable in any PDF viewer such as Adobe Acrobat or Foxit Reader.

Details:
Previously, there was a modification that performed this task however that modification is no longer supported and the backend used was seriously out-of-date and suffered from quite a few bugs. I've gone ahead and created this modification around an entirely different backend, one which works quickly and flawlessly.

Requirements:
  • PHP Version 4.0.4 or greater
  • html2ps (link)
  • ps2pdf (link)

Notes:
Please note, these prerequesits may already be installed on your system. If you're unsure, simply install the modification and upon usage it will inform you if something is missing.

If you happen to be fortunate enough to be using Debian, the above requirements can be installed with the following packages:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Usage:
Under "Thread Tools", simply select "Download as PDF" which will be located under "Show Printable Version". Easy, eh?



Installation:
  1. Download and unzip the pdfthread101.zip archive.
  2. Upload necessary files to their respective locations.
  3. Import the product-pdfthread.xml via the Product Manager.
  4. ???
  5. Profit!

Notes:
All template modifications are made automatically. They attach to pretty common text locations, so modified styles shouldn't* be a problem.



Comments:
As with all my hacks, this modification is provided free of charge. However, if you find this product useful and have money burning a hole in your pocket, feel free to make a small donation, I won't mind.. really.

Version History:
  • 1.0.1 - Initial release, here's to hoping...

Currently Known Bugs:
  • None

* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 30 Jul 2007, 07:13
Majest Majest is offline
 
Join Date: Apr 2006
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?
Reply With Quote
  #47  
Old 30 Jul 2007, 11:40
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Majest View Post
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.
Reply With Quote
  #48  
Old 31 Jul 2007, 05:55
raiderlax's Avatar
raiderlax raiderlax is offline
 
Join Date: Sep 2006
Definitely not working for me,

let's make it work please!
__________________

Reply With Quote
  #49  
Old 31 Jul 2007, 11:48
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by raiderlax View Post
Definitely not working for me,

let's make it work please!
Can't fix it if you don't tell me what's wrong.
Reply With Quote
  #50  
Old 01 Aug 2007, 10:03
Majest Majest is offline
 
Join Date: Apr 2006
Originally Posted by magnus View Post
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.
Reply With Quote
  #51  
Old 01 Aug 2007, 12:03
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Majest View Post
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.
Everything is in the original post.
Reply With Quote
  #52  
Old 02 Aug 2007, 02:06
Majest Majest is offline
 
Join Date: Apr 2006
Forgive me, but I don't see where it tells me to install them. What folders?
Reply With Quote
  #53  
Old 02 Aug 2007, 11:50
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Majest View Post
Forgive me, but I don't see where it tells me to install them. What folders?
Under requirements, there are respective links for each required utility -- simply click the link and you will be taken to the product's homepage where there you can find installation instructions. Be advised that you will most likely need root access to your server in order to install these.
Reply With Quote
  #54  
Old 05 Aug 2007, 00:17
raiderlax's Avatar
raiderlax raiderlax is offline
 
Join Date: Sep 2006
Originally Posted by magnus View Post
Can't fix it if you don't tell me what's wrong.
It shows up a blank page with a 1 line error
__________________

Reply With Quote
  #55  
Old 05 Aug 2007, 13:48
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by raiderlax View Post
It shows up a blank page with a 1 line error
Come on man, work with me here...
Reply With Quote
  #56  
Old 15 Aug 2007, 14:45
nebu nebu is offline
 
Join Date: Sep 2006
is there a version for us who dont have full control over the server?
i cant use this nice hack
Reply With Quote
  #57  
Old 06 Sep 2007, 23:00
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
is there any ipdate for this hack for 3.6.8?

I tried to use it but I am getting page can't display
Reply With Quote
  #58  
Old 07 Sep 2007, 11:41
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Anyone know where I can find this:

ps2pdf (link)

I searched around the site in the link posted in the instructions, but I can't find this download. I got the other one.

Thanks ..

Regards,
Badger
Reply With Quote
  #59  
Old 07 Sep 2007, 20:24
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
how I can deal with
html2ps (link)
ps2pdf (link)
Reply With Quote
  #60  
Old 09 Sep 2007, 19:30
Fungsten Fungsten is offline
 
Join Date: Jul 2006
I'm getting this error.

HTML_ToPDF Error: html2ps [/usr/bin/html2ps] not executable
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:22.

Layout Options | Width: Wide Color: