# Site-specific parameters module RForum CONFIG = { # Name of the forum site (e.g., 'Mikrocontoroller Forum') :site_name => 'RISC OS Open Forum', # All email generated by the forum will have this sender address :site_email => 'webmaster@riscosopen.org', # Hostname of this forum (used for messageids) :hostname => 'riscosopen.org', # See /public/skins/ for available skins. :skin => 'risc_os_open', # true: completely anonymous (no guest name) posting is # allowed (not recommended) :anon_posting_allowed => false, # true: only registered users can do anything other than read posts :guests_cannot_post => true, # See 'lang' directory for available languages :default_language => 'en', # Character sets to use for various purposes. You have to use the same # value for every setting at the moment. There should be no reson to use # anything else than utf-8, though. :nntp_charset => 'utf-8', :web_charset => 'utf-8', :db_charset => 'utf-8', :mail_charset => 'utf-8', :search_results_per_page => 40, :topics_per_page => 40, # Who should be allowed to see the email address of a user? # Possible values: # :noone (don't show email address) # :users (show email address to other registered users) # :everyone (show email address to everyone) :show_user_email_to => :noone, # Except admins # Should the forum send posts to the mailing list # (only if a forum has a list_address) :deliver_mail => true, :bounce_address => 'webmaster@riscosopen.org', :accept_mail_from_guests => true, # Path relative to root directory. :attachment_path => '/attachments', :max_attachment_size => 100.kilobytes, # Formatting of posts with quoting. # :simple is fixed with and with colored quoting levels # :new looks like messages in Mozilla Thunderbird :post_formatting => :simple, # When user forgets a password, RForum generates a security token that is # added to the URL and sent to the user by email. Such token allows the user to perform certain # security-sensitive activities without providing a password. This token will expire # after the number of hours specified by the parameter below. :security_token_life_hours => 24, :spam_filter_regex => /(cialis|viagra|xenical|valium|xanax|phentermine|hydrocodone|tramadol|alprazolam|carisoprodol|rivotril|narod\.ru|cymbalta|e-cigarette|ezigaretten\.com|billige zigaretten)/i, :use_sites => false } # Mailer configuration if RAILS_ENV != 'test' ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.raise_delivery_errors = false end # If you want tp configure RForum to work with SMTP server, # write the following in the site.rb: # require 'default_site' # ActionMailer::Base.delivery_method = :smtp # ActionMailer::Base.server_settings = { # :address => 'nautilus.spidernet.net', # replace with your SMTP server # :port => 25, # replace with your SMTP server's port # :domain => 'nautilus.spidernet.net', # replace with your HELO domain # :user_name => nil, # set if your SMTP server requires authentication # :password => nil, # set if your SMTP server requires authentication # :authentication => nil # set to true if your SMTP server requires authentication # } end