Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add site setting for Discourse Discover (#25266)

Penar Musarajd7a341c965d3
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 6223cb3b970..dad89046a21 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -1754,6 +1754,7 @@ en:
log_out_strict: "When logging out, log out ALL sessions for the user on all devices"
version_checks: "Ping the Discourse Hub for version updates and show new version messages on the <a href='%{base_path}/admin' target='_blank'>/admin</a> dashboard"
new_version_emails: "Send an email to the contact_email address when a new version of Discourse is available."
+ include_in_discourse_discover: "Let CDCK, Inc. (“Discourse”) feature this community on the Discover page and in Discourse marketing materials. By doing so, you will share community metadata and anonymized usage statistics with Discourse. Please note that the promotion of communities is at Discourse’s discretion."
invite_expiry_days: "How long user invitation keys are valid, in days"
diff --git a/config/site_settings.yml b/config/site_settings.yml
index 756714078e7..2cc30791f03 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -2534,6 +2534,8 @@ uncategorized:
version_checks:
client: true
default: true
+ include_in_discourse_discover:
+ default: false
new_version_emails: true
send_welcome_message: true