The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Move threads with leave no redirect as default or Expired redirect as default Details »» | |||||||||||||||||||||||||||
Move threads with leave no redirect as default or Expired redirect as default
Developer Last Online: Dec 2013
Okay I requested this here a while ago then Daniel showed how it was done for 3.5.4 here https://vborg.vbsupport.ru/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 /> 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 /> 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 /> 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 /> 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 /> Show Your Support
|
Comments |
#2
|
|||
|
|||
Reserved
|
#3
|
||||
|
||||
Simple, yet effective... thank you
|
#4
|
|||
|
|||
If you upgraded to vb 3.6.1 you will need to apply these changes again as those templates needed reverting.
These instructions have been tested and working with vb 3.6.0 and vb 3.6.1 Enjoy. |
#5
|
||||
|
||||
Thank you! Works great.
|
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
Reverted my templates, and tried this again in 3.6.3 and it is still working perfect.
|
#8
|
||||
|
||||
Good timesaver!
|
#9
|
||||
|
||||
Great, thanks for this...
|
#10
|
||||
|
||||
Cool idea, thanks! I saw a forum at my friend, there were more redirects than threads.
So I hope this Mod will change that! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|