PDA

View Full Version : Move threads with leave no redirect as default or Expired redirect as default


hornstar1337
12 Sep 2006, 07:50
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 http://www.vbulletin.org/forum/images/smoothblue/buttons/installed.gif :)


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 is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Step 2:

In the template threadadmin_movethreads find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------






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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Step 2:

In the template threadadmin_movethreads find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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

hornstar1337
12 Sep 2006, 08:53
Reserved

Ninth Dimension
12 Sep 2006, 11:08
Simple, yet effective... thank you :)

hornstar1337
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.

hornstar1337
19 Oct 2006, 06:29
Thank you! Works great.

Glad you like it :)

hornstar1337
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

hornstar1337
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!

trulylowcarb
04 Aug 2008, 22:26
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.

lazyindian
08 Sep 2008, 18:25
this shud also be extended to "merge thread" .. :)