vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to changre preset redirection option? (https://vborg.vbsupport.ru/showthread.php?t=190338)

kud0gfx 09-08-2008 12:50 PM

how to changre preset redirection option?
 
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:
HTML 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 />

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


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


All times are GMT. The time now is 09:26 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
  • Page Generation 0.01065 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete