vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   No Redirect When Moving Threads (https://vborg.vbsupport.ru/showthread.php?t=107687)

Daniel 02-10-2006 10:00 PM

No Redirect When Moving Threads
 
As requested:
https://vborg.vbsupport.ru/showthread.php?t=105737


Description

This will have or only display the "Move to destination forum" with out selected or no redirection option displayed.

You will need to edit the templates "threadadmin_movethread" and "threadadmin_movethreads"

Instructions
Step 1)
In the template threadadmin_movethread find:
Code:

<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" />$vbphrase[move_to_destination_forum]</label></div>
                    <div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>

Replace with:
Code:

                    <div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" checked="checked" />$vbphrase[move_to_destination_forum]</label></div>
                    <div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>

Step 1 Continuted, optional
If you only want the "move to destination forum" only:

In threadadmin_movethread find:
Code:

                    <div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" />$vbphrase[move_to_destination_forum]</label></div>
                    <div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>
                    <div><label for="rb_method_copy"><input type="radio" name="method" value="copy" id="rb_method_copy" />$vbphrase[copy_thread_to_destination_forum]</label></div>

And replace with:
Code:

                    <div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" checked="checked" />$vbphrase[move_to_destination_forum]</label></div>
Step 2
In the template "threadadmin_movethreads" find:

Code:

            <div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" />$vbphrase[move_to_destination_forum]</label></div>
            <div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>


Replace with:

Code:

<div><label for="rb_method_move"><input type="radio" name="method" value="move" id="rb_method_move" checked="checked" />$vbphrase[move_to_destination_forum]</label></div>
            <div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" />$vbphrase[move_and_leave_redirect_in_previous_forum]</label></div>

Enjoy.

Daniel
www.mmoccforum.com

Snake 02-12-2006 09:17 AM

Thank you, works fine! :)

Hornstar 02-18-2006 06:30 AM

I feel so special ^^ my first request that got fullfilled lol, thanks so much daniel.

Makes the forums look so much cleaner without silly redirects.

the ideal thing would be for the redirect to delete itself after a day or two. Because there is a use of having them, but its a pain to manually delete them. (maybe an idea for another request ^^)

so thanks for making this.

Edit: Works perfect and Step 1 of the instructions is all I needed to do, because thats all i wanted.

Thanks again

Daniel 02-20-2006 02:58 AM

Glad everything went smoothly! :)

.Tim 02-20-2006 03:07 AM

Nice job.

Pink-Lotus 03-01-2006 07:28 AM

I thank you SO much for this.

That option was seriously ticking me off.

Hornstar 09-12-2006 04:44 AM

I was just about to request an update for this to work with vb 3.6 but then thought I would do something myself ^^

I have now released a new version for vb 3.6 here https://vborg.vbsupport.ru/showthread.php?t=126404 which includes add default to no redirect or add redirect to expired redirect.


All times are GMT. The time now is 01:13 PM.

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.01980 seconds
  • Memory Usage 1,731KB
  • 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
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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