Skip to content
This repository
Newer
Older
100644 142 lines (129 sloc) 4.069 kb
bfc4c5f0 » dietrichm
2004-02-27 Initial Commit.
1 <?php
2
c9b5378d » dietrichm
2004-11-02 OMG HUGE update. Check Changelog.txt. ;)
3 /*
f362a038 » dietrichm
2005-01-03 copyright update
4 Copyright (C) 2003-2005 UseBB Team
c9b5378d » dietrichm
2004-11-02 OMG HUGE update. Check Changelog.txt. ;)
5 http://www.usebb.net
6
7 $Header$
8
9 This file is part of UseBB.
10
11 UseBB is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
15
16 UseBB is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with UseBB; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 */
bfc4c5f0 » dietrichm
2004-02-27 Initial Commit.
25
75d17d7d » dietrichm
2005-09-15 Added DocBlocks for phpDocumentator.
26 /**
27 * Configuration
28 *
29 * Contains configuration settings.
30 *
31 * @author UseBB Team
32 * @link http://www.usebb.net
33 * @license GPL-2
34 * @version $Revision$
35 * @copyright Copyright (C) 2003-2005 UseBB Team
36 * @package UseBB
37 */
38
c9b5378d » dietrichm
2004-11-02 OMG HUGE update. Check Changelog.txt. ;)
39 //
40 // Die when called directly in browser
41 //
42 if ( !defined('INCLUDED') )
43 exit();
44
45 //
46 // Initialize a new database configuration holder array
47 //
48 $dbs = array();
49
50 //
51 // Define database configuration
52 //
138b4229 » dietrichm
2005-07-21 Only variables can be passed by reference
53 $dbs['type'] = 'mysql';
bfc4c5f0 » dietrichm
2004-02-27 Initial Commit.
54 $dbs['server'] = 'localhost';
55 $dbs['username'] = 'usebb';
5e57a4d5 » dietrichm
2005-05-20 oops
56 $dbs['passwd'] = 'usebb';
0cd9c9e1 » dietrichm
2005-07-20 some adds
57 $dbs['dbname'] = 'usebb';
bfc4c5f0 » dietrichm
2004-02-27 Initial Commit.
58 $dbs['prefix'] = 'usebb_';
59
c9b5378d » dietrichm
2004-11-02 OMG HUGE update. Check Changelog.txt. ;)
60 //
61 // Initialize a new configuration holder array
62 //
63 $conf = array();
64
65 //
66 // Define configuration
67 //
dbc31b69 » dietrichm
2005-07-24 typo
68 $conf['active_topics_count'] = 25;
b0561f97 » dietrichm
2005-08-22 this is 0.6. release follows soon
69 $conf['admin_email'] = 'example@example.net';
7ceccd68 » dietrichm
2004-11-03 Added feature 1055684: Hide avatars/signatures setting.
70 $conf['allow_multi_sess'] = 1;
11df2df9 » dietrichm
2005-03-30 Added force avatars width and height config settings.
71 $conf['avatars_force_width'] = 65;
72 $conf['avatars_force_height'] = 65;
389a1ca5 » dietrichm
2005-05-20 lang updates
73 $conf['board_closed'] = 0;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
74 $conf['board_closed_reason'] = 'Just closed...';
889443ad » dietrichm
2005-01-06 default config file
75 $conf['board_descr'] = 'My board\'s description';
ccd88453 » dietrichm
2005-06-23 Added keywords config and description and keywords meta-tags.
76 $conf['board_keywords'] = 'forum,board,community,usebb';
889443ad » dietrichm
2005-01-06 default config file
77 $conf['board_name'] = 'My Community';
07212eb4 » dietrichm
2005-04-10 Auto detect board URL and cookie path if set to empty.
78 $conf['board_url'] = '';
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
79 $conf['cookie_domain'] = '';
80 $conf['cookie_path'] = '';
81 $conf['cookie_secure'] = 0;
82 $conf['date_format'] = 'D M d, Y g:i a';
a91b9f81 » dietrichm
2005-09-18 0.7 beta 1
83 $conf['debug'] = 1;
0719a0c3 » dietrichm
2005-03-23 Added feature #358: Disable sending information e-mails.
84 $conf['disable_info_emails'] = 0;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
85 $conf['dst'] = 0;
86 $conf['email_view_level'] = 1;
55fb55c8 » dietrichm
2005-08-26 enable_acp_modules config option
87 $conf['enable_acp_modules'] = 1;
b75a18fc » dietrichm
2005-03-12 seperated name from url
88 $conf['enable_contactadmin'] = 1;
bebd97ed » dietrichm
2005-03-13 Added detailed online list.
89 $conf['enable_detailed_online_list'] = 1;
c54e6d5b » dietrichm
2005-04-10 Added ability to disable or limit viewing rights of the stats box + f…
90 $conf['enable_forum_stats_box'] = 1;
bebd97ed » dietrichm
2005-03-13 Added detailed online list.
91 $conf['enable_memberlist'] = 1;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
92 $conf['enable_quickreply'] = 1;
bebd97ed » dietrichm
2005-03-13 Added detailed online list.
93 $conf['enable_rss'] = 1;
94 $conf['enable_stafflist'] = 1;
95 $conf['enable_stats'] = 1;
4b2bc662 » dietrichm
2005-07-25 board config
96 $conf['exclude_forums_active_topics'] = array ();
97 $conf['exclude_forums_rss'] = array ();
2c019103 » dietrichm
2005-07-25 optimization
98 $conf['exclude_forums_stats'] = array ();
4e148be9 » dietrichm
2005-04-20 Added flood protection.
99 $conf['flood_interval'] = 30;
7a865244 » dietrichm
2005-09-19 Fixed missing friendly URL for "mark all as read".
100 $conf['friendly_urls'] = 1;
7ceccd68 » dietrichm
2004-11-03 Added feature 1055684: Hide avatars/signatures setting.
101 $conf['guests_can_access_board'] = 1;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
102 $conf['guests_can_view_profiles'] = 1;
103 $conf['hide_avatars'] = 0;
104 $conf['hide_signatures'] = 0;
560e633e » dietrichm
2005-09-13 slight rewrite to fix the missing config setting warnings
105 $conf['hide_undefined_config_setting_warnings'] = 1;
55f2ecc4 » dietrichm
2005-04-28 Added ability to hide warnings for configuration and template parser.
106 $conf['hide_undefined_template_setting_warnings'] = 0;
107 $conf['hide_undefined_template_warnings'] = 0;
dc0ac3ae » dietrichm
2005-01-05 hide userinfo default setting
108 $conf['hide_userinfo'] = 0;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
109 $conf['language'] = 'English';
dd48e605 » dietrichm
2005-04-25 changed paging
110 $conf['members_per_page'] = 25;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
111 $conf['online_min_updated'] = 30;
07c789a3 » dietrichm
2005-08-27 Fixed bad styles on quote in preview box.
112 $conf['output_compression'] = 2;
53185b11 » dietrichm
2005-03-11 password min length && panel al friendly url fix
113 $conf['passwd_min_length'] = 8;
dfff6fe4 » dietrichm
2005-01-26 tpl improvements
114 $conf['posts_per_page'] = 25;
30dc5304 » dietrichm
2005-03-14 Added Google's rel=nofollow for links in BBCode (globally adjustable).
115 $conf['rel_nofollow'] = 0;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
116 $conf['return_to_topic_after_posting'] = 1;
51b1d6fb » dietrichm
2005-05-04 apart rss items count
117 $conf['rss_items_count'] = 25;
4d891f38 » dietrichm
2005-08-05 Limit search results to x items.
118 $conf['search_limit_results'] = 1000;
df3a5eea » dietrichm
2005-06-30 Added feature which excludes too short words from the search keywords.
119 $conf['search_nonindex_words_min_length'] = 3;
bbf123b2 » dietrichm
2004-11-09 sess_max_lifetime -> session_max_lifetime
120 $conf['session_max_lifetime'] = 60;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
121 $conf['session_name'] = 'usebb';
cde346a2 » dietrichm
2005-03-02 Fixed bug #336: Problems on SF.net.
122 $conf['session_save_path'] = '';
aead24cf » dietrichm
2005-05-21 Added show edit post message timeout.
123 $conf['show_edited_message_timeout'] = 60;
7ceccd68 » dietrichm
2004-11-03 Added feature 1055684: Hide avatars/signatures setting.
124 $conf['sig_allow_bbcode'] = 1;
125 $conf['sig_allow_smilies'] = 1;
fbb0b641 » dietrichm
2005-09-03 Added max signature length.
126 $conf['sig_max_length'] = 500;
d323121a » dietrichm
2005-06-11 fixes for single_forum_mode
127 $conf['single_forum_mode'] = 1;
7ceccd68 » dietrichm
2004-11-03 Added feature 1055684: Hide avatars/signatures setting.
128 $conf['target_blank'] = 0;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
129 $conf['template'] = 'default';
130 $conf['timezone'] = 0;
e4dd1fa7 » dietrichm
2005-03-31 Added topic review feature.
131 $conf['topicreview_posts'] = 5;
ea3c07a9 » dietrichm
2005-01-05 25 tpp
132 $conf['topics_per_page'] = 25;
03a73700 » dietrichm
2005-01-05 fixed some bugs + saltcode protection
133 $conf['users_must_activate'] = 1;
c5e8d9e7 » dietrichm
2005-08-23 0.6
134 $conf['view_detailed_online_list_min_level'] = 0;
4f64c98c » dietrichm
2005-04-10 many fixes
135 $conf['view_forum_stats_box_min_level'] = 0;
4d2d94ca » dietrichm
2004-11-09 Alphabetically sorted and quotes around integers deleted.
136 $conf['view_hidden_email_addresses_min_level'] = 3;
4f64c98c » dietrichm
2005-04-10 many fixes
137 $conf['view_memberlist_min_level'] = 0;
138 $conf['view_stafflist_min_level'] = 0;
af9836b1 » dietrichm
2005-04-30 added start of stats page
139 $conf['view_stats_min_level'] = 0;
140 $conf['view_contactadmin_min_level'] = 0;
889443ad » dietrichm
2005-01-06 default config file
141
c02bbd55 » dietrichm
2005-02-18 dunno how that came
142 ?>
Something went wrong with that request. Please try again.