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
  #12  
Old 07-03-2005, 08:00 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great idea. I don't think I need it on my board... but a great idea none the less.
Reply With Quote
  #13  
Old 07-03-2005, 09:11 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

absolutelly a great idea.

i know a lot of boards i would love to see this installed.
Reply With Quote
  #14  
Old 07-03-2005, 09:47 PM
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Location: Oregon
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work bro

Install& i like it
CooooL
Reply With Quote
  #15  
Old 07-03-2005, 09:47 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can't this be made as a plugin?
Reply With Quote
  #16  
Old 07-04-2005, 06:59 AM
Frenck's Avatar
Frenck Frenck is offline
 
Join Date: Dec 2001
Location: Hengelo, The Netherlands
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Code:
$bbcode_parser->pdfthread = true;
replace it with:
Code:
$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)
Reply With Quote
  #17  
Old 07-04-2005, 09:40 AM
xware's Avatar
xware xware is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the gb2312.map? I need it.
Reply With Quote
  #18  
Old 07-04-2005, 09:49 AM
Frenck's Avatar
Frenck Frenck is offline
 
Join Date: Dec 2001
Location: Hengelo, The Netherlands
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #19  
Old 07-05-2005, 10:13 AM
chanhlinh chanhlinh is offline
 
Join Date: Feb 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 07-05-2005, 11:20 AM
Frenck's Avatar
Frenck Frenck is offline
 
Join Date: Dec 2001
Location: Hengelo, The Netherlands
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you need special font, than visit fpdf.org, there you will find a manual/scripts about convering font for use with this scripts.
Reply With Quote
  #21  
Old 07-05-2005, 11:33 AM
chanhlinh chanhlinh is offline
 
Join Date: Feb 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks alot Frenck,

You are so kind.

Best regards!
chanhlinh
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 06:19 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.05222 seconds
  • Memory Usage 2,303KB
  • 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
  • (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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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