vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=126404

Move threads with leave no redirect as default or Expired redirect as default
by Hornstar
12 Sep 2006 07:50

1 Attachment(s)
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 https://www.vbulletin.org/forum/ :)


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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Step 2:

In the template threadadmin_movethreads find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Instructions for "Expired Redirect" as default
Step 1:
In the template threadadmin_movethread find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Step 2:

In the template threadadmin_movethreads find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Enjoy and remember to press the https://www.vbulletin.org/forum/ Button if you install this, so i'll update it for future vbulletin releases.

Hornstar 12 Sep 2006 08:53

Reserved

Ninth Dimension 12 Sep 2006 11:08

Simple, yet effective... thank you :)

Hornstar 14 Sep 2006 05:16

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.

Snake 16 Sep 2006 14:09

Thank you! Works great.

Hornstar 19 Oct 2006 06:29

Quote:

Originally Posted by Snake
Thank you! Works great.

Glad you like it :)

Hornstar 16 Nov 2006 01:21

Reverted my templates, and tried this again in 3.6.3 and it is still working perfect.

ND4SPD 22 Dec 2006 02:26

Good timesaver!

Tralala 09 Mar 2007 23:08

Great, thanks for this...

Muellmann 11 Apr 2007 00:18

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

Pvtiste 11 Apr 2007 00:31

Yes good work ! I need that ;)

davis31b 11 Apr 2007 06:00

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Hornstar 18 May 2007 12:59

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.

trulylowcarb 06 Sep 2007 17:01

Thanks a heap, very useful modification!!!

dvbusuario 27 Jun 2008 05:51

Very good, thx

Install!


All times are GMT. The time now is 22:19.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.