vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Download Thread as PDF (https://vborg.vbsupport.ru/showthread.php?t=91562)

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

Quote:

Originally Posted by nexialys
i've put the title instead of the threadid in the file name:
PHP Code:

    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

Quote:

Originally Posted by safwa_server
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

Quote:

Originally Posted by Smitty
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

Quote:

Originally Posted by Loukrhtia
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

Quote:

Originally Posted by safwa_server
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

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
Code:

<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
Code:

                        <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/for...ad.php?t=44733

Then blank page...any ideas folks

Ben? 11-15-2005 02:41 PM

Quote:

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

Quote:

Originally Posted by sully02
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

Quote:

Originally Posted by croportal
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

Quote:

Originally Posted by mini2
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/a...ContentID=6904

Code Monkey 01-04-2006 02:52 AM

You might want to fix gif.php. It opens with short tags

Code:

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

Code:

<?php


All times are GMT. The time now is 04:20 AM.

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.01348 seconds
  • Memory Usage 1,801KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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