The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Allow deleting threads only when there is one post
Is it possible to allow users to delete their own thread only when the first post is the only one in the thread, but not allow this if there are other posts in the thread? This would prevent users from deleting long discussions in threads while allowing them to delete threads created by mistake. How can I make my forum work like that?
|
#2
|
||||
|
||||
There is no default option to do that. I think you'd have to write a modification to do that.
|
#3
|
|||
|
|||
I know, that's what I'm asking about...
|
#4
|
||||
|
||||
You asked if it was possible and I said not with default vbulletin.
Anyway, you'd probably want to write a plugin that does a quick check to count posts in a thread. If there is more than 1 post, give them a No Permission for deleting the thread. I think you'd do this for the editpost.php file but I'm not positive (look at the form action for the Edit Post). Programming Discussions is for help writing the code (you write it, tell us what is wrong, we make suggestions on how to fix it). If you need someone else to write it for you, you should post in Modifications Requestions (unpaid) or Paid Requests. |
#5
|
|||
|
|||
okay thank you.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|