![]() |
Allowing users to delete a post or topic for limited time?
Like is there a mod for that or a setting?
Say if a user posted somewhere wrong and wants to delete that then they can for the next 10 minutes. Maybe a permission setting on forum basis or usergroup basis. |
Their are forum and Usergroup Permissions for that except for the 10 minutes part
|
Quote:
|
i can look into that for you their might be file edits.
--------------- Added [DATE]1427239463[/DATE] at [TIME]1427239463[/TIME] --------------- They would only be able to do a soft delete on post or threads anyways so you could always restore them. |
Quote:
Still I appreciate your time spent to look into this. Quote:
|
1 Attachment(s)
Looking at the vb code trying to figure it out their is a time limit on editing post and that the way your user would not be able to delete their post or thread you could do this.
Go to AdminCP > Setting > Options > Message Posting and Editing Options > Time Limit on Editing of Posts Only Admin and mods could edit or delete posts, threads after this time limit has past. |
I you don't like the vb option Time Limit on Editing of Posts in post #6
you would have to edit two file ajax.php and editpost.php Find this code Code:
else if (((($forumperms & $vbulletin->bf_ugp_forumpermissions['candeletepost']) AND !$isfirstpost) OR (($forumperms & $vbulletin->bf_ugp_forumpermissions['candeletethread']) AND $isfirstpost)) AND $vbulletin->userinfo['userid'] == $postinfo['userid']) Code:
else if (((($forumperms & $vbulletin->bf_ugp_forumpermissions['candeletepost']) AND !$isfirstpost) OR (($forumperms & $vbulletin->bf_ugp_forumpermissions['candeletethread']) AND $isfirstpost)) AND $vbulletin->userinfo['userid'] == $postinfo['userid'] AND $postinfo['dateline'] < (TIMENOW - (10 * 60))) |
The same problems, the solution was
Thank you |
All times are GMT. The time now is 04:48 PM. |
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:
|