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)

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:

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)

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


All times are GMT. The time now is 12:56 PM.

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.01104 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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