vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Download Forum Thread To Your Computer (vB 3.5.x) (https://vborg.vbsupport.ru/showthread.php?t=97217)

Logician 09-29-2005 10:00 PM

Download Forum Thread To Your Computer (vB 3.5.x)
 
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.

Hacks of Hack:
* French Translation
* Version that works with Russian Alphabet
* Download it as RTF instead of TXT.


Enjoy the hack,
Logician

Logician 09-30-2005 12:10 PM

[Reserved for future use]....

thedvs 09-30-2005 02:25 PM

awesome mod Logician many thanks

bigcurt 09-30-2005 02:34 PM

Congrats on the beginning of your porting process logician :).



~Curt

thedvs 09-30-2005 02:43 PM

Would it be possible to allow downloading of threads in specific forums only?

Logician 09-30-2005 02:46 PM

Quote:

Originally Posted by thedvs
Would it be possible to allow downloading of threads in specific forums only?

edit dt.php, find:
PHP Code:

$threadinfo = &$thread

after that add:
PHP Code:

$allowed_forums = array('1','2');

if (
is_array($allowed_forums) AND !in_array($threadinfo['forumid'], $allowed_forums)) 
{
    
print_no_permission();


Now it allows downloading only in forum 1 and 2.

Edit $allowed_forums = array('1','2'); like to add more forums to allow

thedvs 09-30-2005 02:52 PM

oh manga you are a star, many thanks

cclaerhout 09-30-2005 03:43 PM

Works great ! Thank you.
And here's a small french translation.

dieselpowered 09-30-2005 03:44 PM

Works great....

**runs off and click install**

Odysseus 09-30-2005 04:09 PM

Quote:

Originally Posted by Logician
[Reserved for future use]....

Thanks for sharing!

* clicks install


All times are GMT. The time now is 03:02 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.01282 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_php_printable
  • (2)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