![]() |
Deleting Thread/post question:
Is there a way to allow my users to have a specific time-period, say 2 hours, to delete the thread or post they created? My users sometimes get a 'change of heart' and would like to delete what they posted, but i dont want to give them the power to delete it after a long period of time, like after 2 hours or so after they initially posted it.
|
hmm, give em the ability to delete own posts and threads by deleting the first post of a thread.
then open editpost.php find: PHP Code:
PHP Code:
|
Woa, thanks for the reply and code work! I am going to try it out asap! thanks again for the help!
|
How exactly would i go about adjusting the time they are allowed to delete a post/thread? 3600*2...is that for 2 hours? 3600 seconds in an hour * 2 hours, right?
|
you're welcome.
yes right 3600 secs/hour * 2 hours |
All times are GMT. The time now is 01:45 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:
|