Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Autolock old threads (Read 986 times)
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 89
Joined: Apr 25th, 2012
Autolock old threads
Dec 24th, 2014 at 4:31pm
Print Post  
AutoLock Old Threads YaBB 2.6.11

0.2 alpha

This mod adds allows Admins to set a time limit for threads to be posted to.

Version History
---------------
0.1 alpha - First release - Sept 2, 2014
0.2 alpha - Updated for 2.6.11 - Dec 12, 2014

For YaBB 2.6.11

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. (Members who can post to locked threads can still post. Posting will also unlock the thread.)

Edited:
Correct file uploaded
« Last Edit: Jan 10th, 2015 at 3:52pm by Dandello »  

autolock_old_threads_2611b.zip ( 1 KB | Downloads )
Back to top
WWW  
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 89
Joined: Apr 25th, 2012
Re: Autolock old threads
Reply #1 - Jan 10th, 2015 at 3:53pm
Print Post  
Corrected file in 1st post
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint