View Full Version : Can Edit Own Posts but before X minutes
ccampo
05-05-2011, 02:29 PM
I'm using vB4.
I have disabled the "Can Edit Own Posts" on all forums to avoid people changing things after posting, however I've received complains about this so I'd like users to have the opportunity to edit their own posts only before, let's say, 10 minutes after the post was created, during that time they will be able to fix typos or just edit their posts, but after those 10 minutes the posts have to stay the way they were posted.
Does such feature exists?
or maybe there's a MOD for that ?
let me know
Cesar
Settings => Options => Message Posting and Editing Options => Time Limit on Editing of Posts
ccampo
05-05-2011, 04:17 PM
Settings => Options => Message Posting and Editing Options => Time Limit on Editing of Posts
Thanks a lot kh99,
This is what that options says:
Time Limit on Editing of Posts
Time limit (in minutes) to impose on editing of messages. After this time limit only moderators will be able edit or delete the message. 1 day is 1440 minutes.
Set the value to 0 to allow users to edit their posts indefinitely.
The current value is "0" which means users are allowed to edit their posts, however this is not the case, should I change it to 10 minutes and even if I disabled editing posts will they be able to edit within this time ?
I can probably test this but... I wanted to ask anyway :
So, can these two conflicting options be enabled at the same time ?
or should I re-enable editing posts but since I'll also be using "Time Limit on Editing of Posts" then edits will only be allowed during the first X minutes after posting ?
All I want is allow edit for the first 10 minutes after posting
Madpoodle
05-07-2011, 08:16 PM
Editing of posts needs to be enabled, then you can set the time limit.
ccampo
05-08-2011, 04:39 PM
I did some testing and it works, but.... there's always a but...
Looks like the "Time Limit on Editing of Posts" option is for all forums, all or nothing, I want to enable this feature only for some forums not all, I have some forums that I want users to edit whenever they want, but it looks like if I use this generic option then all forums will be affected.
Is there an option I can use that would give this ?
It doesn't look like there's any existing option, but of course you could make a plugin that changes $vbulletin->options['edittimelimit'] depending on the forum. The only problem is finding the right hook (or hooks) that are after you know the forum id but before the value is used. Of course it's not nearly as convenient as having a check box in the forum editor.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.