![]() |
[high]* Wifey clicks install
[/high] Thank you so much, it works perfectly :) |
Quote:
|
a suggestion, if ur going to make it with having a 1 for allowing it not to be deleted completely but hidden, why not make it "if 1 then" have a popup box to fill in any comments, i like my mods to put in why they are deleteing something
idea, would also prevent any accidental deleteing if u want it to ask for confirmation before u delete do this, Open up the postbit template and find PHP Code: <if condition="$post['editlink']"> Below, add: PHP Code: <form action="editpost.php" method="post" onSubmit="return confirm('Are you sure you want to delete this post')"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="p" value="$post[postid]" /> <input type="hidden" name="do" value="deletepost" /> <input type="submit" name="deletepost" value="<if condition="$deletebutton">delete<else />remove</if>" id="rb_del_soft" tabindex="1" class="button" /> </form> |
Quote:
when i added this now i cant see it either, i need for me and all my little mods to be able to use quick delete, any help? |
Quote:
|
Quote:
anyone know how to fix this? |
i delete a post in a thread (page 3), when deleting done, it turn back page 1. I want it turn back the page store this post. Who can help me? Thanks much
|
Quote:
add this where you want to have your delete icon located: HTML Code:
<span id="quickdelete_$post[postid]"> I would put is AFTER HTML Code:
<a href="$post[editlink]" onclick="return confirm_edit()"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> credit goes to EvilLS1 for his Quick Edit hack! |
How can I get it so that the button only shows up for those with permission to delete (on my forum admin/super mods and mods only in their own forum)? Members can't delete so I don't want them seeing this button, and it's also currently showing for unregistered posts.
Will this clash will the 'quick edit' hack? |
Quote:
note. The code should be added ABOVE the </if> to close the checking for those who can edit. |
All times are GMT. The time now is 11:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|