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: Hide Old Threads Dec 31st, 2014 at 4:54pm Mark & QuoteQuote Hide Old Threads YaBB 2.6.12 This mod adds allows Admins to hide old inactive threads in the Message Index and creates a link so Users can choose to see them. Version History --------------- 0.5 - March 3, 2015 - better handling on only old threads, bug fixes 0.2 - Dec 31, 2014 (2.6.11) 0.1 - Sep 2, 2014 (2.6.1) 0.5 - Aug 14, 2014 - Mod Hooks (Build 1530) 0.3 alpha - June 23, 2014 - fixed 0 days issue. 0.2 alpha - June 22, 2014 0.1 alpha - First release - June 20, 2014 Instructions: Apply the mod and upload (in ASCII mode): cgi-bin/yabb2/Admin/Modlist.pm cgi-bin/yabb2/Admin/ManageBoards.pm cgi-bin/yabb2/Languages/English/Admin.lng cgi-bin/yabb2/Languages/English/MessageIndex.lng cgi-bin/yabb2/Sources/Load.pm cgi-bin/yabb2/Sources/MessageIndex.pm cgi-bin/yabb2/Templates/default/Menu.def cgi-bin/yabb2/Templates/default/MessageIndex.template Upload eye_minus.png and eye_plus.png to yabbfiles/ModImages In the Admin Center -> ManageBoards set the number of days after which inactive threads will be hidden. If no number is set, all threads will be shown. German translations courtesy Pyragony. « Last Edit: Mar 2nd, 2016 at 1:51pm by Dandello » Reason: morebug fixes - new zip file. hide_old_threads_2612.zip ( 5 KB | 174 Downloads ) hide_old_threads_German_2611.zip ( 1 KB | 164 Downloads ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Hide Old Threads Reply #1 - Jan 5th, 2015 at 11:49pm Mark & QuoteQuote Unless I have screwed this up somehow, when I enter a number in the board area, and ask it to save it, the number never gets saved. If you don't know where you are, but you don't care, you're not lost ... you're exploring! 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: Hide Old Threads Reply #2 - Jan 6th, 2015 at 2:45am Mark & QuoteQuote ARGGHH! (New zip in 1st post.) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Batchman Full Member Offline I Love YaBB! Posts: 165 Location: Somewhere just East of Crazy Joined: Jul 25th, 2014 Gender: Mood: Depressed Zodiac sign: Re: Hide Old Threads Reply #3 - Jan 6th, 2015 at 6:43am Mark & QuoteQuote Working perfectly now, including the whole timing aspect! If you don't know where you are, but you don't care, you're not lost ... you're exploring! 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: Hide Old Threads Reply #4 - Nov 30th, 2015 at 7:35pm Mark & QuoteQuote Um - it doesn't seem work right when the Board with old threads has more than one page. Got to rethink this. Edited: New zip in 1st post - the chop variable hadn't gotten into the 'pageindex' section. « Last Edit: Nov 30th, 2015 at 10:21pm by Dandello » Perfection is not possible. Excellence, however, is excellent. WWW 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: Hide Old Threads Reply #5 - Mar 1st, 2016 at 9:36pm Mark & QuoteQuote Installs in 2.6.12 Edited: But it doesn't seem to work. Edited: The problem is: the button doesn't do anything when there are no new threads. Will work better in 2.7.00. « Last Edit: Mar 2nd, 2016 at 12:42am by Dandello » Perfection is not possible. Excellence, however, is excellent. WWW 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: Hide Old Threads Reply #6 - Mar 2nd, 2016 at 1:49pm Mark & QuoteQuote Better zip in 1st post added 1 line of language in InstantMessages.lng: Code $messageindex_txt{'nomess'} = q~<span class="small">No threads less than {yabb chopdays} days old</span> ~; Perfection is not possible. Excellence, however, is excellent. WWW IP Logged