miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
The Other miniBB Support Forums / The Other /  
 

Retention time of topics under "New Stuff"

 
Author locoweed
Partaker
#1 | Posted: 9 May 2019 19:03 
Is there an option to automatically remove items (after a certain period of time) from "New Stuff" on the initial page while leaving them unchanged on whatever forum they are in? I know admin can keep it cleaned up - just looking for an automatic option. Thank you...

Author Paul
Lead Developer 
#2 | Posted: 9 May 2019 19:30 
If you mean "Recent Stuff", then I'm afraid there's no such option by default, and I don't see a way of how to implement it... if you take more closer look, you would see this page at the bottom expands to a navigation of older pages, which list all topics in the order of new topics or recent replies appearance. So if you remove some topics from the first page, what to do then with the other older topics? May be completely remove this navigation and don't offer it, but it is truly very useful on many forums...

Also, even if we would suppose that we could remove some expired topics, then you may have a situation, when the initial first page would be completely empty, 'cause all topics expired and removed.

The most easiest way to keep the first page without this stuff, is to switch to the "classic" forums mode (setup_options.php -> $startPageModern=FALSE;).

I suppose you may also try to edit bb_func_ldisc.php and rewrite basically all requests, which generate the standard output, adding a condition to mySQL to compare either topic_time by some period, either topic_last_post_id to the necessary post_id.

So answering your question - there is no such option, but it's possible to code it, putting some extra efforts (as always).

The Other miniBB Support Forums / The Other /
 Retention time of topics under "New Stuff"
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑