Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 27
- Log:
Updated live RForum installation to use SVN sources rather than the
intermediate stuff it was on before. Accordingly, updated the site
configuration file.
- Author:
- adh
- Date:
- Thu Jul 27 22:26:50 +0100 2006
- Size:
- 3432 Bytes
1 | # Site-specific parameters |
2 | module RForum |
3 | |
4 | CONFIG = { |
5 | |
6 | # Name of the forum site (e.g., 'Mikrocontoroller Forum') |
7 | :site_name => 'RISC OS Open Forum', |
8 | |
9 | # All email generated by the forum will have this sender address |
10 | :site_email => 'rforum@pond.org.uk', |
11 | |
12 | # Hostname of this forum (used for messageids) |
13 | :hostname => 'pond.org.uk', |
14 | |
15 | # See /public/skins/ for available skins. |
16 | :skin => 'risc_os_open', |
17 | |
18 | # true: completely anonymous (no guest name) posting is |
19 | # allowed (not recommended) |
20 | :anon_posting_allowed => false, |
21 | |
22 | # true: only registered users can do anything other than read posts |
23 | :guests_cannot_post => true, |
24 | |
25 | # See 'lang' directory for available languages |
26 | :default_language => 'en', |
27 | |
28 | # Character sets to use for various purposes. You have to use the same |
29 | # value for every setting at the moment. There should be no reson to use |
30 | # anything else than utf-8, though. |
31 | :nntp_charset => 'utf-8', |
32 | :web_charset => 'utf-8', |
33 | :db_charset => 'utf-8', |
34 | :mail_charset => 'utf-8', |
35 | |
36 | :search_results_per_page => 40, |
37 | |
38 | :topics_per_page => 40, |
39 | |
40 | # Who should be allowed to see the email address of a user? |
41 | # Possible values: |
42 | # :noone (don't show email address) |
43 | # :users (show email address to other registered users) |
44 | # :everyone (show email address to everyone) |
45 | :show_user_email_to => :users, |
46 | |
47 | # Should the forum send posts to the mailing list |
48 | # (only if a forum has a list_address) |
49 | :deliver_mail => true, |
50 | :bounce_address => 'ahodgkin@rowing.org.uk', |
51 | |
52 | :accept_mail_from_guests => true, |
53 | |
54 | # Path relative to root directory. |
55 | :attachment_path => '/attachments', |
56 | |
57 | :max_attachment_size => 100.kilobytes, |
58 | |
59 | # Formatting of posts with quoting. |
60 | # :simple is fixed with and with colored quoting levels |
61 | # :new looks like messages in Mozilla Thunderbird |
62 | :post_formatting => :simple, |
63 | |
64 | # When user forgets a password, RForum generates a security token that is |
65 | # added to the URL and sent to the user by email. Such token allows the user to perform certain |
66 | # security-sensitive activities without providing a password. This token will expire |
67 | # after the number of hours specified by the parameter below. |
68 | :security_token_life_hours => 24, |
69 | |
70 | :spam_filter_regex => /(cialis|viagra|xenical|valium|xanax|phentermine|hydrocodone|casino|tramadol|ambien|impressive|congratulations|alprazolam|carisoprodol|rivotril|narod\.ru|href=|cymbalta|great design|adult|online store|gambling|world of warcraft|porn|\[url|<\/a>|e-cigarette|ezigaretten\.com|billige zigaretten)/i, |
71 | |
72 | :use_sites => false |
73 | } |
74 | |
75 | # Mailer configuration |
76 | if RAILS_ENV != 'test' |
77 | ActionMailer::Base.delivery_method = :sendmail |
78 | ActionMailer::Base.raise_delivery_errors = false |
79 | end |
80 | |
81 | # If you want tp configure RForum to work with SMTP server, |
82 | # write the following in the site.rb: |
83 | # require 'default_site' |
84 | # ActionMailer::Base.delivery_method = :smtp |
85 | # ActionMailer::Base.server_settings = { |
86 | # :address => 'nautilus.spidernet.net', # replace with your SMTP server |
87 | # :port => 25, # replace with your SMTP server's port |
88 | # :domain => 'nautilus.spidernet.net', # replace with your HELO domain |
89 | # :user_name => nil, # set if your SMTP server requires authentication |
90 | # :password => nil, # set if your SMTP server requires authentication |
91 | # :authentication => nil # set to true if your SMTP server requires authentication |
92 | # } |
93 | end |