Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Download Thread Details »»
Download Thread
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-11-2002 Last Update: Never Installs: 197
 
No support by the author.

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?

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 09-20-2002, 11:53 AM
alpha2503 alpha2503 is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi folks...

i'm also using the IE6 and the board only opens a blank page if i click on the download link ! hopefully someone get's a solution for this !

greetz
Reply With Quote
  #43  
Old 09-20-2002, 12:22 PM
chitown chitown is offline
 
Join Date: Aug 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey alpha my problem was a call to a .php extension and i use .php3 extensions. when ever i add a hack i have to make sure that i change the extensions. I hope that may be your problem.
Reply With Quote
  #44  
Old 09-20-2002, 07:25 PM
alpha2503 alpha2503 is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it isn't cause i only use the *.php extension... i run the board locally on a windows webserver but as i know the javascript variables and so on are given over on the browser or client side so this shouldn't be the fault...

i really checked the hacked code many many times, but there's nothing wrong with it :ermm:... it may be a problem of IE6 + service pack 1 which is included in the windows xp version with service pack 1 but i don't know...
Reply With Quote
  #45  
Old 09-20-2002, 08:27 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by alpha2503
i run the board locally on a windows webserver but as i know the javascript variables and so on are given over on the browser or client side so this shouldn't be the fault...

i really checked the hacked code many many times, but there's nothing wrong with it :ermm:... it may be a problem of IE6 + service pack 1 which is included in the windows xp version with service pack 1 but i don't know...
Some thoughts:
1- It does not matter for the hack whether you are in Windows or unix. My board is on unix server while my localhost is on Windows and the hack works well on both servers..

2- Your post gave me the impression that your problem is related to your file type associations or your browser. Here are some steps to find out:
a) Try to right click on Download Thread Link and choose "Save Target As" from the menu, does it download now?
b) Try to use different browsers like Netscape, Opera or Mozzilla, does it work?
c) Is it only you who have the problem? Can your users download without problems?
d) Cant you download from other boards' download thread link either? Say, try here:
http://www.bimmervibe.com/phorum/sho...=&threadid=415

If your answer is YES for either of above, it means the problem is not related to the hack but your file type settings/browser.

What can be your problem then? When you download a program with .xxx extension for the first time, Windows asks you what to do: Open it or Save it. And there is a small box there, Always ask before opening this type of file". If you accidently clear that for ".txt" files and choose to "OPEN" it once, then your IE will be associated with txt files and whenever you click one, IE will automatically open it, instead of save it (or ask what to do). If this is your problem you have to cancel .txt file associations with your IE. To do this either choose a .txt file SHIFT-Right mouse Click/Open With and choose notepad or My computer/View/Tools/Folder Options/File Types and cancel IE's relation with txt files..

I hope this will help..
Reply With Quote
  #46  
Old 09-20-2002, 08:35 PM
alpha2503 alpha2503 is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi logician !

a) it will download the showthread.htm
b) this ++++in' nutscrape and the other ones have all the same problem
c) i don't like other users on my local pc
d) it work's on this board so i think it's the hack itself

if you're good in php i can send you the files which are involved in this hack so that you can look at them, but i think i'm not bad in this by myself so that you wouldn't find any errors but if you want you can try

greetz
Reply With Quote
  #47  
Old 09-20-2002, 09:04 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by alpha2503
if you're good in php i can send you the files which are involved in this hack so that you can look at them, but i think i'm not bad in this by myself so that you wouldn't find any errors but if you want you can try
If it would help, yes I could check by myself but I believe it wouldnt. The hack is very simple with 1 step only and since you are not a newbie it's certain that you didnt apply the code incorrectly. My checking it would not do any good, since the same code already works in my system. Your problem should be related to PHP/Server settings or maybe the server program itself. (BTW. are you using Apache?) May I suggest applying the hack to your real board? If its your local host settings that cause the problem, the hack should work in your real board. There are hundreds of users installed the hack and using it without any problems anyway..
Reply With Quote
  #48  
Old 10-12-2002, 07:48 PM
marocnl marocnl is offline
 
Join Date: Oct 2001
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there!

This is a great hack, but i just have one problem. When i try to download a thread it sends me to the nopermission_error template. I'm an Admin. How the hell is that possible?

this is what checks the perms:

// Check Permissions so that a smartass wouldnt download a thread he doesnt allowed to see
$getperms=getpermissions($thread['forumid'],-1,-1,$forum['parentlist']);
if (!$getperms['canview'] or !$thread['visible'])
{show_nopermission();}
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0))
{show_nopermission();}

What is going wrong here?
Reply With Quote
  #49  
Old 10-13-2002, 08:40 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by marocnl
Hi there!

This is a great hack, but i just have one problem. When i try to download a thread it sends me to the nopermission_error template. I'm an Admin. How the hell is that possible?
Can you please apply this (as STEP 2) and tell me if your problem is cured? Thanks..
Reply With Quote
  #50  
Old 10-13-2002, 09:07 AM
marocnl marocnl is offline
 
Join Date: Oct 2001
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great. Thnx man! :knockedout:

One question which has nothing to do with ur hack.

Does the amount of tables in a (MySql) database has any effect on the speed of that database?
Reply With Quote
  #51  
Old 10-13-2002, 09:31 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by marocnl
One question which has nothing to do with ur hack.
Does the amount of tables in a (MySql) database has any effect on the speed of that database?
The answer is no for you.. If you are asking for a bank database or smt., I keep my right to change the answer..
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 04:39 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.06910 seconds
  • Memory Usage 2,310KB
  • 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
  • (4)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (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