The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
Their are forum and Usergroup Permissions for that except for the 10 minutes part
|
#3
|
|||
|
|||
That isn't useful because then someone could delete a topic with 100 posts.
|
#4
|
||||
|
||||
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. |
#5
|
|||
|
|||
Quote:
Still I appreciate your time spent to look into this. Quote:
|
#6
|
||||
|
||||
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. |
#7
|
||||
|
||||
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))) |
#8
|
|||
|
|||
The same problems, the solution was
Thank you |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|