![]() |
Hmm.. I got mine working, but.. It removes the posts, and leave's the "manage" and "view post" options there. Any ideas?
|
Quote:
|
Here you go:
|
Any ideas, Gary W? It's been 3 days, :S (Dont mean to be rude).
|
Change $deletebutton = 1; to $deletebutton = 0; then all new deleted posts will disappear.
The way you have it right now is how vBulletin works, posts aren't usually permanently deleted (staff can still see the deleted posts, just in case they ever need to.) |
$deletebutton = 0; is what i have it set to.
|
Yep that is correct.
|
Your not understanding what i'm saying...
I have the delete set to 0, and its not working. |
Ok, does anyone have any ideas? I'm really gettin mad now, it's been over 3-4 days atleast.
|
Check the source code of the post and make sure that there is the following code when viewing a thread:
PHP Code:
|
uhm.. is it possible to make this a delete link rather than a submit botton? looks tacky on postbit.
|
Quote:
HTML Code:
<a href="editpost.php?$session[sessionurl]do=deletepost&deletepost=<if condition="$deletebutton">delete<else />remove</if>&p=$post[postid]">delete</a> |
doesn't work... get a blank page on rc3 using link instead of button.
|
I'm pretty sure because you did not do it correctly, template modifications never display a blank page unless you remove everything.
|
have you tested it? i get a blank page when i click the 'delete' link. as in the $_REQUEST does not exist in editpost.php.
|
Okay thanks for letting me know; read the Note: here: https://vborg.vbsupport.ru/showpost....40&postcount=1
|
I've installed this and I'm not sure why it's not working. I don't see any text for the delete link so I'm not sure what I've done wrong. Any help?
|
Quote:
|
Quote:
What phrases do I need to add? |
Quote:
|
I'm going to try uninstalling and reinstalling because I don't know why it's not working. I've followed the directions exactly as they're stated, and yes, the instructions are very simple. Hrm. I'll just keep my fingers crossed.
edit: Okay, I uninstalled and reinstalled and it's still not working. I guess I'll just take it out. Thanks for your help but I don't wanna waste your time because I'm sure you have better things to do! I have no idea why it's not working - I've installed another hack you listed and it worked perfectly. Who knows! |
hmm this would be better if there was a pop up confirming delete yes/no
i would like the ability to delete with one button but hands can easily slip so a delete popup would be good as an addon or an update to the hack itself |
I've had a play and created a "Quick Delete" button to use with this hack .. you can find it attached ..
:) (no I'm not a PSD expert .. far from it .. so you might find it better to make one yourself :p) |
Thanks, I'll add that to the first post :)
|
nps .. :)
|
i did every step correctly, but i see no button for the quick delete... i saw someone mention postbit_legacy ... would i need to edit something there as well or what?
|
By looking at your forums, you seem to be using the vB2 layout postibt, right? If so, then you'll need to edit postbit_legacy to get it to show up. ;)
|
thanks Scrub... i got it now... sweet hack... thank you
on a side note... i have no problem using the Quick Delete to delete an entire thread...like Gary said... you must have missed something |
Woo! Excellent hack for my lazy arse. ;) Perfect for non-permanent deletion anyway. I figure if I'm going to permanently kill something, I might as well do it the long way to make sure.
*clicks install* <edit>Took out the pop-up fix for now, seems my butt also needs more caffiene.</edit> |
The delete-button is also shown in the private messages.
Is there a way, only to show the button in threads? C. |
Quote:
In your postbit- and postbit_legac-template find: PHP Code:
Above ad: PHP Code:
PHP Code:
Underneath, you have to ad: PHP Code:
|
I am trying out a few differint things with this hack. One question though. Is the URL used in VB3 to delete posts this?
editpost.php?s=&do=deletepost&p=xxxxx Doesn't seem to work, although according to the values Gary's form uses this should work. What is the correct URL? I am working on incorporating a popup confirmation. |
006, read a NOTE on first page.... but i think it should be way out ;)
|
can I add "reason" when deleting post, using this quick delete feature?
|
Don't understand why everybody is having so much trouble with this? I installed it in about 6 or 7 minutes and was laughing out loud after deleting a dozen posts in zero time. Check it out!
http://www.trickstutorials.com/temporary/antoine.gif I even added a funny alt tag. Thanks a lot Gary! :devious: Edit: I didn't read the whole thread at first, but thanks to Chris FH and Gary again for fixing the problem with it appearing in the private messaging postbit and the user groups visibility thing. NOW! This is a very slick hack. :rambo: |
id still like to see an optional popup window asking if your sure you want to delete the thread.
|
Quote:
onclick="return confirm('Are you sure you want to delete this post')" in to the link code. |
Code:
<form action="editpost.php" method="post"> |
nevermind, figured it out.
|
Quote:
|
All times are GMT. The time now is 04:17 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:
|