Version: 1.00, by Logician
Developer Last Online: Nov 2023
Version: 3.5.0
Rating:
Released: 09-29-2005
Last Update: 11-22-2005
Installs: 133
Uses Plugins Template Edits
Additional Files
No support by the author.
Here is the vb 3.5.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.
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 works with 3.5.x, 3.6.x, 3.7.x, 3.8.x (for vb 4.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.
Great, but two things are not:
1. (major) this hack does not go well with any languages other than english
2. (minor) the graphical icon in the menu is smaller that all the other icons, and it is visible - and irritating - from the first glance
1. (major) this hack does not go well with any languages other than english
I use it in a Turkish board and it works fine but I understand if it does not work in an other language. Unfortunately I am not able to test it with other languages.
Quote:
Originally Posted by Psionic Vision
2. (minor) the graphical icon in the menu is smaller that all the other icons,
and it is visible - and irritating - from the first glance
I use it in a Turkish board and it works fine but I understand if it does not work in an other language. Unfortunately I am not able to test it with other languages.
Aw.. Ok. Just FYI, for Russian, it gives out empty squares instead of letter. If I figure it out, I'll tell you what to fix
$filename = preg_replace($preg_find, $preg_replace, $filename);
// -----------------------------------------------------------------------------------------------------------------------------------------------
// Download Thread :: Russian Symbols Conversion Mod by Psionic Vision
// -----------------------------------------------------------------------------------------------------------------------------------------------
Enjoy everyone
P.S. A few other things:
1) Is there any reason behind using application/octet-stream rather than text/plan?
2) Why not make a custom function printbr($text, $num_of_breaks = 1), that will remove the need of writing "\r\n" all the time?
In case anyone is interested, I have a modified version of dt.php which downloads the thread in .rtf instead of .txt. It automatically converts bbcode for bold, italic and underline. This, imho, makes the downloaded document slightly better visually.
It's only for english though.
EDIT:
I've updated the attached file to convert bbcode for quoted text. You can also choose between Arial and Courier fonts by "switching" between lines 169 and 170. The font is Courier by default.