vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Move Thread Presets (New Version - Templates Only) (https://vborg.vbsupport.ru/showthread.php?t=66319)

Michael Morris 06-18-2004 10:00 PM

Move Thread Presets (New Version - Templates Only)
 
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'

Dean C 06-19-2004 09:51 PM

You forgot to add your attachment and instructions :)

Chris Gwynne 06-19-2004 09:52 PM

Nice for you to include it. :)

Floris 06-19-2004 10:45 PM

Quote:

Originally Posted by Chris Gwynne
Nice for you to include it. :)

I clicked install :D

SnowBot 06-19-2004 11:10 PM

Quote:

Originally Posted by Michael_Morris
- it's not really all *that* .

hehe this is true :)

Michael Morris 06-20-2004 03:26 AM

I'm trying, but the server keeps timing out anytime I try to attach the file or edit the first post.

Michael Morris 06-20-2004 03:38 AM

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.

Yahhoon23 06-20-2004 10:41 AM

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?

Dean C 06-20-2004 11:18 AM

Thankyou for sharing your work with the community :)

Michael Morris 06-20-2004 11:58 AM

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.


All times are GMT. The time now is 01:42 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.01239 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (3)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