mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
remove |starred| from topnav default options
This commit is contained in:
parent
86c13ada44
commit
6953923a03
4 changed files with 20 additions and 20 deletions
|
@ -83,7 +83,7 @@ basic:
|
|||
client: true
|
||||
refresh: true
|
||||
type: list
|
||||
default: 'latest|new|unread|starred|top|categories'
|
||||
default: 'latest|new|unread|top|categories'
|
||||
choices:
|
||||
- latest
|
||||
- new
|
||||
|
|
|
@ -25,11 +25,11 @@ You can also specify custom CSS and custom HTML headers/footers to further custo
|
|||
```
|
||||
<div id="top-navbar" class="container">
|
||||
<span id="top-navbar-links" style="height:20px;">
|
||||
<a href="http://example.com">Home</a> |
|
||||
<a href="http://example.com/about/">About</a> |
|
||||
<a href="http://example.com/news/">News</a> |
|
||||
<a href="http://example.com/products/">Products</a> |
|
||||
<a href="http://blog.example.com/blog">Blog</a> |
|
||||
<a href="http://example.com">Home</a> |
|
||||
<a href="http://example.com/about/">About</a> |
|
||||
<a href="http://example.com/news/">News</a> |
|
||||
<a href="http://example.com/products/">Products</a> |
|
||||
<a href="http://blog.example.com/blog">Blog</a> |
|
||||
<a href="http://forums.example.com/">Forums</a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -39,8 +39,8 @@ You can also specify custom CSS and custom HTML headers/footers to further custo
|
|||
|
||||
Staff members are official representatives of this community. There are two kinds of Staff:
|
||||
|
||||
1. **Admins**, who can do anything and configure anything on this site.
|
||||
2. **Moderators**, who can edit all posts and users, but cannot add categories or change any site settings.
|
||||
1. **Admins**, who can do anything and configure anything on this site.
|
||||
2. **Moderators**, who can edit all posts and users, but cannot add categories or change any site settings.
|
||||
|
||||
You may want to grant other users staff abilities – to do so click the admin button :wrench: on their user page, then look for the grant buttons.
|
||||
|
||||
|
@ -69,7 +69,7 @@ If you want to get extra-fancy you can also [set up single-sign on](https://meta
|
|||
|
||||
Email is required for new account signups and notifications. **Test your email to make sure it is configured correctly!** Visit [the admin email settings](/admin/email), then enter an email address in the "email address to test" field and click <kbd>send test email</kbd>.
|
||||
|
||||
- You got the test email? Great! **Read that email closely**, it has important email deliverability tips.
|
||||
- You got the test email? Great! **Read that email closely**, it has important email deliverability tips.
|
||||
- You didn't get the test email? This means your users probably aren't getting any signup or notification emails either.
|
||||
|
||||
Email deliverability can be hard. We strongly recommend using dedicated email services like [Mandrill](http://mandrill.com), [MailGun](http://www.mailgun.com/), or [MailJet](http://www.mailjet.com/), which offer generous free plans that work fine for most communities.
|
||||
|
@ -106,13 +106,13 @@ We strongly recommend sticking with this homepage for small and medium communiti
|
|||
|
||||
You can change the homepage to the Categories list by editing `top menu` in the [Basic Setup](/admin/site_settings/category/basic) site settings. Change it from the default of
|
||||
|
||||
`latest|new|unread|starred|top|categories`
|
||||
`latest|new|unread|top|categories`
|
||||
|
||||
to
|
||||
|
||||
`categories|latest|new|unread|starred|top`
|
||||
`categories|latest|new|unread|top`
|
||||
|
||||
That is, move categories from the far right to the far left -- that leftmost top menu item is your default homepage.
|
||||
That is, move categories from the far right to the far left -- that leftmost top menu item is your default homepage.
|
||||
|
||||
### Build Your Own FAQ
|
||||
|
||||
|
@ -128,7 +128,7 @@ However, if you want to set up a more detailed FAQ dealing with the specifics of
|
|||
|
||||
4. Paste that URL into the `faq url` setting in the admin site settings. This links your topic from the hamburger FAQ menu entry at the top right of every page.
|
||||
|
||||
Now you have a community FAQ for your site that is collaboratively editable, and linked from every page on the site.
|
||||
Now you have a community FAQ for your site that is collaboratively editable, and linked from every page on the site.
|
||||
|
||||
### Categories
|
||||
|
||||
|
@ -157,7 +157,7 @@ Basic image uploads work fine out of the box stored locally, provided you have a
|
|||
|
||||
If your discussion area is be open to the public, new visitors will arrive that are initially strangers to the community. Discourse has a [trust system](https://meta.discourse.org/t/what-do-user-trust-levels-do/4924/2) where users can, over time, earn the trust of the community and gain abilities to assist in governing their community.
|
||||
|
||||
Discourse is designed to offer safe defaults for public communities, even with no active moderation.
|
||||
Discourse is designed to offer safe defaults for public communities, even with no active moderation.
|
||||
|
||||
> **0 (new) → 1 (basic) → 2 (member) → 3 (regular) → 4 (leader)**
|
||||
|
||||
|
@ -185,7 +185,7 @@ Out of the box, Discourse defaults to [Creative Commons licensing](https://creat
|
|||
> Your users will always retain copyright on their posts, and will always grant the site owner enough rights to include their content on the site.
|
||||
>
|
||||
> Who is allowed to republish the content posted on this forum?
|
||||
>
|
||||
>
|
||||
> 1. Only the author
|
||||
> 2. Author and the owner of this forum
|
||||
> 3. Anybody\*
|
||||
|
@ -211,7 +211,7 @@ One way to get people to visit your site is to invite them via email. You can do
|
|||
|
||||
- The Invite button at the bottom of the topic.
|
||||
- The Invite area on your profile page.
|
||||
|
||||
|
||||
The invite area on your profile page also includes advanced Staff methods of [sending bulk invites](https://meta.discourse.org/t/sending-bulk-user-invites/16468), and [inviting users into groups](https://meta.discourse.org/t/invite-individual-users-to-a-group/15544).
|
||||
|
||||
### Maintenance
|
||||
|
@ -225,8 +225,8 @@ The invite area on your profile page also includes advanced Staff methods of [se
|
|||
- Some other things you might eventually want to set up:
|
||||
- [Automatic daily backups](https://meta.discourse.org/t/configure-automatic-backups-for-discourse/14855)
|
||||
- [HTTPS support](https://meta.discourse.org/t/allowing-ssl-for-your-discourse-docker-setup/13847)
|
||||
- [Content Delivery Network support](https://meta.discourse.org/t/enable-a-cdn-for-your-discourse/14857)
|
||||
- [Reply via Email](https://meta.discourse.org/t/set-up-reply-via-email-support/14003)
|
||||
- [Content Delivery Network support](https://meta.discourse.org/t/enable-a-cdn-for-your-discourse/14857)
|
||||
- [Reply via Email](https://meta.discourse.org/t/set-up-reply-via-email-support/14003)
|
||||
- [Import and Export your data](https://meta.discourse.org/t/move-your-discourse-instance-to-a-different-server/15721)
|
||||
- [Change the domain name](https://meta.discourse.org/t/how-do-i-change-the-domain-name/16098)
|
||||
- [Multiple Discourse instances on the same server](https://meta.discourse.org/t/multisite-configuration-with-docker/14084)
|
||||
|
|
|
@ -8,7 +8,7 @@ describe ListController do
|
|||
@post = Fabricate(:post, user: @user)
|
||||
|
||||
# forces tests down some code paths
|
||||
SiteSetting.stubs(:top_menu).returns('latest,-video|new|unread|starred|categories|category/beer')
|
||||
SiteSetting.stubs(:top_menu).returns('latest,-video|new|unread|categories|category/beer')
|
||||
end
|
||||
|
||||
describe 'indexes' do
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
/*jshint maxlen:10000000 */
|
||||
Discourse.SiteSettingsOriginal = {"title":"Discourse Meta","logo_url":"/assets/logo.png","logo_small_url":"/assets/logo-single.png","mobile_logo_url":"","favicon_url":"//meta.discourse.org/uploads/default/2499/79d53726406d87af.ico","allow_user_locale":false,"suggested_topics":7,"track_external_right_clicks":false,"ga_universal_tracking_code":"","ga_universal_domain_name":"auto","ga_tracking_code":"UA-33736483-2","ga_domain_name":"","top_menu":"latest|new|unread|starred|categories|top","post_menu":"like|share|flag|edit|bookmark|delete|admin|reply","post_menu_hidden_items":"edit|delete|admin","share_links":"twitter|facebook|google+|email","category_colors":"BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890","enable_mobile_theme":true,"relative_date_duration":14,"category_featured_topics":4,"fixed_category_positions":false,"show_subcategory_list":false,"enable_badges":true,"invite_only":false,"login_required":false,"must_approve_users":false,"enable_local_logins":true,"allow_new_registrations":true,"enable_google_logins":true,"enable_google_oauth2_logins":false,"enable_yahoo_logins":true,"enable_twitter_logins":true,"enable_facebook_logins":true,"enable_github_logins":true,"enable_sso":false,"min_username_length":3,"max_username_length":20,"min_password_length":8,"enable_names":true,"invites_shown":30,"delete_user_max_post_age":60,"delete_all_posts_max":15,"min_post_length":20,"min_private_message_post_length":10,"max_post_length":32000,"min_topic_title_length":15,"max_topic_title_length":255,"min_private_message_title_length":2,"allow_uncategorized_topics":true,"min_title_similar_length":10,"min_body_similar_length":15,"edit_history_visible_to_public":true,"delete_removed_posts_after":24,"traditional_markdown_linebreaks":false,"suppress_reply_directly_below":true,"suppress_reply_directly_above":true,"newuser_max_images":0,"newuser_max_attachments":0,"display_name_on_posts":true,"short_progress_text_threshold":10000,"default_code_lang":"lang-auto","autohighlight_all_code":false,"email_in":false,"max_image_size_kb":3072,"max_attachment_size_kb":1024,"authorized_extensions":".jpg|.jpeg|.png|.gif|.svg|.txt|.ico|.yml","max_image_width":690,"max_image_height":500,"allow_profile_backgrounds":true,"allow_uploaded_avatars":true,"allow_animated_avatars":false,"tl1_requires_read_posts":30,"enable_long_polling":true,"polling_interval":3000,"anon_polling_interval":30000,"flush_timings_secs":5,"tos_url":"","privacy_policy_url":"","tos_accept_required":false,"faq_url":"","allow_restore":false,"maximum_backups":7,"version_checks":true,"suppress_uncategorized_badge":true,"min_search_term_length":3,"topic_views_heat_low":1000,"topic_views_heat_medium":2000,"topic_views_heat_high":5000,"global_notice":"","show_create_topics_notice":true,"available_locales":"cs|da|de|en|es|fr|he|id|it|ja|ko|nb_NO|nl|pl_PL|pt|pt_BR|ru|sv|uk|zh_CN|zh_TW"};
|
||||
Discourse.SiteSettingsOriginal = {"title":"Discourse Meta","logo_url":"/assets/logo.png","logo_small_url":"/assets/logo-single.png","mobile_logo_url":"","favicon_url":"//meta.discourse.org/uploads/default/2499/79d53726406d87af.ico","allow_user_locale":false,"suggested_topics":7,"track_external_right_clicks":false,"ga_universal_tracking_code":"","ga_universal_domain_name":"auto","ga_tracking_code":"UA-33736483-2","ga_domain_name":"","top_menu":"latest|new|unread|categories|top","post_menu":"like|share|flag|edit|bookmark|delete|admin|reply","post_menu_hidden_items":"edit|delete|admin","share_links":"twitter|facebook|google+|email","category_colors":"BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|283890","enable_mobile_theme":true,"relative_date_duration":14,"category_featured_topics":4,"fixed_category_positions":false,"show_subcategory_list":false,"enable_badges":true,"invite_only":false,"login_required":false,"must_approve_users":false,"enable_local_logins":true,"allow_new_registrations":true,"enable_google_logins":true,"enable_google_oauth2_logins":false,"enable_yahoo_logins":true,"enable_twitter_logins":true,"enable_facebook_logins":true,"enable_github_logins":true,"enable_sso":false,"min_username_length":3,"max_username_length":20,"min_password_length":8,"enable_names":true,"invites_shown":30,"delete_user_max_post_age":60,"delete_all_posts_max":15,"min_post_length":20,"min_private_message_post_length":10,"max_post_length":32000,"min_topic_title_length":15,"max_topic_title_length":255,"min_private_message_title_length":2,"allow_uncategorized_topics":true,"min_title_similar_length":10,"min_body_similar_length":15,"edit_history_visible_to_public":true,"delete_removed_posts_after":24,"traditional_markdown_linebreaks":false,"suppress_reply_directly_below":true,"suppress_reply_directly_above":true,"newuser_max_images":0,"newuser_max_attachments":0,"display_name_on_posts":true,"short_progress_text_threshold":10000,"default_code_lang":"lang-auto","autohighlight_all_code":false,"email_in":false,"max_image_size_kb":3072,"max_attachment_size_kb":1024,"authorized_extensions":".jpg|.jpeg|.png|.gif|.svg|.txt|.ico|.yml","max_image_width":690,"max_image_height":500,"allow_profile_backgrounds":true,"allow_uploaded_avatars":true,"allow_animated_avatars":false,"tl1_requires_read_posts":30,"enable_long_polling":true,"polling_interval":3000,"anon_polling_interval":30000,"flush_timings_secs":5,"tos_url":"","privacy_policy_url":"","tos_accept_required":false,"faq_url":"","allow_restore":false,"maximum_backups":7,"version_checks":true,"suppress_uncategorized_badge":true,"min_search_term_length":3,"topic_views_heat_low":1000,"topic_views_heat_medium":2000,"topic_views_heat_high":5000,"global_notice":"","show_create_topics_notice":true,"available_locales":"cs|da|de|en|es|fr|he|id|it|ja|ko|nb_NO|nl|pl_PL|pt|pt_BR|ru|sv|uk|zh_CN|zh_TW"};
|
||||
Discourse.SiteSettings = jQuery.extend(true, {}, Discourse.SiteSettingsOriginal);
|
||||
|
|
Loading…
Reference in a new issue