Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Download Forum Thread To Your Computer (vB 3.5.x) Details »»
Download Forum Thread To Your Computer (vB 3.5.x)
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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.

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


Enjoy the hack,
Logician

Show Your Support

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

Comments
  #12  
Old 09-30-2005, 05:35 PM
XtremeOffroad XtremeOffroad is offline
 
Join Date: Jul 2005
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

Clicks Install
Reply With Quote
  #13  
Old 10-01-2005, 05:42 AM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks,

Installed
Reply With Quote
  #14  
Old 10-01-2005, 09:47 AM
Vindicare's Avatar
Vindicare Vindicare is offline
 
Join Date: Dec 2001
Location: Europe
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful hack. Thanks (*install*)

PS: I replaced the standard DL-Pic with this one, and changed the phrase to "Download TXT Version" (In analogy to my "Download PDF Version"-Menu-Item).
Reply With Quote
  #15  
Old 10-02-2005, 02:00 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vindicare
Very useful hack. Thanks (*install*)


PS: I replaced the standard DL-Pic with this one, and changed the phrase to "Download TXT Version" (In analogy to my "Download PDF Version"-Menu-Item).
My members report me that they were characters problems (accent)
IE :

On n'arrête -> On n'arr?te
à s'afficher -> ? s'afficher
fonctionnalités -> fonctionnalit?s
(...)

How can i solve it please ?
Reply With Quote
  #16  
Old 10-05-2005, 04:06 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may be something very trivial, however, when you pull down the menu you will notice that the Download Thread is not lined up with the others.

Can this be fixed?
Reply With Quote
  #17  
Old 10-05-2005, 06:18 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 xtremeoff-road
This may be something very trivial, however, when you pull down the menu you will notice that the Download Thread is not lined up with the others.

Can this be fixed?
It happens because the icon of the it is slightly smaller than the other icons in the menu. Try adding "hspace="4" to the IMG like :

<img class="inlineimg" src="$stylevar[imgdir_button]/sortasc.gif" alt="$vbphrase[DownloadThisThread]" hspace="4"/>

Or you can use a larger image there.
Reply With Quote
  #18  
Old 10-05-2005, 08:18 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Characters problem corrected.
-> solution : install the iconv module (or any one of iconv, GNU recode or mbstring) in php.

Thanks to Drupal
Reply With Quote
  #19  
Old 10-12-2005, 03:16 AM
mixylplik3 mixylplik3 is offline
 
Join Date: Feb 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack, however, I want to limit its use to certain usergroups. Using the following, I have been unable to do so:

<if condition="$post[usergroupid]==6">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sortasc.gif" alt="$vbphrase[DownloadThisThread]" /> <a href="dt.php?$session[sessionurl]t=$threadid">$vbphrase[DownloadThisThread]</a></td>
</tr> </if>

Anyone else doing something similar? If so, what did you do?
Reply With Quote
  #20  
Old 10-12-2005, 05:52 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 mixylplik3
This is a great hack, however, I want to limit its use to certain usergroups. Using the following, I have been unable to do so:

<if condition="$post[usergroupid]==6">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sortasc.gif" alt="$vbphrase[DownloadThisThread]" /> <a href="dt.php?$session[sessionurl]t=$threadid">$vbphrase[DownloadThisThread]</a></td>
</tr> </if>

Anyone else doing something similar? If so, what did you do?
What you do only makes its link visible or unvisible to the thread reader. For this use:
<if condition="$bbuserinfo[usergroupid]==6">

</if>

But if you like to restrict it more strongly, edit dt.php you uploaded find this line:
PHP Code:
//$unallowed_downloaders = array(1); 
after that (as a new line!),add this

PHP Code:
if ($vbulletin->userinfo['usergroupid']!=6
{
    
print_no_permission();

Reply With Quote
  #21  
Old 10-12-2005, 01:25 PM
mixylplik3 mixylplik3 is offline
 
Join Date: Feb 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
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 12:37 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.06776 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)bbcode_php
  • (3)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
  • (3)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