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 Jun 21st, 2014 at 12:35am Mark & QuoteQuote This mod adds allows Admins to hide old inactive threads in the Message Index and creates a button so Users can choose to see them. Should be useful for BIG Boards Version History --------------- 0. alpha - July 8, 2014 - fixed button issue 0.3 alpha - June 23, 2014 - fixed 0 days issue. 0.2 alpha - June 22, 2014 0.1 alpha - First release - June 20, 2014 For YaBB 2.6.0 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/Templates/Forum/default 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. Package also contains: hot_German_ANSI.mod hot_German_utf8.mod hot_German_du_ANSI.mod hot_German_du_utf8.mod Choose the encoding appropriate for your installation - ANSI for upgraded forums, utf8 for new forums. « Last Edit: Jul 8th, 2014 at 10:44pm by Dandello » hide_old_threads_yabb260_4.zip ( 7 KB | 171 Downloads ) 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: Hide Old Threads Reply #1 - Jun 22nd, 2014 at 1:00pm Mark & QuoteQuote Code <edit file> Languages/German/Admin.lng </edit file> <search for> ); %floodtxt = ( </search for> <add before> 'chopthread' => 'Verstecke alte Themen', 'chopthread2' => '<br />Um nur die aktiven Beiträge, die neuer sind als XXX Tage anzuzeigen, geben Sie hier einen Wert ein.<br />0 (Null) für keine Beschränkung.<br /><b>Note: Standardwert für neue Foren = 0</b>', </add before> <edit file> Languages/German/MessageIndex.lng </edit file> <search for> ); %messageindex_sort = ( </search for> <add before> 'chopshow' => 'Zeige alle Themen', 'chop' => q~Zeige letzte aktive Themen~, 'choptitle' => 'Nicht mehr als {yabb chopdays} Tage alt', </add before> Code <edit file> Languages/German_Du/Admin.lng </edit file> <search for> ); %floodtxt = ( </search for> <add before> 'chopthread' => 'Verstecke alte Themen', 'chopthread2' => '<br />Um nur die aktiven Beiträge, die neuer sind als XXX Tage anzuzeigen, gebe hier einen Wert ein.<br />0 (Null) für keine Beschränkung.<br /><b>Note: Standardwert für neue Foren = 0</b>', </add before> <edit file> Languages/German_Du/MessageIndex.lng </edit file> <search for> ); %messageindex_sort = ( </search for> <add before> 'chopshow' => 'Zeige alle Themen', 'chop' => q~Zeige letzte aktive Themen~, 'choptitle' => 'Nicht mehr als {yabb chopdays} Tage alt', </add before> if (idea == 'none') {use (manuals) && (Google | | search)}if ($ answer == 0) {post (question)} IP Logged
pyragony54 Language Offline I Love YaBB! Posts: 852 Location: Йошкар-Ола Joined: May 25th, 2014 Gender: Mood: Dead Zodiac sign: Re: Hide Old Threads Reply #2 - Jun 22nd, 2014 at 1:49pm Mark & QuoteQuote Uppppsssss!!!!! A empty window? As yet, what should be written. Bild2_002.jpg ( 44 KB | 193 Downloads ) 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: Hide Old Threads Reply #3 - Jun 22nd, 2014 at 2:31pm Mark & QuoteQuote Um, Are you sure you installed your German mod? (Because they both installed fine on my testboard.) New zip in the first post. screenshot-localhost_2014-06-22_07-38-54.png ( 118 KB | 171 Downloads ) 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: Hide Old Threads Reply #4 - Jun 22nd, 2014 at 2:41pm Mark & QuoteQuote I have switched to English, the same. It says nothing. 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: Hide Old Threads Reply #5 - Jun 22nd, 2014 at 5:15pm Mark & QuoteQuote That's weird as I just installed a fresh copy of build 1501 on my home server and installed Hide Old Threads and it shows up fine in the Admin Center. 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: Hide Old Threads Reply #6 - Jun 22nd, 2014 at 5:20pm Mark & QuoteQuote I also have the 1501, but I have already installed some mods. Maybe it is not compatible with any. Regardless, I do not need him so and so. 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: Hide Old Threads Reply #7 - Jun 22nd, 2014 at 5:21pm Mark & QuoteQuote It's also possible you grabbed the very first zip which may have had some typos. 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: Hide Old Threads Reply #8 - Jun 22nd, 2014 at 5:35pm Mark & QuoteQuote hide_old_threads_yabb260_2.zip i have 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: Hide Old Threads Reply #9 - Jun 22nd, 2014 at 6:57pm Mark & QuoteQuote Okay - this is just weird. The two language variables that aren't showing up for you are $admin_txt{'chopthread'} and $admin_txt{'chopthread2'} Make sure they are in Admin/ManageBoards.pm Later this afternoon I'll install the mod on this board. Maybe there's another Mod using 'chopthread' as an identifier? 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 #10 - Jun 22nd, 2014 at 7:36pm Mark & QuoteQuote Just added the Mod here - The YaBB News section is currently set to hide posts older than 100 days. 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: Hide Old Threads Reply #11 - Jun 23rd, 2014 at 7:55am Mark & QuoteQuote So I do not understand it myself. I've searched all the mods and found nothing. Get the forum play again today and re-install the mod first. Let's see what happens then. The mod itself works, the button is displayed. The Help - files I must make ready. « Last Edit: Jun 23rd, 2014 at 12:00pm by pyragony54 » 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: Hide Old Threads Reply #12 - Jun 23rd, 2014 at 12:51pm Mark & QuoteQuote And I found the problem - Slider Catcha must be installed LAST. 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: Hide Old Threads Reply #13 - Jun 23rd, 2014 at 1:48pm Mark & QuoteQuote Then I would not have come. I had, however, only uninstall this mod to remove slider Capcha. The total conflict. And it works. But as I said, I need this mod not, it must still come with all the mods still work. Conflicts but it will always exist, especially with very complex mods like "YaMMS". There is still a lot of work to us. 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: Hide Old Threads Reply #14 - Jun 23rd, 2014 at 2:27pm Mark & QuoteQuote What's happening (and XTC will have it fixed in the next version of Slider Captcha): Slider Captcha put its language list above the string that most Mods use to find the end of %admin_txt. That meant the new language string that should have been added to %admin_txt ended up being added to the Slider Captcha section instead. So the next version of Slider Captcha should be compatable with other Mods. 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: Hide Old Threads Reply #15 - Jun 23rd, 2014 at 2:34pm Mark & QuoteQuote I have already read. XTC is there very fast in this relationship. 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: Hide Old Threads Reply #16 - Jun 23rd, 2014 at 6:08pm Mark & QuoteQuote Minor issue with button showing when it shouldn't. New zip in first post 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: Hide Old Threads Reply #17 - Jun 26th, 2014 at 7:52pm Mark & QuoteQuote I like the idea of this mod but I was wondering, instead of just hiding old threads maybe having the option of only locking old threads. Might be nice. 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 #18 - Jun 26th, 2014 at 8:24pm Mark & QuoteQuote That sounds like a good addition to Hide Old Threads. 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 #19 - Jul 8th, 2014 at 10:43pm Mark & QuoteQuote Found some issues. New zip in first post. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged