vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Moderators Functions - vBulletin 4 Subject Permanent Transport problem and solution (https://vborg.vbsupport.ru/showthread.php?t=320678)

vBarsiv 10-31-2015 10:00 PM

vBulletin 4 Subject Permanent Transport problem and solution
 
1 Attachment(s)
threadadmin_movethreads the template deleted replace


Code:

<div id="pagetitle">    <h1>{vb:rawphrase move_threads}</h1>
</div>


<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}inlinemod.php?do=domovethreads&amp;threadids={vb:raw threadids}" method="post" name="vbform">


    <h2 class="blockhead">{vb:rawphrase move_threads}</h2>
    <div class="blockbody formcontrols">
        <h3 class="blocksubhead">{vb:rawphrase moving_x_threads_from_y_forums, {vb:raw threadcount}, {vb:raw forumcount}}</h3>
        <div class="section">
            <div class="blockrow">
                <label for="destforumid">{vb:rawphrase destination_forum}:</label>
                <select id="destforumid" name="destforumid" class="primary" tabindex="1">
                        {vb:raw moveforumbits}
                </select>
                <p class="description">{vb:rawphrase which_forum_moved_thread}</p>
            </div>


            <div class="blockrow">
                <label>{vb:rawphrase redirect}:</label>
                <ul class="checkradio group dep_group rightcol">
                    <li><label><input type="checkbox" name="enableredirect" id="redirect" value="1" class="dep_ctrl" tabindex="1" checked="checked" /> {vb:rawphrase yes}</label></li>
                    <li id="redirect_deps" class="floatcontainer deps">
                        <ul class="group checkradio">
                            <li>
                               
                            </li>
                            <li>
                                <dl>
                                    <dt>
                                       
                                    </dt>
                                    <dd class="group" id="rb_redirect_expires_deps">
                                        {vb:rawphrase expires_in}:
                                        <select name="period" tabindex="1">
                                            <option value="1">1</option>
                                            <option value="2">2</option>
                                            <option value="3">3</option>
                                            <option value="4">4</option>
                                            <option value="5">5</option>
                                            <option value="6">6</option>
                                            <option value="7">7</option>
                                            <option value="8">8</option>
                                            <option value="9">9</option>
                                            <option value="10">10</option>
                                        </select>


                                        <select name="frame" tabindex="1">
                                            <option value="h">{vb:rawphrase hours}</option>


                                            <option value="d">{vb:rawphrase days}</option>
                                            <option value="w">{vb:rawphrase weeks}</option>
                                            <option value="m" selected="selected">{vb:rawphrase months}</option>
                                            <option value="y">{vb:rawphrase years}</option>
                                        </select>
                                    </dd>
                                </dl>


                            </li>
                        </li>
                    </ul>
                </ul>
                <p class="description">
                    {vb:rawphrase moving_moderated_and_soft_deleted_threads}<br /><br />
                    {vb:rawphrase you_must_have_the_required_permission}
                </p>
            </div>
        </div>
    </div>
    <div class="blockfoot actionbuttons">
        <div class="group">
            <input type="submit" class="button" value="{vb:rawphrase move_threads}" accesskey="s" tabindex="1" />
            <input type="reset" class="button" value="{vb:rawphrase reset_fields}" accesskey="r" tabindex="1" />
        </div>
    </div>
    <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
    <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    <input type="hidden" name="threadids" value="{vb:raw threadids}" />
    <input type="hidden" name="do" value="domovethreads" />
    <input type="hidden" name="url" value="{vb:raw url}" />
</form>


Alan_SP 11-03-2015 08:16 PM

What this template modification does? And, please use image with English, I can't understand a thing on current image.

Dave 11-03-2015 08:19 PM

Looks like it removes the ability to leave a permanent redirect when you move a thread, it will force the user to leave an expiring redirect with this modification. (If the redirect checkbox is checked of course)

Alan_SP 11-04-2015 08:59 PM

That could be useful.

I personally choose to disable redirection by default, so if someone wants to have redirection, it needs to be selected.


All times are GMT. The time now is 11:21 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.01154 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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