The default behavior for moving or merging threads is to leave a non-expiring redirect in the original thread.
I find this annoying, since it clutters up the thread listings. Most of the time I either want no redirect or at most an expiring redirect.
This mod changes the default to NO REDIRECT (you can still manually select redirect or expiring redirect fo any threads where you want it).
1. MOVE
In
Thread Administration Templates > template
threadadmin_movethread
Find:
PHP Code:
<li>
<label><input type="checkbox" name="enableredirect"
id="redirect" value="1" class="dep_ctrl" tabindex="1" checked="checked" /> {vb:rawphrase yes}</label>
</li>
<li id="redirect_deps" class="floatcontainer deps">
<ul class="group checkradio">
<li>
<label for="rb_redirect_perm"><input
type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" tabindex="1" /> {vb:rawphrase
leave_permanent_redirect}</label>
</li>
Change two instances of checked="checked". Replace with:
PHP Code:
<li>
<label><input type="checkbox" name="enableredirect"
id="redirect" value="1" class="dep_ctrl" tabindex="1" /> {vb:rawphrase yes}</label>
</li>
<li id="redirect_deps" class="floatcontainer deps">
<ul class="group checkradio">
<li>
<label for="rb_redirect_perm"><input
type="radio" name="redirect" value="perm" id="rb_redirect_perm" tabindex="1" /> {vb:rawphrase
leave_permanent_redirect}</label>
</li>
Similarly, in Thread Administration Templates > template threadadmin_movethreads
Find:
PHP Code:
<li><label><input type="checkbox" name="enableredirect" id="redirect"
value="1" class="dep_ctrl" tabindex="1" check="checked" /> {vb:rawphrase yes}</label></li>
<li id="redirect_deps" class="floatcontainer deps">
<ul class="group checkradio">
<li>
<label for="rb_redirect_perm"><input
type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" tabindex="1" /> {vb:rawphrase
leave_permanent_redirect}</label>
</li>
Change two instances of checked="checked". Replace with:
PHP Code:
<li><label><input type="checkbox" name="enableredirect" id="redirect"
value="1" class="dep_ctrl" tabindex="1" /> {vb:rawphrase yes}</label></li>
<li id="redirect_deps" class="floatcontainer deps">
<ul class="group checkradio">
<li>
<label for="rb_redirect_perm"><input
type="radio" name="redirect" value="perm" id="rb_redirect_perm" tabindex="1" /> {vb:rawphrase
leave_permanent_redirect}</label>
</li>
2. MERGE
In
Thread Administration Templates > template
threadadmin_mergethreads
Find:
PHP Code:
<li>
<label><input type="checkbox" name="redir" id="redirect" value="1" class="dep_ctrl" tabindex="1" checked="checked"/> {vb:rawphrase yes}</label>
</li>
<li id="redirect_deps" class="floatcontainer deps">
<ul class="group checkradio">
<li>
<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" tabindex="1" /> {vb:rawphrase leave_permanent_redirect}</label>
</li>
Change to:
PHP Code:
<li>
<label><input type="checkbox" name="redir" id="redirect" value="1" class="dep_ctrl" tabindex="1" /> {vb:rawphrase yes}</label>
</li>
<li id="redirect_deps" class="floatcontainer deps">
<ul class="group checkradio">
<li>
<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" tabindex="1" /> {vb:rawphrase leave_permanent_redirect}</label>
</li>