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
  #22  
Old 08-31-2004, 02:25 PM
SamirDarji SamirDarji is offline
 
Join Date: Apr 2004
Posts: 645
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris
...C=64 BASIC...
The C=64 ruled! www.php.net is where I started learning about php. If you have any experience in other languages such as C or Java, php is pretty easy to pick up. Coming from basic will require a little adjustment, but not too much. Good luck!
Reply With Quote
  #23  
Old 09-25-2004, 04:28 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* Revan has it installed.
[/high]
[high]* Revan also found an error
[/high]

Code:
<div><label for="ao_dbump"><input type="radio" name="do" id="ao_archive" value="archive" />$vbphrase[archiveit]</label></div>
Should obviously be
Code:
<div><label for="ao_archive"><input type="radio" name="do" id="ao_archive" value="archive" />$vbphrase[archiveit]</label></div>

It puzzled me for ages, but it wasn't until now I could actually be bothered to research it
Reply With Quote
  #24  
Old 10-28-2004, 12:09 PM
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 proud to announce I've upgraded this hack to version 2.0. It's now even EASIER to install and maintain because it no longer has a code modification component - it works entirely through templates.

In case you missed the update email here are the uprgrade instructions. Using the original instructions, remove the changes made to postings.php (They won't be needed). Then, using the new instructions, install the changes outlined for the PHPINCLUDE_START template. You don't need to make any changes to SHOWTHREAD if you're upgrading.
Reply With Quote
  #25  
Old 11-02-2004, 11:34 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack still got the bug v1 had....
If I use "ao_mvt" as the instructions indicate, the radio selection goes to "Move/Copy Thread".
I had to use the ao_archive as I did with v1.....
Reply With Quote
  #26  
Old 11-02-2004, 09:28 PM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops.. Sorry, let me correct dat.
Reply With Quote
  #27  
Old 01-21-2005, 04:04 PM
mp3dreaming mp3dreaming is offline
 
Join Date: Jan 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Micheal very nice! I'm having a small problem making this the default choice in the threadadmin_movethread area. It stays at copy/move even though I put checked="checked" in correct area. What should the code be in there? Thanks for any help!

Ahh I got it, Thanks anyway
Reply With Quote
  #28  
Old 06-30-2005, 04:24 PM
Noonster Noonster is offline
 
Join Date: Jun 2005
Location: East Yorkshire, UK
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris
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.
Thanks for making this great hack...

Following on from the above... I have the same (IE a trash can)... However instead of moving the thread there I want the thread to be deleted and then moved all in that one click... The reason for this is that i want a reason to be left as to why its been deleted.

EXAMPLE
- Unwanted thread
- Select move (delete) to Trash Can
- Next page, you enter reason and leave it as soft delete and click submit
- THEN it kicks in and moves it to the trash, without leaving redirect (<-- Just like yours does now)

Is this possible or am i trying to make it work to hard??
- Your help on this would be very much appreciated.

Cheers
Daz
Reply With Quote
  #29  
Old 09-30-2005, 09:44 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with vB 3.5?
Reply With Quote
  #30  
Old 11-25-2005, 10:20 PM
danrak danrak is offline
 
Join Date: Dec 2001
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates on this for vb3.5?
Reply With Quote
  #31  
Old 01-30-2006, 05:59 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.5 would be great
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 11:11 PM.


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.04803 seconds
  • Memory Usage 2,310KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (2)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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