PDA

View Full Version : Close posts after x amount of days


Brian Cruz
05-05-2002, 01:47 AM
I don't know if this needs to be a hack or if there is a simple MySQL query that can do this, but I want to close all posts that haven't been replied to since an x amount of days. Some people on my forum are bringing back year-old posts and it's getting on my nerves. I don't want to make an archive and move the posts there, I want want them to stay in their present board but be closed. Thanks.

RDX1
05-05-2002, 02:37 AM
i would love this hack also

Brian Cruz
06-12-2002, 09:46 PM
Anyone?

Logician
06-14-2002, 11:34 AM
I may be wrong but the hack may already exist. Have you searched for it?

Xenon
06-14-2002, 11:40 AM
UPDATE thread SET open=0 WHERE lastpost<xxxxxxx

just enter a special dateline you want, and all those threads become closed.