Version: 2.01, by Michael Morris
Developer Last Online: Jun 2009
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'
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!
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.....
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!
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.