Back to vBulletin Tips & Tricks

Delete Thread/Post: Physically Remove As Default On Top
by princeedward 30 Jun 2008
Rating: (1 vote - 3.00 average)

=======================================================
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!
Attached Thumbnails
Click image for larger version
Name:	delete post_image.gif
Views:	134
Size:	15.9 KB
ID:	83280  

vblts.ru supports vBulletin®, 2022-2024