PDA

View Full Version : No Redirect When Moving Threads


Daniel
11 Feb 2006, 06:12
As requested:
http://www.vbulletin.org/forum/showthread.php?t=105737

Description
This will have or only display the "Move to destination forum" with out selected or no redirection option displayed.

You will need to edit the templates "threadadmin_movethread" and "threadadmin_movethreads"

Instructions
Step 1)
In the template threadadmin_movethread find:
<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" />$vbphrase[move_to_destination_forum]</label></div>
<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div> Replace with:
<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" checked="checked" />$vbphrase[move_to_destination_forum]</label></div>
<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>
Step 1 Continuted, optional
If you only want the "move to destination forum" only:

In threadadmin_movethread find:
<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" />$vbphrase[move_to_destination_forum]</label></div>
<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>
<div><label for="rb_method_copy"><input type="radio" name="method" value="copy" id="rb_method_copy" />$vbphrase[copy_thread_to_destination_forum]</label></div> And replace with:
<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" checked="checked" />$vbphrase[move_to_destination_forum]</label></div> Step 2
In the template "threadadmin_movethreads" find:
<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" />$vbphrase[move_to_destination_forum]</label></div>
<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>
Replace with:
<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" checked="checked" />$vbphrase[move_to_destination_forum]</label></div>
<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>
Enjoy.

Daniel
www.mmoccforum.com

Snake
12 Feb 2006, 10:17
Thank you, works fine! :)

Hornstar
18 Feb 2006, 07:30
I feel so special ^^ my first request that got fullfilled lol, thanks so much daniel.

Makes the forums look so much cleaner without silly redirects.

the ideal thing would be for the redirect to delete itself after a day or two. Because there is a use of having them, but its a pain to manually delete them. (maybe an idea for another request ^^)

so thanks for making this.


Edit: Works perfect and Step 1 of the instructions is all I needed to do, because thats all i wanted.

Thanks again

Daniel
20 Feb 2006, 03:58
Glad everything went smoothly! :)

.Tim
20 Feb 2006, 04:07
Nice job.

Pink-Lotus
01 Mar 2006, 08:28
I thank you SO much for this.

That option was seriously ticking me off.

Hornstar
12 Sep 2006, 05:44
I was just about to request an update for this to work with vb 3.6 but then thought I would do something myself ^^

I have now released a new version for vb 3.6 here http://www.vbulletin.org/forum/showthread.php?t=126404 which includes add default to no redirect or add redirect to expired redirect.