Download Forum Thread To Your Computer (vB 3.5.x)
This modification is in the archives.
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 ) 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 , thank you. Hacks of Hack: * French Translation Spoiler (click to open)
Works great ! Thank you.
And here's a small french translation. Close
* Version that works with Russian Alphabet Spoiler (click to open)
Ok, here goes the minimod that performs the conversion of Russian letters into appropriate English letters / letter combinations.
IN dt.php, FIND: PHP Code:
$filename = str_replace(' ', '_', $filename);
PHP Code:
// -----------------------------------------------------------------------------------------------------------------------------------------------
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? Close
* Download it as RTF instead of TXT Spoiler (click to open)
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. Close
Enjoy the hack, Logician Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Download Forum Thread To Your Computer (Vb3.x) | vBulletin 3.0 Full Releases |