Archive feature
Does Vanilla forum archive contents?
Does it auto-archive?
If it does, what rule guides archiving of content?
Best Answer
-
R_J Admin
The description for what archived discussions are is quite exhaustive: "You can choose to archive forum discussions older than a certain date. Archived discussions are effectively closed, allowing no new posts." Your users will therefore not be allowed to post to archived discussions.
But "Exclude archived discussions from the discussions list" wouldn't do what you might expect. It excludes archived discussions whenever DiscussionModels get() method is used. Some plugins might use it, some other might not and ignore the archived date.
Even worse is that "/discussions" show all discussions but "/categories/discussions" does not.So that feature isn't suitable for speeding up your database.
6
Answers
Yes
probably not.
the rules change. Vanilla 2.1 and earlier was archived earlier this year. Now it isn't.
vanilla 1.0 is archived.
So the rule would most likely be, if the category is not something you want to appear in general, it is archived.
archived
https://vanillaforums.org/search?adv=1&search=vanilla&title=&author=Mark&cat=all&archived=1&tags=&discussion_d=1&discussion_question=1&comment_c=1&comment_answer=1&within=1+year&date=3/26/05
https://vanillaforums.org/discussion/59
same search not archived. notice the archive box is unchecked.
https://vanillaforums.org/search?adv=1&search=vanilla&title=&author=Mark&cat=all&tags=&discussion_d=1&discussion_question=1&comment_c=1&comment_answer=1&within=1+year&date=3/26/05
Counter-Question
why do you ask?
I can think of a reason to close to posting, but not archive...
Ideally, it would nice to close all discussions prior to 2.1 and earlier to prevent commenting or remove the permission from members to post in the discussion, and put a message out that says - start a new discussion, rather than commenting on old discussion.
when the category was archived but not closed - it was easy to hide, easy to spam, but hard to search.
https://vanillaforums.org/discussion/comment/241867/#Comment_241867
https://vanillaforums.org/discussion/30625/question-about-nesting-older-categories
I tried using the search feature for the documentation, but either there is none, or its not working for me.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
@River - does the archive feature kind of delete/hide or makes inaccessible discussions posted for some years? Is it how the archive works?
The archive feature hides the discussions from the recent discussions and the "normal" viewing of a category.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Hi Guys,
Can you explain more about the "archive feature"? I couldn't find any documentation on it.
We have over 24k discussions and 198k comments, so from a performance and size perspective it makes sense to archive some of this. We have "slow query" logging enabled on our servers and can see that garden queries are getting slower.
The description for what archived discussions are is quite exhaustive: "You can choose to archive forum discussions older than a certain date. Archived discussions are effectively closed, allowing no new posts." Your users will therefore not be allowed to post to archived discussions.
But "Exclude archived discussions from the discussions list" wouldn't do what you might expect. It excludes archived discussions whenever DiscussionModels get() method is used. Some plugins might use it, some other might not and ignore the archived date.
Even worse is that "/discussions" show all discussions but "/categories/discussions" does not.
So that feature isn't suitable for speeding up your database.