![]() |
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' |
You forgot to add your attachment and instructions :)
|
Nice for you to include it. :)
|
Quote:
|
Quote:
|
I'm trying, but the server keeps timing out anytime I try to attach the file or edit the first post.
|
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.
|
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? |
Thankyou for sharing your work with the community :)
|
Quote:
Code:
$_POST['method'] = 'move'; Code:
if ($_REQUEST['do'] == 'archive') |
Thanks alot. Worked like a champ.
This is one of those hacks that might not seem like a major deal, but it actually does save a tad bit of bandwidth of reloading the move thread page for people with alot of threads to move. And also, well just makes it alot easier for my lazy people :) Thanks again. |
NP, and thanks for pointing it out. Updated the attachment to reflect the information we just discussed.
|
Yeah, just a tidbit. I am using Gold 3.0.0 and it works fine on here.
|
im using 3.0.1 wo0t im gettin lazier and lazier by the min :lick:
|
Can you list what additional options this provides. Thx.
Quote:
|
Simple, yet effective. :) Thanks a lot.
|
Any chance of a screenshot, i dont understand exactly what this does?
|
It adds this option to your thread tools in threads.
It's basically like a one-time click type deal. Normally, when you click the other option "Move Thread" you have to pick the forum you want it to be moved to, and if you want to copy it, or move it, or move it without redirect. The way I have it set up is we move all garbage posts into a Recycle Bin. So with this, I click that option, and with one click, it's moved into the forum i chose (Bin) automatically without a redirect. |
Quote:
|
Thanks all for the support. I'm still struggling to learn MySQL and PHP better - would anyone know of any good tutorial sites for this? I've downloaded the respective manuals and I'm slowly getting back up to speed - I haven't done extensive coding since working with C=64 BASIC - programming conventions sure have changed.
|
Quote:
|
[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> 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 :) |
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. |
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..... |
Oops.. Sorry, let me correct dat.
|
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 :) |
Quote:
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 ;) |
Does this work with vB 3.5?
|
Any updates on this for vb3.5?
|
3.5 would be great :)
|
All times are GMT. The time now is 05:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|