• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[DS] Auto Lock Threads

Status
Not open for further replies.
Mufasa, is your PHP 5 version at least 5.3.0?
That is the minimum requirement for that function.
 
Good point, Syndol. I may need to make it clear on my post, I think.

Mufasa: It is working on my Chrome here, so yes, please check the PHP version.
 
Could it have another option:
Close in "x" amount of days? (or months)

I have a few threads we want to auto lock after 6 months, or 364 days.
 
v2.2 is here! Check the change log. Thank you!

Have you considered Xenforo_Locale::dateTime() instead?
That is only for formatting the date to views. I used it to display the current time, but I saw that XF uses the Date object too, so I am still using it.

Could it have another option:
Close in "x" amount of days? (or months)

I have a few threads we want to auto lock after 6 months, or 364 days.

Done!
 
This seems like a great addon, but is it possible, or would it be possible, to set a global option for an entire forum section? E.g. an 'Updates' section, and every thread created in there would auto-lock after 72 hours or whatever.
 
This seems like a great addon, but is it possible, or would it be possible, to set a global option for an entire forum section? E.g. an 'Updates' section, and every thread created in there would auto-lock after 72 hours or whatever.
I will have a look at it.

plz, any one tell me that how to unlock locked-thread?
You simple remove the limit using ACP. Then you can unlock the thread using the Edit Thread link. If you don't remove the limit, it will auto-lock again, and it's by design.
 
Status
Not open for further replies.
Top Bottom