Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Autolock old threads (Read 2755 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box 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  
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Autolock old threads
Reply #2 - Jul 16th, 2014 at 6:32pm
Mark & QuoteQuote  
@ 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.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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.  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
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
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)}
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Autolock old threads

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 10000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry