Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
removing 'edit' post option after specified time?
I did a quick search, didn't see anything related to this...
What I'd like to have is some way to set a time, for example - 2 days, and then have the 'edit post' button/option disappear for users after the 2 days have passed since the made the post. Is there an easy way to do that? Even if someone knows what code to edit, I'll give it a go. But I'm guessing that something like can be relatively easily made into an add-on?
Thanks for any help.
What I'd like to have is some way to set a time, for example - 2 days, and then have the 'edit post' button/option disappear for users after the 2 days have passed since the made the post. Is there an easy way to do that? Even if someone knows what code to edit, I'll give it a go. But I'm guessing that something like can be relatively easily made into an add-on?
Thanks for any help.
0
This discussion has been closed.
Comments
If you need the exact code I'm using for that part, just tell me. I'm working now in another computer but I may get it for you in a while.