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: 763
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.
Comments
  #2  
Old 07 Jul 2007, 22:32
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Reserved.
Reply With Quote
  #3  
Old 07 Jul 2007, 23:20
jasculs jasculs is offline
 
Join Date: Jun 2007
What do I do with these?

* html2ps (link)
* ps2pdf (link)

I'm not sure where to put them and I couldn't quite understand the installation instruction.
Reply With Quote
  #4  
Old 07 Jul 2007, 23:26
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by jasculs View Post
What do I do with these?

* html2ps (link)
* ps2pdf (link)

I'm not sure where to put them and I couldn't quite understand the installation instruction.
The applications html2ps and ps2pdf are both dependencies of this modification. If they're not already present on your system, they will need to be downloaded, compiled and installed. These utilities are not vBulletin related, they have absolutely nothing to do with vBulletin.

Chances are, if you're using a shared hosting account, these are already installed. Before trying to install them, I would just attempt to run the modification first and see if they're already present.
Reply With Quote
  #5  
Old 07 Jul 2007, 23:46
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
I have printthread completely removed for SEO purposes. This is just the alternative I've been waiting for! Thanks.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #6  
Old 08 Jul 2007, 01:27
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
all the time :- safe mode effect .

Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 583 is not allowed to access /tmp/thread5918aSSCNI owned by uid 48 in /threadtopdf.php on line 179
HTML_ToPDF Error: html2ps [/usr/bin/html2ps] not executable
dont we have a way to prevent it .
Reply With Quote
  #7  
Old 08 Jul 2007, 01:28
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
This really looks like a good feature for any forums. Thanks for releasing, will test it out shortly.
Thanks.
Reply With Quote
  #8  
Old 08 Jul 2007, 03:58
ssslippy's Avatar
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Originally Posted by Barakat View Post
all the time :- safe mode effect .

dont we have a way to prevent it .
Unfortunally your host has safe mode. You would need to contact them to resolve this issue.
Reply With Quote
  #9  
Old 08 Jul 2007, 04:14
Quantnet Quantnet is offline
 
Join Date: Nov 2006
installed this and html2ps but still have the error
HTML_ToPDF Error: html2ps [/usr/bin/local/html2ps] not executable

I changed the path in /includes/class_threadtop.php to /usr/bin/local/html2ps to no avail


This mod requires the use a direct access to their server. What about those on shared hosting ?
Reply With Quote
  #10  
Old 08 Jul 2007, 04:53
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
A few friends of mine run vBulletin sites on shared hosting and they were able to use this modification no problem. Really, it's hit or miss with some shared hosting providers.

The html2ps error you're receiving is claiming the binary isn't set to executable. What are the permissions? Did you install from source or did you use a package (ie. rpm, deb)?

A simple chmod 755 should fix it (provided you have rights to do that).
Reply With Quote
  #11  
Old 08 Jul 2007, 05:14
Quantnet Quantnet is offline
 
Join Date: Nov 2006
i'm on a VPS so i have full control over my server. Here is the step i used

wget http://user.it.uu.se/~jan/html2ps-1.0b5.tar.gz
tar xvfz html2ps-1.0b5.tar.gz
cd html2ps-1.0b5
./install

Click yes and set directory..it get installed in /usr/local/bin/

cd /usr/local/bin/
chmod 755 html2p*


Still the same error...did i chmod correctly ? What do i miss ?
Reply With Quote
  #12  
Old 08 Jul 2007, 06:17
soletrader soletrader is offline
 
Join Date: Jul 2006
anyone have the link to the older version of this hack?
Reply With Quote
  #13  
Old 08 Jul 2007, 06:35
ragtek's Avatar
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Originally Posted by FleaBag View Post
I have printthread completely removed for SEO purposes. This is just the alternative I've been waiting for! Thanks.
this is unnecessary.

this link is marked with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

so the bots aren't indexing it and so you woun't have double content
__________________
my addons: http://ragtek.github.com
Reply With Quote
  #14  
Old 08 Jul 2007, 07:16
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Real name: Jeremy
Is there a screenshot of this?
__________________
Global Gamers
My Modifications
Reply With Quote
  #15  
Old 08 Jul 2007, 09:33
Lizard King's Avatar
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Real name: Mert
Originally Posted by ragtek View Post
this is unnecessary.

this link is marked with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

so the bots aren't indexing it and so you woun't have double content
Every search engine bot doesn't rely on rel="nofollow" .
__________________
Mert Gökçeimam / Crawlability Inc.

DepKaç | vBSEO 3.3.0 - vBulletin Search Engine Optimisation
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 15:35.

Layout Options | Width: Wide Color: