The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Download Forum Thread To Your Computer (Vb3.x) Details »» | |||||||||||||||||||||||||||
Download Forum Thread To Your Computer (Vb3.x)
Developer Last Online: Nov 2023
This hacks allows you to download a forum thread into your computer (desktop etc.) as a text file with one click.
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 vB3.0.0 And vB 3.0.1, it is NOT tested with versions prior to 3.0.0. (vB2.x version is here). It is very easy to install. As a matter of fact it is an add-on, not a hack so you can install to your board without modifying any vb files. Just upload dt.php to your forum directory and make a easy change in showthread template and it is installed. Simple as that. VERSION FOR VB 3.5 is released here: https://vborg.vbsupport.ru/showthread.php?t=97217 If you install it, please click INSTALL, thank you. Note : Download function is tested with IE v.6.0, Netscape v.4.7, Mozilla 1.2a and it's working fine in these browsers. I dont know other browsers or older versions though. 27.May.2004 Bug Fix : A small bug is fixed in file dt.php which effect users with prefixed tables in database. 29.May.2004 Bug Fix : A small bug in dt.php is fixed to cure post titles with special characters ("'?&) in it. Attached dt.php file is uptodate. 12.Dec.2004 Bug Fix : A small bug which causes soft deleted posts to be included in the downloaded text is fixed. Attached dt.php file is uptodate. Note 1: If you want to use a different download thread image, see this post. Note 2: If you want to save threads as .rtf, instead of .txt, see this post. Enjoy the hack, Logician Show Your Support
|
Comments |
#92
|
|||
|
|||
yup. upgraded and it still worked without a hitch man, great hack
|
#93
|
|||
|
|||
/me clicks install...
Hmmm... no attachments support, any way to include link to attachments into the file instead of simply ditch them? |
#94
|
||||
|
||||
Great hack, my board's subscribed users will love this. I applied a couple mods.
I only want one group - subscribed users - to use this feature. I replaced the unallowed users lines with a call to vbulletin's is_member_of function, hence PHP Code:
PHP Code:
|
#95
|
||||
|
||||
I don't want to display a button to a function folks can't use. The second mod was placed in the showthread template part of Logician's instructions. Surround the code for the buttons with a conditional as follows:
Code:
<if condition="is_member_of($bbuserinfo, 9)"> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sortasc.gif" alt="Download This Thread" /> <a href="dt.php?$session[sessionurl]t=$threadid">Download This Thread</a></td> </tr> </if> (BTW, I split this post in two because I have a router that blocks html sends over a certain size that I haven't figured out how to solve. Sorry for the inconvenience). |
#96
|
||||
|
||||
thank you! very easy!!
[high]* turbidblue clicks install! [/high] |
#97
|
|||
|
|||
/me clicks install
|
#98
|
|||
|
|||
After line:
Code:
$filename=preg_replace("/[.&!:\\\?\^\'\"\$]/", '', $thread[title]); Code:
$filename=preg_replace('/\s+/', '_', $filename); |
#99
|
||||
|
||||
Way cool, much appreciated.
|
#100
|
|||
|
|||
/me clicks install!
|
#101
|
|||
|
|||
phprus clicks install!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|