![]() |
Delete a post with only one button (in postbit)
This is a really easy hack to install and use, and it allows you to delete any post with only one click, instead of going through the editing process and then selecting delete, and then confirming, etc.
NOTE: Do you want to use an image instead of a button? Click here! NOTE: You cannot use a link to replace the button because the code requires you to submit a form, and using a link will make a huge security risk where people can delete posts as they wish! Instructions Open up the postbit template and find PHP Code:
PHP Code:
PHP Code:
PHP Code:
Images you can use for the delete button https://vborg.vbsupport.ru/external/2004/05/2.jpg |
woohoo.! thanks.
|
Thank You Gary :)
|
Gary, if you try to delete the first post in a thread, it goes to a blank white page and nothing happens. You need to fix this so the delete button won't show up if it is the first post in a thread. ;)
|
good mod ! thanks a lot !
|
work perfect to me even in first post in thread...
just small additions i`d love to see (that was in the same hack for vb2.x.x): - any chance to add small nitification pop-up window to submit delete (just in case that i pushed right button :devious: ) - how can i change that to image or just text link? |
but when I used this hack. I got a small problem! it is member's number posts. One member has 25 posts, and when I delete a thread which has 3 posts of him. His number post has only 22.
How can I prevent decreasing number post when I delete a thread or a post? |
Quote:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
very nice!
kinda like the Quick Delete Post hack for vB2 /me clicks Install MGM out |
All times are GMT. The time now is 06:28 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:
|