PDA

View Full Version : Download Thread as PDF


Frenck
07-02-2005, 10:00 PM
http://www.jacqie.net/upload/1120470109.png

What this hack does:
This hack creates an new thread tool.
Download the complete thread as an PDF.

Credits:

Julien Mourot, Renato A. C. & MaRTy.
Developers of the 'html2fpdf' lib used for this hack.

Jacqieline of e-Dot.nl (http://www.e-dot.nl) for creating
icons for this hack.

KirbyDE for his code modification for this hack.
Now it doesn't need code modifications anymore! :)

Details:

1 plugin
1 new file
1 new phrase
1 template modification
7 new templates

Installation:

See install.txt in the zip package

Notes:

Becarefull with editting the pdf templates!
Due to limitations of the html2fpdf lib, the templates where kept a simple as possible to create a working an nice pdf.

Also this is my first 'big' hack, so if i've made a mistake somewhere, i'm sorry. Please report it so I can fix it.

This hack is currently in beta stage...


Don't forget to hit the 'Install' button!

Chris M
07-03-2005, 03:10 PM
Nice - Installing :)

Satan

Chris M
07-03-2005, 03:24 PM
I think we are missing a few files :p

It's trying to point to pdfthread.php :)

Satan

Frenck
07-03-2005, 03:26 PM
Oh my god, how stupid of me.

I've updated the zip file.

Chris M
07-03-2005, 03:27 PM
Happens to the best of us ;)

Installed, very nice, working well :)

Satan

Chris M
07-03-2005, 03:34 PM
Just a thought - I copied the image from the attach folder over to the buttons folder, and it looks ok :)

Satan

Frenck
07-03-2005, 03:38 PM
It looks ok, but it is a little to small.

Just like the image I've put in the zip.

The pulldown menu is not completely straight.

uae
07-03-2005, 05:26 PM
this is cool, I like it.
Thanks for sharing :)

Installed here...

tamarian
07-03-2005, 07:35 PM
Great idea. :up:

What format does it print? Regular thread view, custom view, or "print thread" view?

Does it have a limit on thread size in the number of posts?

Frenck
07-03-2005, 07:37 PM
It looks very much like the printthread view.

Currently it adds ALL posts of a thread into one pdf.

Kirk Y
07-03-2005, 08:00 PM
This is a great idea. I don't think I need it on my board... but a great idea none the less.

Xenon
07-03-2005, 09:11 PM
absolutelly a great idea.

i know a lot of boards i would love to see this installed.

iSpanish
07-03-2005, 09:47 PM
Nice work bro

Install& i like it
CooooL

amykhar
07-03-2005, 09:47 PM
can't this be made as a plugin? ;)

Frenck
07-04-2005, 06:59 AM
LOL @ amykhar :) Is this called revence? :P

No it can't, it needs a modification to class_bbcode.php.
For the PDF generation it needs different template for
the quote, php, html & code block.

There are no hooks at that locations :(


[edit]

Although, it could be done WITHOUT the class_bbcode.php modification!

In that case you need to replace your templates of bbcode_html_printthread, bbcode_code_printthread, bbcode_php_printthread & bbcode_html_printthread with the ones of the PDF thread.

than open pdfthread.php in your favorite editor and search for:


$bbcode_parser->pdfthread = true;


replace it with:

$bbcode_parser->printthread = true;


There it is, a download as pdf without any code modifications...
(Only the look of your printthread will change and might need some further template modifications)

xware
07-04-2005, 09:40 AM
where is the gb2312.map? I need it.

Frenck
07-04-2005, 09:49 AM
That is from the html2fpdf lib.
I have included the complete html2fpdf lib with this zip package.

It looks like you use a non standard font or a font that is not included with the package.

Maybe you could check out the fpdf libary (used for the html2fpdf lib).
I could be in that package.

http://www.fpdf.org/

chanhlinh
07-05-2005, 10:13 AM
It's work okay, but i download without font Unicode-8 (I'm Vietnamese) :) Please help me.

Thanks in advanced
Chanhlinh
www.quantri.com.vn

Frenck
07-05-2005, 11:20 AM
If you need special font, than visit fpdf.org, there you will find a manual/scripts about convering font for use with this scripts.

chanhlinh
07-05-2005, 11:33 AM
Thanks alot Frenck,

You are so kind.

Best regards!
chanhlinh

Andreas
07-05-2005, 02:52 PM
Hmm ... it can be done without editing class_bbcode.php and without having to modify the printthread Templates :)

In pdfthread.php
FIND

// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################


BELOW that ADD

$vbulletin->templatecache['bbcode_php'] = $vbulletin->templatecache['bbcode_php_pdfthread'];
$vbulletin->templatecache['bbcode_html'] = $vbulletin->templatecache['bbcode_html_pdfthread'];
$vbulletin->templatecache['bbcode_quote'] = $vbulletin->templatecache['bbcode_quote_pdfthread'];
$vbulletin->templatecache['bbcode_code'] = $vbulletin->templatecache['bbcode_code_pdfthread'];


Done :)

Marco van Herwaarden
07-05-2005, 03:14 PM
Hmm ... it can be done without editing class_bbcode.php and without having to modify the printthread Templates :)

In pdfthread.php
FIND

// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################


BELOW that ADD

$vbulletin->templatecache['bbcode_php'] = $vbulletin->templatecache['bbcode_php_pdfthread'];
$vbulletin->templatecache['bbcode_html'] = $vbulletin->templatecache['bbcode_html_pdfthread'];
$vbulletin->templatecache['bbcode_quote'] = $vbulletin->templatecache['bbcode_quote_pdfthread'];
$vbulletin->templatecache['bbcode_code'] = $vbulletin->templatecache['bbcode_code_pdfthread'];


Done :)There is no pdfthread.php anymore Kirby. You just removed it. :D

Andreas
07-05-2005, 03:18 PM
I know. But when it comes back the change can be applied ;)

Frenck
07-05-2005, 05:39 PM
Version 1.10 out!

Thx to KirbyDE this hack now can be marked as an extension!

jesus likes pie
07-06-2005, 05:31 PM
1st of all I dont get the image to display, and 2nd, when i click it, the pdf is blank...

lazorde
07-06-2005, 05:52 PM
tahnxxx for hack

bat he dont support arabic

voclain
07-08-2005, 01:58 PM
I realize this is probably a super silly question....being I'm surfing the 3.5 version area....but....I'll ask anyway....will this work on verson 3.0.3????

Kirk

ThorstenA
07-08-2005, 02:09 PM
Very great that you do not need any code modifications now.

Is there an option to set a variable in template to begin a new (pdf-) site? I would like to have a new pdf-page after every posting (#1 is on page 1, #2 is on page 2, #3 is page 3 ...) How can I do that?

red_baron2000
07-09-2005, 12:49 AM
great hack indeed thanks. just a question..can some forums be excluded ? i do not want my users print all threads posted on board..i mean can this be shown as active on some forum and others not ? or maybe set for some users groups and others not? thank you again.

ThorstenA
07-11-2005, 07:12 AM
great hack indeed thanks. just a question..can some forums be excluded ? i do not want my users print all threads posted on board..i mean can this be shown as active on some forum and others not ? or maybe set for some users groups and others not? thank you again.
Just put in a conditional for forums in the showthread template.

dayblue
07-29-2005, 04:26 AM
Hmm... I'm on vb3.5 RC1 and it's rejecting the xml file. Had to add it in manually. Everythings working fine though now.

if (THIS_SCRIPT=='pdfthread' && !PDFASHTML) {
$pdf = new html2fpdf();
$pdf->AddPage();
$pdf->WriteHTML($output);

header("Content-type: application/pdf");
header("Content-Disposition: attachment; filename=thread-".$threadid.".pdf");

$pdf->Output();
exit();
}

Boofo
07-29-2005, 04:41 AM
Hmm... I'm on vb3.5 RC1 and it's rejecting the xml file. Had to add it in manually. Everythings working fine though now.

if (THIS_SCRIPT=='pdfthread' && !PDFASHTML) {
$pdf = new html2fpdf();
$pdf->AddPage();
$pdf->WriteHTML($output);

header("Content-type: application/pdf");
header("Content-Disposition: attachment; filename=thread-".$threadid.".pdf");

$pdf->Output();
exit();
}

What did you change? ;)

dayblue
07-29-2005, 04:47 AM
Well, the odd thing is I didn't change anything. Just took the stuff between the CDATA tags and pasted that in manually instead of importing an XML file. The XML import didn't work for some reason.

Boofo
07-29-2005, 05:16 AM
It worked fine for me on RC 1. Strange.

Although the file name is always pdfthread with no threadid number after it.

dbembibre
08-06-2005, 12:42 AM
Installed on RC2 work fine
Thanks a lot for this great hack

Boofo
08-06-2005, 11:54 AM
Has anyone else run into the problem with it not putting the thread id number in the downloadable file name?

ajpritch
08-31-2005, 06:10 AM
I have it working fine but when I click the drop down the pdf icon is missing. I coppied it over to the images/buttons folder as pdf.gif. Any Ideas?

chikkoo
09-05-2005, 12:25 PM
I installed it but it is not giving the output properly as I am using a Unicode Font.

I went to www.fpdf.org, but I don't understand the procedure to make a font file. Can someone explain me step by step, how to do it?

nexialys
09-05-2005, 12:39 PM
i've put the title instead of the threadid in the file name: header("Content-Disposition: attachment; filename=thread-".str_replace(' ', '_', $threadinfo['title']).".pdf");

Princeton
09-05-2005, 01:03 PM
GREAT extenstion! :up:

murrtex
09-24-2005, 05:04 PM
help me please..I try but it is following errors when i click download pdf version,
FPDF error: GIF parser: unable to open file images/logo/forumlogo.gif

my vvb versiyon350rc3

murrtex
09-24-2005, 05:19 PM
ok i fixed it i changed *.gif as *.jpg ...it is ok now..

utw-Mephisto
09-24-2005, 05:27 PM
Just installed on RC3 - works like a charm :) *CLICKS INSTALL*

utw-Mephisto
09-24-2005, 05:52 PM
i've put the title instead of the threadid in the file name: header("Content-Disposition: attachment; filename=thread-".str_replace(' ', '_', $threadinfo['title']).".pdf");


where did you changed that ?

Delphiprogrammi
09-24-2005, 06:02 PM
that works fine

Trevor Hannant
09-25-2005, 05:05 PM
Great idea.

Just installed on test forum but will port to live once I upgrade that after 3.5 goes Gold. :up:

Only change I made to it for my own preference was to have pdfthread.php open in a new window.

Trevor Hannant
09-25-2005, 08:58 PM
Thought: Is it possible to restrict this to specific usergroups?

Lea Verou
10-02-2005, 07:26 PM
What about encoding??
I have ISO 8859-7 (greek) and the pdf is like it's on a different encoding although I set to 8859-7 in my browser!

safwa_server
10-03-2005, 04:23 AM
I installed this successfully, had the icon and opens PDF file but has no content at all!

Please advise

Thanks

safwa_server
10-03-2005, 05:19 AM
OK, got it. It was my problem; I was re-editing each of the 7 templates with its next one, finalized up having only one template. I revised the style and create every child template under it separately and it works well now for English, but not for Arabic. I will try to figure out how it can print in Arabic. Thanks.

Smitty
10-03-2005, 10:57 AM
I installed this successfully, had the icon and opens PDF file but has no content at all!I can't help, but are you doing this on the 3.5 release or does anyone know if it works with the 3.5 release?

safwa_server
10-04-2005, 10:13 AM
Thank you for your attention

I have been researching for the problem source and found that Arabic is not yet supported in the encoding functions of PHP. I found that in file html2fpdf.php they use cp1252. Replacing that with cp1256 (for Arabic) will give error that it is not supported, and I confirmed that from PHP website itself.

Regards

I can't help, but are you doing this on the 3.5 release or does anyone know if it works with the 3.5 release?

Lea Verou
10-05-2005, 04:07 AM
What about encoding??
I have ISO 8859-7 (greek) and the pdf is like it's on a different encoding although I set to 8859-7 in my browser!

Any ideas...anyone?? It can't be that difficult!!

safwa_server
10-05-2005, 06:04 AM
The best thing, I guess, is to join PHP development team and work with them on supporting the language.

Lea Verou
10-05-2005, 06:07 AM
The best thing, I guess, is to join PHP development team and work with them on supporting the language.

I hope you're joking! My php knowledge is close to zero!

PS: If php itself didn't support greek then there wouldn't be any greek vBulletin forums, would they? ;)

Prodimysterio
10-05-2005, 01:59 PM
Another great addition! Thank you for this.

Lea Verou
10-06-2005, 09:12 PM
I've seen that the person who made the hack hasn't replied here since july so it's quite unlikely that we get support...
Will probably install the other hack for downloading threads... :(

Lea Verou
10-12-2005, 12:53 PM
The funny thing is that this hack is supposed to be "supported". :(

Anyway... When I try to open a thread as PDF I get the message:
FPDF error: GIF parser: unable to open file http://www.e-steki.com/forum/images/blank.gif (http://www.e-steki.com/forum/images/blank.gif%5C)

Any ideas??

Ben?
11-13-2005, 05:03 PM
Nice hack. *installed*

I add a template modification.
If you browse with inactive JavaScript-support you have to modify the SHOWTHREAD template second times respectively at two places.

So, search <div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p">$vbphrase[show_printable_version]</a></div>
and add below
<div><img class="inlineimg" src="$stylevar[imgdir_button]/pdf.gif" alt="$vbphrase[download_pdf_version]" vspace="1" /> <a href="pdfthread.php?$session[sessionurl]t=$threadid">$vbphrase[download_pdf_version]</a></div>

It works fine in my forum. If you want .. test it ;-).

With regards,
Ben.

stutefc
11-15-2005, 02:38 PM
I just get the following url when I click on the download PDF file download icon

http://www.irishleagueforums.net/forums/pdfthread.php?t=44733

Then blank page...any ideas folks

Ben?
11-15-2005, 02:41 PM
The requested URL /forums/pdfthread.php was not found on this server.
Did you upload the file pdfthread.php in the "/forums"-directory?

sully02
11-27-2005, 02:06 PM
Is this hack compatible with 3.5.1? I'm going to assume not unless told otherwise.

croportal
11-28-2005, 04:35 PM
when i open threadpdf how can i display croatina letters like č枚đčžćč and pictures

croportal
12-12-2005, 10:19 AM
why i dont see the pictures in pdf...and where can i set croatian charset because i dont se čćžčćšđččžčžć signs

klaush
12-12-2005, 01:25 PM
Is this hack compatible with 3.5.1? I'm going to assume not unless told otherwise.

Just installed on 3.5.2 and it?s working fine!

Bubble #5
12-18-2005, 03:36 PM
why i dont see the pictures in pdf...
Do you see the pictures when you choose "show printable version"?

croportal
12-18-2005, 09:00 PM
in printable version a see the pictures

AWI
12-21-2005, 12:15 PM
Installed on 3.5.2 and so far so good, thanks

silurius
12-21-2005, 04:10 PM
When will this extension exit beta?

firstrebel
12-22-2005, 10:53 AM
Installed on my 3.5.2 dev forum and works fine, and going to install on live forum. First class, thanks.

Bob

msimplay
12-22-2005, 11:34 AM
an idea would be to allow individual posts to be downloaded in pdf format and then i'd probably turn print view off completely.

I've seen this done on one other forum not vbulletin

jAcKz
12-23-2005, 10:58 AM
Works great, but it doesn't display images posted within the thread at all - is this intended?

klaush
12-24-2005, 10:42 AM
Anyone got any huge threads on their forums they've downloaded as PDFs? Any trouble at all?

Threads with 150 postings and more; no problem at all!

weitalia
12-29-2005, 12:25 AM
Super!!!! ;)

;)

turkcom
12-29-2005, 12:35 PM
I get following error on a VB 3.5.2 :

Fatal error: Call to undefined function: displaypreferences() in ../html/forum/neuboard/forum/html2fpdf/html2fpdf.php on line 155

Can anyone help me pls?

thx

Mr_TriGGeR
01-01-2006, 05:02 PM
turkcom I think your problem is you need to chmod the file you uploaded to the root.

As for me I have a diff error.

FPDF error: GIF parser: unable to open file images/scforumstyle/misc/scheader.gif

can anyone let me know how to correct this.

PennylessZ28
01-01-2006, 05:27 PM
Clicks install

vishalsachar
01-03-2006, 04:34 PM
Hi there I am receiving the following errors:-
http://img282.imageshack.us/img282/5026/10wl1.gif

I am using 3.5.2 and followed everything to a T (twice).

I'd really appreciate help here as this hack is a very important feature for our forum. Thanks and happy new year!

chikkoo
01-04-2006, 01:24 AM
Just curious to know whether this Mod adds the dynamic information,
such as downloading username, current date/time, etc. because it is
important to me.

A javascript that adds such dynamic information here:
http://www.planetpdf.com/developer/article.asp?ContentID=6904

Code Monkey
01-04-2006, 02:52 AM
You might want to fix gif.php. It opens with short tags


<?


Which cause a lot of problems for sites with it turned off. ;)


<?php

codjo
01-05-2006, 12:52 PM
Hello,

first thank you for the hack!

The hack is working on my board but I have a problem with the thread title and the name of the created pdf file.
If I click on Download Thread as PDF I get a download filename of the file that calls thread-.pdf

How can I fix the problem? I have installed the hack with the install manual.

Thanks
codjo

quanvo81
02-19-2006, 06:44 PM
Hi all !
I wonder if this hack works with 3.5.3? Since I don't have a test board to test !
Thanks !

Xenon
02-20-2006, 09:57 PM
it does not need file changes, so it should work.

i remember that i tested it and did a few smal changes to it, but i think that was for another reason..

firstrebel
02-21-2006, 02:26 PM
Works fine on my 3.5.3

Bob

quanvo81
02-21-2006, 06:54 PM
Thanks guys ! Thanks alots for reply.
I installed this, it's SWEET, Great hack mate. I LOVE this.

Bieddos
02-22-2006, 10:05 AM
i install it... but i obtain only a blank page :(

http://www.elaborare.info/forum/vbulletin/pdfthread.php?t=149157

Bieddos
02-22-2006, 10:40 AM
i install it... but i obtain only a blank page :(

http://www.elaborare.info/forum/vbulletin/pdfthread.php?t=149157
now i disable the plug... and i obtain a 1 page of browser with all post! That's nice for me :D:D:D

Mike11212
03-04-2006, 08:14 AM
will this work in 3.5.4?

firstrebel
03-04-2006, 09:14 AM
Works OK on mine.

Bob

sschneider
03-10-2006, 09:30 AM
Hello,

i installed the extension and get the following error when i want to download a thread as PDF:



Warnung: open_basedir restriction in effect. File is in wrong directory in /html2fpdf/html2fpdf.php (Zeile 62)

Warnung: open_basedir restriction in effect. File is in wrong directory in /html2fpdf/html2fpdf.php (Zeile 63)

Warnung: open_basedir restriction in effect. File is in wrong directory in /html2fpdf/fpdf.php (Zeile 507)

Warnung: open_basedir restriction in effect. File is in wrong directory in /html2fpdf/fpdf.php (Zeile 507)

Warnung: open_basedir restriction in effect. File is in wrong directory in /html2fpdf/fpdf.php (Zeile 507)

Warnung: Cannot add header information - headers already sent by (output started at ***/forums/includes/class_core.php:2984) in /includes/functions.php(4367) : eval()'d code (Zeile 6)

Warnung: Cannot add header information - headers already sent by (output started at ***/forums/includes/class_core.php:2984) in /includes/functions.php(4367) : eval()'d code (Zeile 7)

Warnung: Cannot add header information - headers already sent by (output started at ***/forums/includes/class_core.php:2984) in /html2fpdf/fpdf.php (Zeile 1665)
FPDF error: Some data has already been output to browser, can't send PDF file

I really dont know where to look. When i search "open_basedir restriction in effect" i get a lot of threads.

Does anybody know whats going on here?
I would appreciate it if someone would help me.

Sebastian

derfelix
03-17-2006, 03:52 AM
Works like a charm.. thx (clicks install)

One little cosmetic problem though..
if in the thread there are words with apostrophies
example:

"John's world isn't round"
the pdf will read:
"John s world isn t round"

i'm sure ist only a slash somewhere to add in the code...

thx
Felix

turkcom
04-01-2006, 06:26 AM
turkcom I think your problem is you need to chmod the file you uploaded to the root.

As for me I have a diff error.

FPDF error: GIF parser: unable to open file images/scforumstyle/misc/scheader.gif

can anyone let me know how to correct this.

i have change the chmods of the files. but it doesnt help.

i get the error: Fatal error: Call to undefined function: displaypreferences() in /var/www/vhosts/test.de/httpdocs/forum/html2fpdf/html2fpdf.php on line 155

Any ideas? this functionality is very important for me. can anybody help me pls?

thx

chanthuyen
04-17-2006, 02:56 PM
please upgrade this mod for 3.5.4

Thanks.

AAN
04-23-2006, 07:59 PM
hi all,

I've installed this hack and am getting this error when I try to use it: What am I doing wrong?

Warning: main(): Unable to access /home/httpd/vhosts/all-about-nothing.net/httpdocs/forums/html2fpdf/html2fpdf.php in /pdfthread.php on line 42

Warning: main(/home/httpd/vhosts/all-about-nothing.net/httpdocs/forums/html2fpdf/html2fpdf.php): failed to open stream: No such file or directory in /pdfthread.php on line 42

Fatal error: main(): Failed opening required '/home/httpd/vhosts/all-about-nothing.net/httpdocs/forums/html2fpdf/html2fpdf.php' (include_path='.:') in /home/httpd/vhosts/all-about-nothing.net/httpdocs/forums/pdfthread.php on line 42

AAN
04-23-2006, 08:55 PM
figured it out :)

thanks!

DrHUS
04-28-2006, 04:14 PM
is it support multi-lang. ? (arabic ...)

Eagle Creek
05-04-2006, 06:40 PM
I got this error:
FPDF error: Unsupported image type: php?attachmentid=1064&stc=1&d=1145057033

vampireus
05-04-2006, 11:45 PM
It's working with vB 3.5.4, however it do not support non-Eng characters, mine is Vietnamese

giorgiotave
06-10-2006, 02:51 PM
This hack is compatible with vbrewrite?

Eagle Creek
06-11-2006, 06:53 AM
I got this error:
FPDF error: Unsupported image type: php?attachmentid=1064&stc=1&d=1145057033

I get this error every time a thread has a attachement.
De-installed :(.

Tralala
06-20-2006, 07:04 PM
A variant of this hack is now installed on vBulletin.org:

https://vborg.vbsupport.ru/showthread.php?p=1012417

bashy
06-20-2006, 08:15 PM
Dont work for me either, i get a blank page when the browser changes to a PDF browser :(

theArchitect
07-05-2006, 11:43 AM
This hack has worked fine for me in the past, but today one of my members tried it and logged the following error with me

FPDF error: GIF parser: unable to open file images/aria/misc/logo.gifI have just tried to use this hack on my forum and got the same error.

I have checked and the requested file logo.gif is in the directory that FPDF is looking for it so I can't understand this error.

I am running vB 3.5.4. Hopefully someone will have a solution. ;)

Allan
07-05-2006, 04:55 PM
This hack work with vB 3.6 ?

Muellmann
07-06-2006, 11:32 AM
This hack has worked fine for me in the past, but today one of my members tried it and logged the following error with me

I have just tried to use this hack on my forum and got the same error.

I have checked and the requested file logo.gif is in the directory that FPDF is looking for it so I can't understand this error.

I am running vB 3.5.4. Hopefully someone will have a solution. ;)

This can happen, but only if you upload new GIF's. CHMOD should help here :)

vishalsachar
07-06-2006, 07:26 PM
Hi it doesn't work for me I get this error:

Fatal error: Cannot instantiate non-existent class: cgif in /home/pa1728/public_html/forums/html2fpdf/fpdf.php on line 2216

It did work on another style, which is deleted, but now it doesn't. Any advice for a simpleton?

morrow
07-11-2006, 01:16 AM
Just installed it. Took about 3 minutes. Nice hack, thanks! I like the output format too!

Just curious, how much strain will this place on my hosting companies server?

Smitty
08-15-2006, 01:03 AM
Is anyone using this with vB 3.6?

Eagle Creek
08-15-2006, 01:12 AM
Is anyone using this with vB 3.6?
It didn't worked nicely at 3.5.x so I didn't try out.

dbembibre
08-20-2006, 10:05 PM
Is anyone using this with vB 3.6?

Work ok for me in vb 3.6

agl
08-29-2006, 11:16 AM
nice installed :) thx

cavyspirit
09-09-2006, 04:05 PM
hmmm. Was this JUST installed here on vB.org?

I tried it on this thread and get: "FPDF error: Alpha channel not supported: http://www.jacqie.net/upload/1120470109.png"

I'd like to install it on my 3.6 forum if it works.

thunder_sti
09-09-2006, 08:24 PM
Does this work for the 3.5.5???

Thanks..

Keyser S?ze
09-15-2006, 11:11 PM
what is the latest version this has been tested on? maybe the description needs an update if it works past 3.5.0 b2

sounds like a sweet hack

firstrebel
09-16-2006, 09:23 AM
It works OK on 3.6.1

Bob

Chadi
09-20-2006, 04:17 PM
This is not working well for me on 3.6.1

see attached. I uploaded all, added phrases, templates, etc and it shows that.

gm1
09-22-2006, 07:06 PM
Yes, it works for 3.6 but the images are too huge. They are not how they look in the forum. The images are just oversised.
I´ve seen, that they are also too big in the demoshots.

may anyone tell me, if and than how to change the imagesise?

Thx

Aylwin
10-05-2006, 01:46 PM
Nice plugin/mod! How about making this a product? This way, we don't have to manually add those new templates and phrase. Yes, I'm lazy. :)

Pagandream
10-06-2006, 08:38 AM
Nice plugin/mod! How about making this a product? This way, we don't have to manually add those new templates and phrase. Yes, I'm lazy. :)

Yeah that would be nice!

wottech
11-21-2006, 02:18 AM
Has anyone gotten this to work on 3.6.3? I had it working on 3.6.2, but ever since I upgraded to 3.6.3, I keep getting the following error:

FPDF error: GIF parser: unable to open file /xxxx/xxxxx/xxxxx/xxxxxx.com/html2fpdf/no_img.gif

wottech
11-23-2006, 12:39 AM
Here is the fix when running php 5.0

https://vborg.vbsupport.ru/showthread.php?p=1123354#post1123354

StarFire
02-01-2007, 12:52 PM
Runs fine on 3.6.4 - Pics too big, sure, but it's the text I need

Top Nurse
02-19-2007, 09:38 AM
Anyone got this to work right in 3.6.4 as yet? BTW, what pics are too big? How about a screen shot?

Top Nurse
02-21-2007, 03:45 AM
We have it installed now and running perfectly in 3.6.4. We also have quite a few other plug-ins and products installed so it doesn't seem to be be causing any conflicts so far. :)

Thanks again for a really nice piece of work here. Jelsoft should give strong consideration to having this available as a standard feature in the next version. :up: :up: :up:

bela-meaad
03-04-2007, 03:54 AM
How can this work on (UTF-8)
Arabic language?

Thanks

bela-meaad
03-06-2007, 12:30 PM
Any one?

bollie
03-18-2007, 12:31 PM
Here is the fix when running php 5.0

https://vborg.vbsupport.ru/showthread.php?p=1123354#post1123354

Fix work not
FPDF error: GIF parser: unable to open file images/satellite/misc/logo.gif
3.6.5

testebr
03-24-2007, 03:01 AM
Same problem here

danny75
03-25-2007, 11:26 AM
:( this is not good for 3.6.5

Shazz
03-25-2007, 01:18 PM
Working smooth on 3.6.5 :)

Ben?
05-29-2007, 04:40 PM
Anyone runs this plugin with a vB 3.6.7?

My installation does not work, yet.

dutchbb
06-11-2007, 08:11 PM
It doesn't work on 3.6.7 on my board, i get this error:

FPDF error: GIF parser: unable to open file http://forum.dutchbodybuilding.com/images/misc/logo.gif


Can you solve this Frenck? Thank you.

dutchbb
06-11-2007, 08:20 PM
BTW this fix also didn't work: https://vborg.vbsupport.ru/showthread.php?p=1266480#post1266480

dutchbb
06-17-2007, 08:27 PM
Any news?

dtv100
07-04-2007, 07:29 AM
anyone have this working with 3.6.7?

raiderlax
07-04-2007, 07:43 AM
Yeah it would be awesome if it worked for 3.6.7

nebu
07-05-2007, 01:18 PM
i need this hack for 3.6.7

nebu
07-05-2007, 05:43 PM
why this hack is marked as "supported" and "Developer Last Online: Oct 2005"

does it make sense?

plz hear me ;)

Shazz
07-05-2007, 05:56 PM
why this hack is marked as "supported" and "Developer Last Online: Oct 2005"

does it make sense?

plz hear me ;)

He probablly didnt sign back on to take support off then =\

magnus
07-06-2007, 09:33 PM
I got bored, so here's a confirmed working version for 3.6.7PL1. This has only been tested using PHP5. It will not work on PHP4.

I've packaged it up as a product and it requires no template creation, edits, etc. Everything is handled from within the product.

First, uninstall the previous version. Files, phrases, templates. Everything.

Next, unpack the attached file and upload the contents of the forum directory to your forum root. Then simply import the product XML and you're done.

* Edit: Well, according to vBorg I'm exceeding my attachments quota. So, apparently I can't attach any files.

Thanks vBorg!

So, until that gets resolved here's a direct URL. << LINK REMOVED >>

Lea Verou
07-06-2007, 09:46 PM
I got bored, so here's a confirmed working version for 3.6.7PL1. This has only been tested using PHP5. It will not work on PHP4.

I've packaged it up as a product and it requires no template creation, edits, etc. Everything is handled from within the product.

First, uninstall the previous version. Files, phrases, templates. Everything.

Next, unpack the attached file and upload the contents of the forum directory to your forum root. Then simply import the product XML and you're done.

* Edit: Well, according to vBorg I'm exceeding my attachments quota. So, apparently I can't attach any files.

Thanks vBorg!

So, until that gets resolved here's a direct URL. Download (http://plzdiekthx.com/pdfthread367.zip)
Does it work for other languages?

Quantnet
07-06-2007, 10:03 PM
magnus,

Installed without a single problem. When i view threads that have tex bbcode, it does not render images properly...it will just show a square box with red cross in it.

This is in Firefox and Opera browsers.
In IE 7, I have this error FPDF error: Unsupported image type: cgi?/partial

Look like pdfthread.php does not handle the mimetex.cgi script well.

Quantnet
07-06-2007, 10:05 PM
Also, when i tried to use pdf thread on a thread with pictures...http://www.quantnet.org/forum/showthread.php?t=845

i had these error
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /html2fpdf/fpdf.php on line 2201

magnus
07-06-2007, 10:23 PM
Also, when i tried to use pdf thread on a thread with pictures...http://www.quantnet.org/forum/showthread.php?t=845

i had these error
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /html2fpdf/fpdf.php on line 2201

When I attempt to view as a PDF for that thread, I receive the error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1273902197 bytes) in /home/quantnet/public_html/forum/html2fpdf/fpdf.php on line 2201

Which appears, to me, that your PHP memory allocation block is too small.

magnus
07-06-2007, 10:26 PM
Upon further testing, the only "problem" I can seem to find is that pictures will display as a red X. Other than that, the complete document is properly rendered into PDF format.

I'm going to take a quick look at the picture issue.

Quantnet
07-06-2007, 10:26 PM
^^ I up it to 256MB which is the maximum of my VPS plan. That should not be a problem with the memory anymore.

When I use the View printable thread, everything appears fine, pictures, latex....

magnus
07-06-2007, 10:28 PM
Does it work for other languages?

What do you mean? There's really no language dependency (that I can see). There's only one phrase, which can be translated if desired.

Quantnet
07-06-2007, 10:30 PM
Here is a thread with latex which you can test the Show Printable Version and Show PDF
http://www.quantnet.org/forum/showthread.php?t=410

magnus
07-07-2007, 02:31 AM
Ok, the problem appears to be inherent with html2fpdf. I've gone ahead and basically written a new hacking using a different set of classes/libraries which seems to function much better. Once I'm confident it's stable, I'll get it released. This shouldn't take more than a day, if that.

For the time being, I've gone ahead and removed the previous archive as it will never work 100% without rewriting the backend.

Quantnet
07-07-2007, 05:44 AM
Awesome magnus.
I'll look forward to it.

magnus
07-07-2007, 09:36 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=151637" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=151637</a>

yahoooh
08-28-2009, 07:09 PM
does it work for vb 3.8.x

BeefyBeefo
03-30-2010, 10:11 PM
does it work for vb 3.8.x

I would be interested in something like this for 3.8.5 as well. I can't find one. :(