topcoder-platform / forums

0 stars 0 forks source link

Notes: Archived categories in Vanilla 3.X #473

Open atelomycterus opened 3 years ago

atelomycterus commented 3 years ago

@jmgasper I've checked how Vanilla works with archived categories. Groups plugin doesn't show archived groups but archived categories are displayed in Vanilla and users can post discussions/comments.

image

From the official documents (https://success.vanillaforums.com/kb/articles/8-category-configuration-management):

Archive This removes the category from the main index and prevents threads in the category from coming up in the site-based search. Archived Categories are still indexed by search engines and can prevent broken links.

Archived category still visible and users able to post [3.0.1]

We'll likely archive new groups by default and then unarchive them once the challenge actually launches

So need to manage it if a group is archived and user should see categories or post discussions/comments after launching challenges.

jmgasper commented 3 years ago

@atelomycterus - Thanks for that. We're working on archiving all old challenges, hopefully today. I wrote a little script to do that by pulling all groups and then checking the status of the corresponding challenge on the Topcoder v5 API.

jmgasper commented 3 years ago

@atelomycterus - I'm running the archive script in prod now, just so you're aware. It will archive 40-50% of groups on the prod deployment.