The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
'No redirect' and 'Physically remove' by default Details »» | |||||||||||||||||||||||||||||||
'No redirect' and 'Physically remove' by default
Developer Last Online: Aug 2012
If you are like me and you never delete soflty or you never leave redirect link when you move a thread, you can check by defaut 'No redirect' and Physically remove'.
https://vborg.vbsupport.ru/vborg_mis...hreadid=214333 Physically Remove by default In templates threadadmin_deletethread, Find: HTML Code:
<label for="rb_deletetype_1"><input type="radio" name="deletetype" value="1" id="rb_deletetype_1" checked="checked" />$vbphrase[soft_delete_leave_deleted_message]</label></div> <div><img class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /><label for="cb_keepattachments"><input type="checkbox" name="keepattachments" class="inlineimg" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label></div> </div></if> <if condition="$show['harddelete']"><div> <label for="rb_deletetype_2"><input type="radio" name="deletetype" value="2" id="rb_deletetype_2" onselect="alert('moo')" />$vbphrase[physically_remove]</label> Replace by: HTML Code:
<label for="rb_deletetype_1"><input type="radio" name="deletetype" value="1" id="rb_deletetype_1" />$vbphrase[soft_delete_leave_deleted_message]</label></div> <div><img class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /><label for="cb_keepattachments"><input type="checkbox" name="keepattachments" class="inlineimg" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label></div> </div></if> <if condition="$show['harddelete']"><div> <label for="rb_deletetype_2"><input type="radio" name="deletetype" value="2" id="rb_deletetype_2" checked="checked" onselect="alert('moo')" />$vbphrase[physically_remove]</label> In the template threadadmin_deleteposts, Find: HTML Code:
<label for="rb_del_soft"><input type="radio" name="deletetype" value="1" id="rb_del_soft" $checked[delete] />$vbphrase[soft_delete_leave_deleted_message]</label> <br /><img class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /><label for="cb_keepattachments"><input type="checkbox" class="inlineimg" name="keepattachments" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label> </div> </if> <if condition="$show['removeposts']"> <div class="fieldset"> <label for="rb_del_hard"><input type="radio" name="deletetype" value="2" id="rb_del_hard" $checked[remove] />$vbphrase[physically_remove]</label> Replace by: HTML Code:
<label for="rb_del_soft"><input type="radio" name="deletetype" value="1" id="rb_del_soft" />$vbphrase[soft_delete_leave_deleted_message]</label> <br /><img class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /><label for="cb_keepattachments"><input type="checkbox" class="inlineimg" name="keepattachments" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label> </div> </if> <if condition="$show['removeposts']"> <div class="fieldset"> <label for="rb_del_hard"><input type="radio" name="deletetype" value="2" id="rb_del_hard" $checked[delete] />$vbphrase[physically_remove]</label> No redirect (when you move a thread) by default In template threadadmin_movethreads and 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 /> 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 /> Screenshots
Show Your Support
|
Comments |
#2
|
||||
|
||||
Thank you for this
|
#3
|
|||
|
|||
thank you is there a way we can remove soft delete and redirect from the moderator drop box?
|
#4
|
|||
|
|||
Quote:
Delete: HTML Code:
<if condition="$show['softdelete']"><div> <div><label for="rb_deletetype_1"><input type="radio" name="deletetype" value="1" id="rb_deletetype_1" checked="checked" />$vbphrase[soft_delete_leave_deleted_message]</label></div> <div><img class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /><label for="cb_keepattachments"><input type="checkbox" name="keepattachments" class="inlineimg" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label></div> </div></if> In the template threadadmin_deleteposts, Delete: HTML Code:
<if condition="$show['deleteposts']"> <div class="fieldset"> <label for="rb_del_soft"><input type="radio" name="deletetype" value="1" id="rb_del_soft" $checked[delete] />$vbphrase[soft_delete_leave_deleted_message]</label> <br /><img class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /><label for="cb_keepattachments"><input type="checkbox" class="inlineimg" name="keepattachments" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label> </div> </if> In template threadadmin_movethreads and threadadmin_movethread Delete: HTML Code:
<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 /> <label for="rb_redirect_expires"><input type="radio" name="redirect" value="expires" id="rb_redirect_expires" />$vbphrase[leave_expiring_redirect]</label><br /> <img style="padding-$stylevar[left]: 4px" class="inlineimg" src="$stylevar[imgdir_misc]/tree_$stylevar[textdirection].gif" alt="" border="0" /> $vbphrase[expires_in] <select name="period"> <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"> <option value="h">$vbphrase[hours]</option> <option value="d">$vbphrase[days]</option> <option value="w">$vbphrase[weeks]</option> <option value="m" selected="selected">$vbphrase[months]</option> <option value="y">$vbphrase[years]</option> </select> |
#5
|
|||
|
|||
Does the move thread make it so "Merging Threads" have the no redirect?
|
#6
|
|||
|
|||
Thanks for the redirect.
|
#7
|
||||
|
||||
thank you dear
|
#8
|
|||
|
|||
Thanks Sofia
|
#9
|
|||
|
|||
Thanks...Gr8 Job
|
#10
|
|||
|
|||
perfect:up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|