Back to vBulletin 3.6 Template Modifications

Move threads with leave no redirect as default or Expired redirect as default
Mod Version: 1.10, by Hornstar

This modification is in the archives.
vB Version: 3.6.7 Rating: (6 votes - 5.00 average) Installs: 53
Released: 12 Sep 2006 Last Update: Never Downloads: 10
Not Supported Template Edits  

Okay I requested this here a while ago then Daniel showed how it was done for 3.5.4 here http://www.vbulletin.org/forum/showthread.php?p=897060

I was just requesting for it to be done again as the old code had changed, but decided I will do something myself ^^ and not be lazy.

So here is my first release, it is only a small template edit, but if you install it please press the Install button

Description
This will have "Leave No Redirect" as the default selection when you go to move a thread. (This is the prefered way on my site, because redirects can look messy, and staff often forget to choose the other ones.)

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

Instructions for "No redirect" as default
Step 1:
In the template threadadmin_movethread find:
Code:
<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" />$vbphrase[leave_permanent_redirect]</label><br />
					<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
Replace with:

Code:
                    <label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
					<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />

Step 2:

In the template threadadmin_movethreads find:
Code:
<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" />$vbphrase[leave_permanent_redirect]</label><br />
			<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
Replace with:

Code:
                    <label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" checked="checked" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
			<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />


Instructions for "Expired Redirect" as default
Step 1:
In the template threadadmin_movethread find:
Code:
<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" />$vbphrase[leave_permanent_redirect]</label><br />
					<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
Replace with:

Code:
                    <label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" />$vbphrase[leave_no_redirect]</label><br />
					<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
					<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" checked="checked" />$vbphrase[leave_expiring_redirect]</label><br />

Step 2:

In the template threadadmin_movethreads find:
Code:
<label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" checked="checked" />$vbphrase[leave_permanent_redirect]</label><br />
			<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br />
Replace with:

Code:
                    <label for="rb_redirect_none"><input type="radio" name="redirect" value="none" id="rb_redirect_none" />$vbphrase[leave_no_redirect]</label><br />
			<label for="rb_redirect_perm"><input type="radio" name="redirect" value="perm" id="rb_redirect_perm" />$vbphrase[leave_permanent_redirect]</label><br />
			<label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" checked="checked" />$vbphrase[leave_expiring_redirect]</label><br />
Enjoy and remember to press the Button if you install this, so i'll update it for future vbulletin releases.

Download

No files for download.

Screenshots

Click image for larger version
Name:	leave no redirect.JPG
Views:	480
Size:	142.7 KB
ID:	53332  


vblts.ru supports vBulletin®, 2022-2024