|Permission change - users can delete own threads with no replies Details »»|
Permission change - users can delete own threads with no replies
Developer Last Online: Aug 2014
I've seen people ask about this feature many times without getting a definitive answer, so I thought I'd chime in as I recently implemented this on my forum.
Question: Is it possible to allow members to delete their own threads if and only if they have no replies?
Answer: The stock vbulletin installation only allows you to specify whether or not users can delete their own threads, regardless of the number of replies. To change this, you can make a simple code modification.
The related usergroup permission is called "Can Delete Own Threads". If you would like to change this permission so that it limits users to deleting only threads with no replies, open ajax.php, editpost.php, and postings.php and find:
Now, users will be able to delete their own threads if they have no replies! I have tested this on vB 3.8.7 using both the ajax and non-ajax editors. I suspect this will work with vB 3.x.x, as well as with 4.x, however. Enjoy!
Only licensed members can download files, Click Here for more information.
No members have liked this post.
|Canned Replies v4.x - User Saved Text for Replies, Threads, PMs & Infractions||bananalive||vBulletin 4.x Add-ons||229||14 Nov 2013 01:38|
|Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions||bananalive||vBulletin 3.7 Add-ons||292||08 Aug 2013 06:53|
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|New To Site?||Need Help?|
All times are GMT. The time now is 06:20.