PDA

View Full Version : Show Thread Enhancements - Download Forum Thread To Your Computer (vB 4.x)


Logician
12-23-2009, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=97217))

The hack adds a "DOWNLOAD THREAD" link inside Thread Tools pop-up and when clicked entire thread is downloaded to your computer. (See Screenshot (https://vborg.vbsupport.ru/attachment.php?attachmentid=108036))

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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=231042), 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 (https://vborg.vbsupport.ru/showpost.php?p=828645&postcount=29) 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 (https://vborg.vbsupport.ru/showpost.php?p=1109679&postcount=44) 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:



//$unallowed_downloaders = array(1);

and replace it as


$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
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
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
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/modifications.php?do=showmod&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
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
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
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
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, 02:20 AM
Fantastic mod; PDF would have been a nice touch though. Nevertheless, thanks for the mod!

hiker
08-19-2010, 04: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, 04:51 AM
Glad to see you back, my friend. ;)

lemonadesoda
08-19-2010, 06: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, 11:47 PM
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
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
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/modifications.php?do=showmod&modid=1081


1) merci a l'auteur :up:

2) merci au traducteur ;)

alexkohler
02-24-2011, 10:13 AM
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 (http://adhs-chaoten.net/). :)

ARSamo
04-10-2011, 07:40 PM
me also want pdf. coder any update please...?

Infoman4ever
11-08-2011, 10: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, 04:08 PM
Hmm, this does not appear to work in version 4.1.5 for me - anyone have any suggestions?

Logician
11-10-2011, 04:28 PM
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?

Fready
11-11-2011, 05:03 AM
I have installed and tested it on vB Versions 4.1.3 & vB version 4.1.5
Worked just as it should, can download the Thread no problem.

Installed the php file into my root and then the xml file
Did the Template edits in the ShowThread template and all good.

All instructions on how to install and edit the template are in the zip folder when you download this Mod, read them.

babyv0x
03-21-2012, 08:20 PM
Work fine on 4.1.11 . Thanks and Mark :D

Trevor Matthews
03-27-2012, 07:13 PM
Indeed it does.
Installed.
Very useful mod..

Hareth
03-31-2012, 11:10 PM
PLEASE CAN YOU OR ANYONE ELSE DEVELOP this hack so we can save threads as PDF???

datoneer
05-06-2012, 12:17 PM
Doesn't work for me. vb 4.1.10. I don't see download thread. I have template modification system. any help please?

Logician
05-06-2012, 07:20 PM
Doesn't work for me. vb 4.1.10. I don't see download thread. I have template modification system. any help please?
In hack installations step 2, you put download thread link into showthread template. So considering you are putting it into the correct style set, there is no way it can't show up unless anyother hack etc. are interfering. I don't know what you mean by "template modification system" but it sounds like a culprit so try to disable it and see if it will fix the problem.

Alan_SP
05-06-2012, 08:08 PM
TMS works fine, you just need to made template modification as it is described in instructions, with or without TMS, it will work.

Before I made manually template modification, now I use TMS, but I still made template modification manually, but now just within TMS.

datoneer
05-08-2012, 09:36 AM
Tried with vb default style and it doesn't work.Uninstalled

Logician
05-08-2012, 01:01 PM
Tried with vb default style and it doesn't work.Uninstalled
The hack works fine with the latest vb version. You either apply the template modification to a wrong (unused) style so can't see the link or your other pluggin is clashing with it. There is no problem with this hack.

datoneer
05-08-2012, 04:17 PM
Yes probably other pluggin is clashing

Eq4bits
09-09-2012, 03:46 PM
Working fine on v4.2PL2

MG Zebra
12-17-2012, 02:48 AM
If it could save the formatting and images I would be very interested in this, but until then I can just use the edit post feature and copy and paste the formatted version with all the proper coding.

Snowhog
12-17-2012, 08:39 PM
Download and installed/tested. Works nicely in 4.2.0PL3. Thank you for a great MOD. Marked as Installed and nominated for MOTM.

Bubble #5
08-25-2013, 11:48 PM
Works nice in 4.2.1

Please let us know if you ever update to HTML version :)