The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Delete Thread/Post: Physically Remove As Default On Top
![]() ================================================== ===== HOW TO DELETE THREAD: PHYSICALLY REMOVE AS DEFAULT ON TOP! ================================================== ===== ================================ Go: Template: threadadmin_deletethreads ================================ WARNING! Always Copy And Paste the Original Code And Paste It Somewhere (For Security Reason!): In Case Something Go Wrong! ======================== Find: Code Below And Delete! ======================== Code:
<if condition="$show['deletethreads']"> <div class="fieldset"> <label for="rb_deletetype_1"><input type="radio" name="deletetype" value="1" id="rb_deletetype_1" $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" name="keepattachments" class="inlineimg" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label> </div> </if> <if condition="$show['removethreads']"> <div class="fieldset"> <label for="rb_deletetype_2"><input type="radio" name="deletetype" value="2" id="rb_deletetype_2" $checked[remove] onselect="alert('moo')" />$vbphrase[physically_remove]</label> </div> </if> ======================== Copy: Code Below And Paste! ======================== Code:
<if condition="$show['removethreads']"> <div class="fieldset"> <label for="rb_deletetype_2"><input type="radio" name="deletetype" value="2" id="rb_deletetype_2" $checked[delete] onselect="alert('moo')" />$vbphrase[physically_remove]</label> </div> </if> <if condition="$show['deletethreads']"> <div class="fieldset"> <label for="rb_deletetype_1"><input type="radio" name="deletetype" value="1" id="rb_deletetype_1" />$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" name="keepattachments" class="inlineimg" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label> </div> </if> ================================================== === HOW TO DELETE POST: PHYSICALLY REMOVE AS DEFAULT ON TOP! ================================================== === ============================== Go: Template: threadadmin_deleteposts ============================== ======================== Find: Code Below And Delete! ======================== 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> <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> </div> </if> ======================= Copy Code Below And Paste! ======================= Code:
<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> </div> </if> <if condition="$show['deleteposts']"> <div class="fieldset"> <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> Pls.View Attachment For Changes =========================== ...If You Find It Useful: "Thanks" Is A Simple 6 Letter Word That You Can Write And Post To Make Anyone Happy And Push To Find, Think, Create A New Idea & Share Or Release It For All! Best Regards To All! ![]() |
#2
|
|||
|
|||
![]()
Thanks, I actually use soft delete for my moderators, but I get annoyed when having to click it all the time.
I thought I remember using a way to prune all soft deleted posts. Did I see this wrong or is there a way? |
#3
|
|||
|
|||
![]()
It would be a better article if you said what you did, instead of telling users to copy and paste. Use colours or something
![]() |
#4
|
||||
|
||||
![]() Quote:
![]() |
#5
|
|||
|
|||
![]() Quote:
You say: Code:
<if condition="$show['deletethreads']"> <div class="fieldset"> <label for="rb_deletetype_1"><input type="radio" name="deletetype" value="1" id="rb_deletetype_1" $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" name="keepattachments" class="inlineimg" value="1" id="cb_keepattachments" />$vbphrase[keep_attachments]</label> </div> </if> <if condition="$show['removethreads']"> <div class="fieldset"> <label for="rb_deletetype_2"><input type="radio" name="deletetype" value="2" id="rb_deletetype_2" $checked[remove] onselect="alert('moo')" />$vbphrase[physically_remove]</label> </div> </if> Green Red To: Red Green Make better article then ![]() |
#6
|
||||
|
||||
![]()
..well thanks for the tut's...sure will do it next time bro....
![]() |
#7
|
|||
|
|||
![]()
In my case i cant find that code in my vbuleltin 4.1.10; Customize Template: threadadmin_deletethreads
|
#8
|
||||
|
||||
![]()
That/s because this article was written for vB3.x not vB4.x so it may be a bit outdated for you.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|