vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Download Thread (https://vborg.vbsupport.ru/showthread.php?t=40981)

Logician 07-11-2002 10:00 PM

Download Thread
 
This hacks allows you to download a thread into your computer (desktop etc.) as a text file with one click.

The hack adds a "DOWNLOAD THREAD" link next to "Subscribe to this Thread" and when clicked entire thread is downloaded. (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. For example wouldnt it be nice to download and search a keyword in the text file in, say, Lesene's Store Hack Thread which has 921 replies? :p

Anyway the hack works with ALL vb versions and very easy to apply (2 steps/ 2 minutes..). If you install it, please click INSTALL, thank you.

Note : Download function is tested with IE v.6.0 and Netscape v.4.7 and it's working in both browsers. I dont know other browsers or older versions though

Note : For Italian Translation (and instructions) of the hack, see this post. Thanks to Geminy.


UPDATE AT 13.OCTOBER.2002 : Due to a small bug, I updated the hack code. If you are downloading now, the code you dowload is already updated. If you installed the hack prior to 13.October.2002, you may want to reapply STEP 2, if you encounter problems.

Enjoy the hack. :)
Logician

Logician 07-12-2002 04:13 PM

Screenshot

Link14716 07-12-2002 04:15 PM

Looks good. I will probably install this :D

Link14716 07-12-2002 04:21 PM

Installed and working great. Thanks :)

BigJohnson 07-12-2002 05:11 PM

Works great. Very nice hack. That would be cool if this hack needed no support hehehe. It works for everyone hehe. Great hack. I love the layout of the TXT file also. Great work indeed.

Xenon 07-12-2002 09:19 PM

think i will install it, good work pal!!

just a question: does it have any problems on large threads like servertimeouts or something?
do you know anything like that, or that a posters username disappears (as happens sometimes in my archiv hack, and i don't know why ;))

TECK 07-12-2002 09:36 PM

excellent work logician. :)
congrats on this great idea. i will use it on my tutorials forum.

Logician 07-12-2002 10:30 PM

Quote:

Originally posted by Xenon
just a question: does it have any problems on large threads like servertimeouts or something?

I didnt test with very long threads so I dont know what would happen if it is applied to Store Hack thread for instance..
But I really dont think it would be a problem, because even a long thread should not take more than 30 seconds to compile. Depends on your MYSQL performance too of course.

Quote:

do you know anything like that, or that a posters username disappears (as happens sometimes in my archiv hack, and i don't know why ;))
yeah I know! Same happened to me in this hack. I didnt bother to trace its reason but I applied a LEFT JOIN in my query to get the username from user table, instead of using the username in thread table. Strange but thread table usernames sometimes disappear as you mentioned.. Anyway take a look at my query and you can adopt the same method in your hack too. It obviously works..

Logician 07-12-2002 10:34 PM

Quote:

Originally posted by Nakkid
congrats on this great idea.
Thx but I cant say its my idea. I'm highly inspired by Bira's "Download PMs to a file" hack (great hack BTW)..

In fact I requested this hack in that thread months ago, but nobody coded it, so I did.. ;)

Boofo 07-13-2002 12:46 AM

Another excellent hack, sir. Installed without a hitch and works great! There is one thing, though. Is there a way to parse out the font color codes and other codes like that before it writes the message to a text file? :)


All times are GMT. The time now is 01:52 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.01045 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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