Page Index Toggle Pages: 1 [2]  ReplyAdd Poll Send Topic
Hot Topic (More than 10 Replies) Hide Old Threads (Read 15379 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 867
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
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)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2276
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Hide Old Threads
Reply #3 - Jun 22nd, 2014 at 2:31pm
Mark & QuoteQuote  
Um, Are you sure you installed your German mod?  Wink (Because they both installed fine on my testboard.)

New zip in the first post.
  

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: 867
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
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 | 345 Downloads )

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


I Love YaBB!

Posts: 867
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Re: Hide Old Threads
Reply #1 - Jun 22nd, 2014 at 1:00pm
Mark & QuoteQuote  
Code
Select All
<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
Select All
<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)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2276
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
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 | 306 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Hide 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