vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Download Forum Thread To Your Computer (vB 4.x) (https://vborg.vbsupport.ru/showthread.php?t=231042)

Logician 12-23-2009 10:00 PM

Download Forum Thread To Your Computer (vB 4.x)
 
1 Attachment(s)
Here is the vb 4.x version of my Download Forum Thread To Your Computer hack. This hacks allows you to download a forum thread into your computer (desktop etc.) as a text file with one click. (vb 3.5.x version here)

The hack adds a "DOWNLOAD THREAD" link inside Thread Tools pop-up and when clicked entire thread is downloaded to your computer. (See Screenshot)

It's useful when:
a) You want to archive and save the thread,
b) Want to read it offline,
c) It's a long thread and you want to browse it faster as a text file, use better searching features of your text editor.

The hack is tested with vB4.0.0 GOLD and should work with all newer versions as well. (for vb 3.5.x, 3.0.x and 2.x versions see my profile.)

It is very easy to install. You can install it to your board without modifying any vb files.

If you install it, please click INSTALL, thank you.

Enjoy the hack,
Logician

Logician 12-24-2009 07:29 AM

Hack FAQ:

1- Can it be used for non-english boards?

The hack is coded and tested with boards with English language and it should work with many boards whose language is similiar to English (ie using letters from English alphabet) like German, French, Spanish, Turkish etc.

However if the language (especially language syntax and structure) is dramatically different (eg. Russian, Chineese, Japanese, Arabic etc.), I can't be sure if it works fine with your threads. Testing wouldn't hurt though so you can't just give it a try. Also see this post from 3.5.x version for a fix about Russian language)

2- Does it work with very long threads?

It should be. In this version, I tested with a thread with 1500 posts which produced a 500 Kb. text output and it went fine.

Hack users previously reported it worked fine even with threads with 40.000 posts in it.

3- How can I allow only certain usergroups to use the hack?

By default hack inherits your forum permissions. So a user will be able to download the thread only if his usergroup allows him to view the thread. This should be fine for most boards but if you still want to restrict the hack for certain usergroups, edit dt.php file, find line:



PHP Code:

//$unallowed_downloaders = array(1); 



and replace it as


PHP Code:

$unallowed_downloaders = array(1); 



Change 1 with usergroupid which can't access the script. Eg.
$unallowed_downloaders = array(1); means guests can't download threads.
$unallowed_downloaders = array(1, 2); means guests AND registered users can NOT download threads.

mgurain 12-24-2009 10:46 AM

Hi,

I was looking for Download as PDF with text formatting and Avators extra..

can you do it ?

Thanks,,

Basboss 12-24-2009 02:21 PM

Thanks for the release and good to see you around :)

movslow 12-24-2009 04:36 PM

Quote:

Originally Posted by mgurain (Post 1937173)
Hi,

I was looking for Download as PDF with text formatting and Avators extra..

can you do it ?

Thanks,,

That would be awesome.
:up:

cloferba 12-24-2009 08:36 PM

Quote:

Originally Posted by movslow (Post 1937390)
That would be awesome.
:up:

and so add ? letter for spanish users

AzzidReign 12-25-2009 06:15 PM

This is awesome! My users are going to love this since we are a tutorial based site!

bart6767 12-26-2009 06:17 PM

Thanks

blake247 12-26-2009 06:42 PM

Installed

albibak 12-30-2009 10:20 PM

1 Attachment(s)
Logician,

Thanks for the mod
Please, find in attachment the french translation
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/modifi...mod&modid=1081

linuxututs 12-31-2009 04:10 AM

Man I LOVE this ! Just what My new tutorial site needed. :)

Had to restrict unregistered though...lol

Thanks,

g00gl3r 12-31-2009 12:43 PM

Reserved.

cloferba 01-07-2010 06:02 PM

Quote:

Originally Posted by cloferba (Post 1937572)
and so add ? letter for spanish users

no reply? no new news? :(

MooseMoney 01-07-2010 07:15 PM

Thank you!

gil 01-11-2010 06:46 AM

Thank you

SpongeBob71 01-14-2010 04:18 PM

This is awsome...Thank you so much!!!

-SB

KURTZ 01-14-2010 04:20 PM

Quote:

Originally Posted by SpongeBob71 (Post 1955665)
This is awsome...Thank you so much!!!



-SB

+1 absolutely!

utahraves 01-21-2010 05:52 PM

I don't see this on 4.0.1 working. It worked fine on 4.0.0. I'm going to try uploading the files again and trying again but we'll see.

Just kidding, i figured it out because i had to revert some templates. LOL Sorry! <3 this app

angeljs 01-22-2010 02:29 PM

Works great, thanks :D

Eq4bits 01-31-2010 05:37 AM

thank you!

linuxututs 02-21-2010 06:28 AM

Happy to report this plugin/hack still works with vB4.0.2

Thanks,

Forum Lover 03-07-2010 01:41 AM

How can we save it as pdf file?

mandingo 03-07-2010 02:00 AM

Quote:

Originally Posted by Forum Lover (Post 1998826)
How can we save it as pdf file?

Not sure why you would want .pdf as not everyone has a .pdf reader. .txt is way more universal.
This gets me thinking though,it would be really neat if you could save the thread,avatars,sigs and everything as a .pdf that looked just like the actual thread.

Forum Lover 03-07-2010 07:40 AM

Quote:

Originally Posted by mandingo (Post 1998832)
Not sure why you would want .pdf as not everyone has a .pdf reader. .txt is way more universal.
This gets me thinking though,it would be really neat if you could save the thread,avatars,sigs and everything as a .pdf that looked just like the actual thread.

Thats why I was asking for. :)

Piggo 08-19-2010 01:20 AM

Fantastic mod; PDF would have been a nice touch though. Nevertheless, thanks for the mod!

hiker 08-19-2010 03:38 AM

Can you tell me what the difference is between the "Show Printable Version" function and this?

Will this download images as well? I'm assuming not since it's only .txt

PDF would be cool, or at least the choice to go PDF or TXT

Boofo 08-19-2010 03:51 AM

Glad to see you back, my friend. ;)

lemonadesoda 08-19-2010 05:43 PM

For everyone wanting a PDF version, I suggest the following:

1./ Install CutePDF Writer (free PDF printer)
2./ On vB use "Show printable version"
3./ PRINT to CutePDF Writer, save the .pdf file

HOWEVER, vB 4.x has no PRINT_THIS_POST, which is IMO an unforgivable omission. I often want to print just one post, not a whole thread!

Piggo 08-19-2010 10:47 PM

Quote:

Originally Posted by lemonadesoda (Post 2086481)
For everyone wanting a PDF version, I suggest the following...


Unfortunately that doesn't work well, for anything longer than the default page length; i.e. if the thread is 800 posts long, this mod will save it as ONE text file - that's what we need as a PDF also.
Your solution, although neat for short threads, will require MULTIPLE print-to-pdfs, which is time consuming and not very ideal.

This mod simply lacks some formatting, as quoted text within a post appears as only from ONE person, which is quite confusing.

I am surprised that there is no better solution available...

Miras 01-01-2011 12:11 PM

installed on 4.1.0 - working fine

Alan_SP 01-02-2011 09:18 PM

Quote:

Originally Posted by Piggo (Post 2086605)
This mod simply lacks some formatting, as quoted text within a post appears as only from ONE person, which is quite confusing.

Yes, formatting text i.e. having output exactly like we see the forum would bi excellent.

Maybe in HTML, if not in pdf, that may be easier to code?

MyraB 01-17-2011 05:09 AM

Downloaded, installed, and appreciated.
Thank you!

coloresdevida 01-17-2011 07:30 AM

Thanks for you work.

Does not work on vB4.1.1. Do not see the link in the tools of the Thread.

Sorry for my english.
Regards

vBRiP 02-19-2011 03:52 AM

this is nice, its anyway can you make it download file as .prc extension?

team76 02-19-2011 05:12 PM

Quote:

Originally Posted by albibak (Post 1942938)
Logician,

Thanks for the mod
Please, find in attachment the french translation
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/modifi...mod&modid=1081


1) merci a l'auteur :up:

2) merci au traducteur ;)

alexkohler 02-24-2011 10:13 AM

Quote:

Originally Posted by coloresdevida (Post 2150352)
Thanks for you work.

Does not work on vB4.1.1. Do not see the link in the tools of the Thread.

Works fine on my 4.1.1. :)

ARSamo 04-10-2011 06:40 PM

me also want pdf. coder any update please...?

Infoman4ever 11-08-2011 09:29 PM

I would be happier if the hack makes it possible to download all my threads through my Profile page, are there a hack to do so? if not, please, give that a concern, we like sometimes to read our old threads easier offline as .txt files, because opening it one by one and online is very annoying and takes time.
Thanks for the hack.

swiftor 11-10-2011 03:08 PM

Hmm, this does not appear to work in version 4.1.5 for me - anyone have any suggestions?

Logician 11-10-2011 03:28 PM

Quote:

Originally Posted by swiftor (Post 2266590)
Hmm, this does not appear to work in version 4.1.5 for me - anyone have any suggestions?

Exactly what kind of problem (error message?) you get?


All times are GMT. The time now is 10:22 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.02421 seconds
  • Memory Usage 1,816KB
  • 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_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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