Log in

View Full Version : how to changre preset redirection option?


kud0gfx
09-08-2008, 12:50 PM
i guess it will be somewhere in the admincp, but I can't find it...

what I mean is when you are moving a theme.. the preset is a "permanent redirection" and I will want to change it to "no redirection"

thanks in advance :)

Marco van Herwaarden
09-08-2008, 12:52 PM
Could you please explain a bit more, i don't really understand your question yet.

kud0gfx
09-08-2008, 12:56 PM
i can't an image is better than a thousand words :P

https://vborg.vbsupport.ru/external/2008/09/25.png

nexialys
09-08-2008, 01:06 PM
it's a template edit...

have to be changed in the templates:
threadadmin_movethreads
threadadmin_movethread
threadadmin_mergethreads

find this: $vbphrase[leave_no_redirect] in each templates and you will see how it is set.

Marco van Herwaarden
09-08-2008, 01:08 PM
Ahh, now it makes sense. :D

You are asking about the default redirect option when moving a thread.

If i remember correct, there is no option to set a default for this. The easiest way to do so will probably be to just edit the template.

Edit template: threadadmin_movethread

Find:
<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 />

and replace by:
<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 />

kud0gfx
09-08-2008, 02:44 PM
this worked, thank you very much guys! im sorry about my bad explanaiton... my english is'nt the best one...