I have just recently noticed the “Discourse Trust Level” and I am curious to know how it works and how do you get specific ranks.
You will find a general description of the Discourse trust levels under this link. I am not sure if they are implemented 1:1 in the Stonehearth forum, as they have been added recently to my knowledge.
The trust levels were around with the beginning of the Stonehearth Discourse, but as you’ve said I’m not sure if they’re 1:1. So unfortunately I can’t cast any further light on the situation!
Ah, ok. I thought this was one of the features introduced with the transition of Discourse to the new hosting space.
Nope, was always there! Although how you get to ‘leader’ I have no idea …
Xavion
June 11, 2013, 12:08pm
6
I’m nearly certain that leaders aren’t currently implemented, due to both that linked thread and the following which suggests they haven’t implemented the settings yet.
require 'site_setting_extension'
require_dependency 'site_settings/yaml_loader'
class SiteSetting < ActiveRecord::Base
extend SiteSettingExtension
validates_presence_of :name
validates_presence_of :data_type
after_save do |site_setting|
DiscourseEvent.trigger(:site_setting_saved, site_setting)
true
end
def self.load_settings(file)
SiteSettings::YamlLoader.new(file).load do |category, name, default, opts|
setting(name, default, opts.merge(category: category))
end
end
load_settings(File.join(Rails.root, 'config', 'site_settings.yml'))
setup_deprecated_methods
unless Rails.env.test? && ENV['LOAD_PLUGINS'] != "1"
Dir[File.join(Rails.root, "plugins", "*", "config", "settings.yml")].each do |file|
load_settings(file)
end
end
client_settings << :available_locales
def self.available_locales
LocaleSiteSetting.values.to_json
end
def self.topic_title_length
min_topic_title_length..max_topic_title_length
end
def self.private_message_title_length
min_private_message_title_length..max_topic_title_length
end
def self.post_length
min_post_length..max_post_length
end
def self.first_post_length
min_first_post_length..max_post_length
end
def self.private_message_post_length
min_private_message_post_length..max_post_length
end
def self.top_menu_items
top_menu.split('|').map { |menu_item| TopMenuItem.new(menu_item) }
end
def self.homepage
top_menu_items[0].name
end
def self.anonymous_menu_items
@anonymous_menu_items ||= Set.new Discourse.anonymous_filters.map(&:to_s)
end
def self.anonymous_homepage
top_menu_items.map { |item| item.name }
.select { |item| anonymous_menu_items.include?(item) }
.first
end
def self.should_download_images?(src)
setting = disabled_image_download_domains
return true unless setting.present?
host = URI.parse(src).host
return !(setting.split('|').include?(host))
rescue URI::InvalidURIError
return true
end
def self.scheme
force_https? ? "https" : "http"
end
def self.default_categories_selected
[
SiteSetting.default_categories_watching.split("|"),
SiteSetting.default_categories_tracking.split("|"),
SiteSetting.default_categories_muted.split("|"),
SiteSetting.default_categories_watching_first_post.split("|")
].flatten.to_set
end
def self.min_redirected_to_top_period(duration)
period = ListController.best_period_with_topics_for(duration)
return period if period
# not enough topics
nil
end
def self.email_polling_enabled?
SiteSetting.manual_polling_enabled? || SiteSetting.pop3_polling_enabled?
end
def self.attachment_content_type_blacklist_regex
@attachment_content_type_blacklist_regex ||= Regexp.union(SiteSetting.attachment_content_type_blacklist.split("|"))
end
def self.attachment_filename_blacklist_regex
@attachment_filename_blacklist_regex ||= Regexp.union(SiteSetting.attachment_filename_blacklist.split("|"))
end
# helpers for getting s3 settings that fallback to global
class Upload
def self.s3_cdn_url
SiteSetting.enable_s3_uploads ? SiteSetting.s3_cdn_url : GlobalSetting.s3_cdn_url
end
def self.s3_region
SiteSetting.enable_s3_uploads ? SiteSetting.s3_region : GlobalSetting.s3_region
end
def self.s3_upload_bucket
SiteSetting.enable_s3_uploads ? SiteSetting.s3_upload_bucket : GlobalSetting.s3_bucket
end
def self.enable_s3_uploads
SiteSetting.enable_s3_uploads || GlobalSetting.use_s3?
end
def self.absolute_base_url
bucket = SiteSetting.enable_s3_uploads ? Discourse.store.s3_bucket_name : GlobalSetting.s3_bucket
# cf. http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
if SiteSetting.Upload.s3_region == "us-east-1"
"//#{bucket}.s3.amazonaws.com"
elsif SiteSetting.Upload.s3_region == 'cn-north-1'
"//#{bucket}.s3.cn-north-1.amazonaws.com.cn"
else
"//#{bucket}.s3-#{SiteSetting.Upload.s3_region}.amazonaws.com"
end
end
end
def self.Upload
SiteSetting::Upload
end
end
# == Schema Information
#
# Table name: site_settings
#
# id :integer not null, primary key
# name :string(255) not null
# data_type :integer not null
# value :text
# created_at :datetime not null
# updated_at :datetime not null
#
1 Like
Oh man, you don’t even want to know what my time spent reading posts is.
i know… and im impressed… but you must have some sort of screen reading software running…
i call shenanigans !
Me and you. Thunderdome. Now.
Is there a way to find out how long I’ve been reading posts? also I think by now my regular looks more like hermit as I live on here,lol
im not sure if you have access to a similar screen, but we have an admin screen which shows details like Topics Entered, Posts Read and Read Time… in your case, those values are:
197 - 1566 - 11h (respectively)
cool, thank you, think 11 hours is the longest I’ve ever been on one forum
My read time is probably pretty low, since I created this account only after I had read virtually everything and decided I finally wanted to start replying to things
it looks like your sitting at 1h … but thats one hour of complete and total SH awesomeness… :rage3:
1 Like
ohhh @SteveAdamo do me, do me!
(and by that I mean ‘Topics Entered, Posts Read and Read Time’)
Unless it shows an unhealthy attachment to the forum
it does indeed… welcome to the club! :wink2:
in your case, you have:
99 Topics Entered, 2099 Posts Read and 9h Read Time
I think we need to start a no-context category.
screams “off topic” to me… or, “the topic that dare not speak its name”
You seem off-topic. Get back on before I delete your post.
1 Like
snowy
July 22, 2013, 9:42am
20
how bout me? what is my "topics entered, posts read, read time"
i looked for the screen/button thing but couldn’t find it!