Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Autolock old threads Jul 16th, 2014 at 2:56pm Mark & QuoteQuote AutoLock Old Threads YaBB 2.6.0 This mod adds allows Admins to set a time limit for threads to be posted to, after which the topic is locked. Version History --------------- 0.1 alpha - First release - July 16, 2014 For YaBB 2.6.0 Instructions: Apply the mod and upload (in ASCII mode): cgi-bin/yabb2/Admin/Modlist.pm cgi-bin/yabb2/NewSettings.pm cgi-bin/yabb2/Settings_Main.pm cgi-bin/yabb2/Languages/English/Admin.lng cgi-bin/yabb2/Languages/English/Display.lng cgi-bin/yabb2/Sources/Display.pm cgi-bin/yabb2/Sources/MessageIndex.pm cgi-bin/yabb2/Templates/default/Display.template In the Admin Center -> Forum Settings -> Posting -> Time Lock set the number of days after which threads will be automatically locked and an announcement appears stating that the thread has been locked due to age. autolock_old_threads.zip ( 1 KB | 209 Downloads ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
RonS2 New Member Offline I Love YaBB! Posts: 36 Joined: Feb 12th, 2014 Mood: Confused Re: Autolock old threads Reply #1 - Jul 16th, 2014 at 6:01pm Mark & QuoteQuote IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Autolock old threads Reply #2 - Jul 16th, 2014 at 6:32pm Mark & QuoteQuote @ Dandello My opinion, do not start a new thread, but inform the boss, so it releases the thread again. But it's also so you can attach it again yes. Translation follows. if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
Dandello Forum Administrator Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Autolock old threads Reply #3 - Jul 16th, 2014 at 6:47pm Mark & QuoteQuote This is just the first version - but since the cut-off date is based on the date of the last post to the thread, this won't lock an active 'old' thread but only ones that have been inactive to a long time (like 180 or 365 days.) Plus anyone with bypasslock permissions can always 'bump' it. Or this could be moved to Board Settings - some boards would have autolocks and some wouldn't. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Autolock old threads Reply #4 - Jul 18th, 2014 at 5:05pm Mark & QuoteQuote The mod has yet to be made compatible with Time-Lock. I'll do that if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged