Needlworks / Textcube

Textcube : Brand yourself! / Personalized web publishing platform with multi-user support
http://www.textcube.org
Other
207 stars 55 forks source link

Timeout of availability of comments and trackbacks for old posts #1644

Open achimnol opened 10 years ago

achimnol commented 10 years ago

Spammers tend to add their comments and trackbacks to old posts.

As a solution, we could limit the time period of comments and trackbacks' being added. I suggest two weeks as default, and make it active by default on next version upgrade and configurable by the users.

The post data model already has "can receive comments" / "can receive trackbacks" fields, so we can just automatically set those fields via a chronic task. To allow users to selectively enable comments and trackbacks for individual posts, we need another field (or another tri-state value to existing fields) to check whether they are disabled automatically or enabled manually.