Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Move Thread Presets (New Version - Templates Only) Details »»
Move Thread Presets (New Version - Templates Only)
Version: 2.01, by Michael Morris Michael Morris is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-18-2004 Last Update: 11-01-2004 Installs: 18
 
No support by the author.

Moving threads is something we all do on a somewhat regular to fairly regular basis. The existing move system is very flexiable, but if you find yourself making repeated moves to the same forum it can become tedious, especially if you are on dialup.

This template mod (version 1.0 was a hack) takes some of the pain out of the repetition by allowing you make the thread move with a single mouse click from the thread presets.

This is a very simple modification. It only requires 3 modifications spread over 2 templates.

The main advantage of version 2.0 over version 1.1 is that no code modifications are necessary. This makes things less of a pain during upgrades. And as a bonus it doesn't void your support plan from Jelsoft.

Version 2.01 - bug fix.

EDIT: You can also make a preset that copies threads with this hack if you specify $_POST['method'] = 'copy'; instead of 'move' or 'movered'

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 06-19-2004, 09:51 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You forgot to add your attachment and instructions
Reply With Quote
  #3  
Old 06-19-2004, 09:52 PM
Chris Gwynne's Avatar
Chris Gwynne Chris Gwynne is offline
 
Join Date: Jan 2003
Posts: 316
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice for you to include it.
Reply With Quote
  #4  
Old 06-19-2004, 10:45 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chris Gwynne
Nice for you to include it.
I clicked install
Reply With Quote
  #5  
Old 06-19-2004, 11:10 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael_Morris
- it's not really all *that* .
hehe this is true
Reply With Quote
  #6  
Old 06-20-2004, 03:26 AM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying, but the server keeps timing out anytime I try to attach the file or edit the first post.
Reply With Quote
  #7  
Old 06-20-2004, 03:38 AM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I figured it out. You see, I drive a truck for a living and usually I access the net through WIFI or my cell phone. However, this weekend I'm on my home's LAN, and the router has a glitch blocking large HTML sends I never have figured out. Instead I dodge the issue by hooking the computer straight into the DSL modem when I need to send files. Sorry for the confusion.
Reply With Quote
  #8  
Old 06-20-2004, 10:41 AM
Yahhoon23 Yahhoon23 is offline
 
Join Date: Dec 2003
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just one thing.

I use a recycle bin or trash area, so by installing this hack and having the new option Move Thread to Bin, how can I make it default so Move Thread Without Redirect is a default preset along with the Recycle Bin Forum that will be a preset default?
Reply With Quote
  #9  
Old 06-20-2004, 11:18 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankyou for sharing your work with the community
Reply With Quote
  #10  
Old 06-20-2004, 11:58 AM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yahhoon23
Just one thing.

I use a recycle bin or trash area, so by installing this hack and having the new option Move Thread to Bin, how can I make it default so Move Thread Without Redirect is a default preset along with the Recycle Bin Forum that will be a preset default?
Add this line in the if statement directly after the forum id of your recycle bin.

Code:
 $_POST['method'] = 'move';
Hence the whole if statement should read something like this...

Code:
if ($_REQUEST['do'] == 'archive')
{
 $_POST['do'] = 'domovethread';
 $_POST['forumid'] = '52';
 $_POST['method'] = 'move';
}
Thanks for pointing this out. I don't necessarily want redirects either but I didn't bother to check to see whether or not they were being left.
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 01:11 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.04423 seconds
  • Memory Usage 2,298KB
  • Queries Executed 24 (?)
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_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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