PDA

View Full Version : Change default days till threads are hidden


roundhost
12-12-2004, 06:38 PM
Hi all,

I am looking for a mod that changes the amount in days till forums are hidden...for example if a forum is not posted in for 30 days you get the message "There have been no posts in the last 30 days in this forum.", is there a way to change the default time for that?

amykhar
12-12-2004, 06:40 PM
You can change this on a per-forum basis in the control panel. Forums can be set to show all threads or threads by various cut off points.

roundhost
12-12-2004, 06:57 PM
You can change this on a per-forum basis in the control panel. Forums can be set to show all threads or threads by various cut off points.

Ah thanks :)

Allthough it would probably be more efficient if you could also apply it for all forums as well ;)

tubedogg
12-12-2004, 07:03 PM
Ah thanks :)

Allthough it would probably be more efficient if you could also apply it for all forums as well ;)
Run this query:
UPDATE forum SET daysprune = -1;
Will set all forums to show all threads.
Or for a specific number of days:
UPDATE forum SET daysprune = 30;
Will set all forums to show threads from the last 30 days, for example.

roundhost
12-12-2004, 07:04 PM
Run this query:
UPDATE forum SET daysprune = -1;
Will set all forums to show all threads.
Or for a specific number of days:
UPDATE forum SET daysprune = 30;
Will set all forums to show threads from the last 30 days, for example.

Thanks alot! :D

T3MEDIA
12-13-2004, 07:29 AM
Run this query:
UPDATE forum SET daysprune = -1;
Will set all forums to show all threads.
Or for a specific number of days:
UPDATE forum SET daysprune = 30;
Will set all forums to show threads from the last 30 days, for example.
"from the begining" I assume is -1? Cool.

tubedogg
12-13-2004, 06:03 PM
"from the begining" I assume is -1? Cool.
Yes -1 = the beginning.