Keyser S?ze
10-19-2005, 09:20 AM
this may end up being just a template mod, which would be fine with me
thats how it is right now but its not working, i just dont se what im doing wrong here, this is what i have
this is a port from this hack https://vborg.vbsupport.ru/showthread.php?t=60704&highlight=quick+delete+button
now on that hack, i never had to edit the php file, jus wasnt needed
all i want is, when i click a button, the post/thread is perminantly deleted
ok this is what i have in the postbit
<if condition="$post['editlink']">
<form action="editpost.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="p" value="$post[postid]" />
<input type="hidden" name="url" value="$url" />
<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>
that produces the button in the postbit, but when u click it u get a error saying "Invalid Action Specified"
any help would really be appreciated
thats how it is right now but its not working, i just dont se what im doing wrong here, this is what i have
this is a port from this hack https://vborg.vbsupport.ru/showthread.php?t=60704&highlight=quick+delete+button
now on that hack, i never had to edit the php file, jus wasnt needed
all i want is, when i click a button, the post/thread is perminantly deleted
ok this is what i have in the postbit
<if condition="$post['editlink']">
<form action="editpost.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="p" value="$post[postid]" />
<input type="hidden" name="url" value="$url" />
<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>
that produces the button in the postbit, but when u click it u get a error saying "Invalid Action Specified"
any help would really be appreciated