![]() |
Move threads with leave no redirect as default or Expired redirect as default
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 https://vborg.vbsupport.ru/ :) 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:
Code:
Step 2: In the template threadadmin_movethreads find: Code:
Code:
Instructions for "Expired Redirect" as default Step 1: In the template threadadmin_movethread find: Code:
Code:
Step 2: In the template threadadmin_movethreads find: Code:
Code:
|
Reserved
|
Simple, yet effective... thank you :)
|
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. |
Thank you! Works great.
|
Quote:
|
Reverted my templates, and tried this again in 3.6.3 and it is still working perfect.
|
Good timesaver!
|
Great, thanks for this...
|
Cool idea, thanks! I saw a forum at my friend, there were more redirects than threads.
So I hope this Mod will change that! :D |
Yes good work ! I need that ;)
|
For VB 3.6.5 I had to change the code up a bit for it to work:
Instructions for "No redirect" as default In the template threadadmin_movethread & 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 /> 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 /> |
Still working, but if you upgrade to 3.6.6 or higher you will need to apply the template edit again as those templates needed to be reverted.
|
Thanks a heap, very useful modification!!!
|
Very good, thx
Install! |
Thanks, this should be the default anyway!
I was able to just just look at your example, then move the checked=checked part to where I actually wanted it, in 3.7.2. |
this shud also be extended to "merge thread" .. :)
|
thank u it worked on 3.8 !!! super!
|
All times are GMT. The time now is 01:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|