Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Autolock old threads (Read 3444 times)
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Autolock old threads
Reply #4 - Jul 18th, 2014 at 5:05pm
Print Post  
The mod has yet to be made ​​compatible with Time-Lock. I'll do that
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: Autolock old threads
Reply #3 - Jul 16th, 2014 at 6:47pm
Print Post  
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.  Wink

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.
Back to top
WWW  
IP Logged
 
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: Autolock old threads
Reply #2 - Jul 16th, 2014 at 6:32pm
Print Post  
@ Dandello

Smiley

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.
  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
RonS2
New Member
*
Offline


I Love YaBB!

Posts: 24
Joined: Feb 12th, 2014
Re: Autolock old threads
Reply #1 - Jul 16th, 2014 at 6:01pm
Print Post  
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Autolock old threads
Jul 16th, 2014 at 2:56pm
Print Post  
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 (Attachment deleted | 43 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint