PDA

View Full Version : Disable "redirect" option when moving threads


yoyoyoyo
11-23-2006, 09:35 PM
I hate redirects, and I never use them. Is there any way to make it so that option is not available in thread tools or on the page it takes you to? I have many mods who are in the habit of adding redirects, and I am always cleaning up after them, so it would be nice to remove that option.

yoyoyoyo
11-27-2006, 12:53 AM
any help would be appreciated

jluerken
11-28-2006, 07:26 AM
Try ADMINCP - Remove Redirection Message Pages

yoyoyoyo
11-28-2006, 09:39 AM
Try ADMINCP - Remove Redirection Message PagesI thought that setting was to control the messages you got while being redirected. What I am looking for is to disable the option to disbale the option to make a redirect when moving a thread.

peterska2
11-28-2006, 09:44 AM
what version are you running yoyoyoyo?

yoyoyoyo
11-28-2006, 10:02 AM
3.5.5

peterska2
11-28-2006, 10:08 AM
let me just finish off this request and I'll have a look.

peterska2
11-28-2006, 10:16 AM
ok, nice and easy :)

in template threadadmin_movepost

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" checked="checked" 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" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>


It changes the default option to the move with no redirect option :)

yoyoyoyo
11-28-2006, 12:10 PM
thanks much! I found that in threadadmin_movethread - I assume that is the one you meant. I will give it a try.

edit - the example you posted above seems to be the same code in the "find" and "replace with" code, however it allowed me to find the right code to cut - thanks.

peterska2
11-28-2006, 02:22 PM
the change is only very slight, as it changes the default selection while not removing the other option in case you do need it at some point.

yoyoyoyo
11-29-2006, 02:11 AM
I see - it is the checked option - What I did was search for those terms and then put conditionals around them so only the admin can see them to select them. I don't like having them there for the mods and super mods to use. most are good about it, but some leave redirects all over the place, which I don't like the aesthetics of.