Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Download Thread as PDF Details »»
Download Thread as PDF
Version: 1.10, by Frenck Frenck is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Version: 3.5.0 Beta 3 Rating:
Released: 07-02-2005 Last Update: 07-04-2005 Installs: 197
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.


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 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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 10-03-2005, 10:57 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #53  
Old 10-04-2005, 10:13 AM
safwa_server safwa_server is offline
 
Join Date: Sep 2005
Location: KSA
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #54  
Old 10-05-2005, 04:07 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #55  
Old 10-05-2005, 06:04 AM
safwa_server safwa_server is offline
 
Join Date: Sep 2005
Location: KSA
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best thing, I guess, is to join PHP development team and work with them on supporting the language.
Reply With Quote
  #56  
Old 10-05-2005, 06:07 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #57  
Old 10-05-2005, 01:59 PM
Prodimysterio Prodimysterio is offline
 
Join Date: Feb 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great addition! Thank you for this.
Reply With Quote
  #58  
Old 10-06-2005, 09:12 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #59  
Old 10-12-2005, 12:53 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #60  
Old 11-13-2005, 05:03 PM
Ben?'s Avatar
Ben? Ben? is offline
 
Join Date: Sep 2005
Location: Remagen, Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #61  
Old 11-15-2005, 02:38 PM
stutefc stutefc is offline
 
Join Date: Feb 2004
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05291 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete