Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 11-23-2005, 02:28 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a very nice way of output. My Russian modification will work with your file too, as it only has to do with the filename
Reply With Quote
  #33  
Old 11-23-2005, 03:52 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys.. Linked your contributions in the first post.
Reply With Quote
  #34  
Old 11-24-2005, 12:31 AM
Moparx Moparx is offline
 
Join Date: Jul 2004
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack.

Is there an easy way to separate quotes within the posts from the actual replies themselves? Right now you cannot distinguish between the two and it can be confusing.

Having the quotes in posts generate like below would make this hack near perfect
"Some Text" -- Poster or Poster wrote: "Some Text"
Reply With Quote
  #35  
Old 11-24-2005, 07:41 AM
Aylwin Aylwin is offline
 
Join Date: Mar 2005
Location: Finland
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Moparx
Is there an easy way to separate quotes within the posts from the actual replies themselves? Right now you cannot distinguish between the two and it can be confusing.

Having the quotes in posts generate like below would make this hack near perfect
"Some Text" -- Poster or Poster wrote: "Some Text"
This is something I would like to do too. I know how to do it in theory but I just don't have the skills to implement it. Basically, we need to do the following:

1) Search $post['postdate'] for (QUOTE=name)
2) Replace it with name wrote: "
3) Search $post['postdate'] for (/QUOTE)
4) Replace it with "

I don't know how to do 1) and 2) but I think 3) and 4) would be:
Code:
 $post['pagetext'] = preg_replace("[\[\/QUOTE\]]", "\"", $post['pagetext']);
Can anyone help with 1) and 2)?

EDIT:
Okay, I think I figured it out.

Find:
Code:
 $post[pagetext] = strip_bbcode($post[pagetext]);
Before this line, add:
Code:
 $post['pagetext'] = preg_replace("[\[QUOTE=([a-zA-Z0-9_-]*)\]]", "Originally posted by \\1:\"", $post['pagetext']);
 $post['pagetext'] = preg_replace("[\[\/QUOTE\]]", "\"", $post['pagetext']);
At least I got something very close to this working on my rtf version.
Reply With Quote
  #36  
Old 11-28-2005, 05:22 PM
croportal's Avatar
croportal croportal is offline
 
Join Date: Oct 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i set another picture for this hack, and where i can change phrase Download This Thread - i wont to set on croatian LAnguage
Reply With Quote
  #37  
Old 11-28-2005, 05:25 PM
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 croportal
how can i set another picture for this hack,
https://vborg.vbsupport.ru/showpost....3&postcount=13

Quote:
and where i can change phrase Download This Thread - i wont to set on croatian LAnguage
Admin Cp/Phrase Manager/Search In Phrases/search for "Download This Thread" in "Phrase Text"
Reply With Quote
  #38  
Old 11-28-2005, 05:36 PM
croportal's Avatar
croportal croportal is offline
 
Join Date: Oct 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot logician
Reply With Quote
  #39  
Old 12-08-2005, 02:41 PM
OsMoSiS.it OsMoSiS.it is offline
 
Join Date: Sep 2004
Location: Rome, Italy
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=Aylwin]
Okay, I think I figured it out.

Find:
Code:
 $post[pagetext] = strip_bbcode($post[pagetext]);
Before this line, add:
Code:
 $post['pagetext'] = preg_replace("[\
Quote:
Originally Posted by ([a-zA-Z0-9_-
*)\]]", "Originally posted by \\1:\"", $post['pagetext']); $post['pagetext'] = preg_replace("[\[\/QUOTE\]]", "\"", $post['pagetext']);
Quote:
Originally Posted by ([a-zA-Z0-9_-
At least I got something very close to this working on my rtf version.
Code:
 $post['pagetext'] = preg_replace("[\[QUOTE=(.*?)\]]", "Originally posted by \\1:\"", $post['pagetext']);
 $post['pagetext'] = preg_replace("[\[\/QUOTE\]]", "\"", $post['pagetext']);
This works better, matches also names with spaces or symbols that previously broke page layout



* Installed with rtf hack
Reply With Quote
  #40  
Old 04-10-2006, 06:32 PM
Eathanor Eathanor is offline
 
Join Date: Dec 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

Clicks Install
Reply With Quote
  #41  
Old 06-20-2006, 07:06 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this!
Reply With Quote
Reply


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 05:49 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.06190 seconds
  • Memory Usage 2,317KB
  • 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
  • (6)bbcode_code
  • (5)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
  • (4)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