001 'mail', // can be one of 'mail', 'sendmail', 'smtp' 184 185 // sendmail parameters (only needed for 'backend' => 'sendmail') 186 'sendmail_path' => '/usr/bin/sendmail', 187 'sendmail_args' => '', 188 189 // SMTP parameters (only needed for 'backend' => 'smtp') 190 'host' => 'smtp.example.com', 191 'port' => '25', 192 'auth' => false, 193 'username' => 'smtp-username', 194 'password' => 'smtp-password' 195 ); 196 197 // +---------------------------------------------------------------------------+ 198 // | OTHER DATABASE SETTINGS | 199 // | | 200 // | Database type and database backup settings. | 201 // +---------------------------------------------------------------------------+ 202 203 $_DB_dbms = 'mysql'; // Do not change (currently, only MySQL is supported) // デフォルト:mysql 変更できません! Geeklog は MySQL のデータベースのみを利用しています。 204 205 // optional settings for making database backups from within Geeklog 206 // 一般的にレンタルサーバでは、モジュール版mysqldumpが使えないので 207 // 0 off にします。 208 //$_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off 209 $_CONF['allow_mysqldump'] = 0; // 1 = on, 0 = off // デフォルト:1 一般的にレンタルサーバでは、モジュール版mysqldumpが使えないので0 off にします。(1 = on, 0 = off) 210 211 // full path to mysqldump executable (Windows users: add ".exe"!) 212 $_DB_mysqldump_path = '/usr/bin/mysqldump'; // デフォルト:/usr/bin/mysqldump ギークログデータベースバックアップのためのmysqldump ユーティリティへのパス(part of MySQL) 213 214 // additional options for mysqldump 215 // If you're using InnoDB tables, include the '--single-transaction' or you 216 // may end up with inconsistent backups! 217 $_CONF['mysqldump_options'] = '-Q'; // デフォルト:-Q Geeklog ユーザーのバックアップの追加オプションをmysqldump に含ませることができる。 218 219 // +---------------------------------------------------------------------------+ 220 // | SITE SETTINGS | 221 // | | 222 // | These settings help define your Geeklog site. | 223 // +---------------------------------------------------------------------------+ 224 $_CONF['theme'] = '*****'; // default theme // デフォルト:professional "サイトのデフォルトのテーマ名。テーマ名はディレクトリ名となる。 例)http://***/layout/professional/" 225 226 // List of entries that you want to see in the site's menu bar (if you're using 227 // a theme that uses the {menu_elements} variable in its header.thtml). 228 // Choose any combination of the following (order here = order in the menu). 229 $_CONF['menu_elements'] = array // デフォルト:array('contribute', 'calendar', 'search', 'stats', 'directory', 'plugins') サイトメニューバーに表示するエントリを指定します。(利用するテーマが{menu_elements}変数をメニューバーの表示に使っているとき)。'home', 'contribute', 'calendar', 'search', 'directory', 'prefs', 'plugins', 'custom' のどの組み合わせでもよいです。 'plugins' は{plg_menu_elements} 変数と同じです。また 'custom' は、CUSTOM_menuEntries 関数の返す文字列を表示します。(詳細はlib-custom.php参照) (詳細は lib-custom.php 参照) 230 ( 231 'home', // ホーム link to homepage 232 'contribute', // 記事を書く contribute / "submit a story" link 233 'calendar', // カレンダ link to the site calendar 234 'search', // 複雑な検索 link to advanced search 235 'stats', // アクセス情報 link to site stats 236 'directory', // 記事の一覧 link to list of past stories 237 'prefs', // アカウント情報 link to user's preferences 238 'plugins' // プラグイン links added by plugins, like {plg_menu_elements} 239 // 'custom' // for custom links (see lib-custom.php) 240 ); 241 242 243 244 // you shouldn't need to edit the following 245 $_CONF['layout_url'] = $_CONF['site_url'] . '/layout/' . $_CONF['theme']; // デフォルト:$_CONF['site_url'] . '/layout/' . $_CONF['theme'] デフォルトのレイアウトディレクトリへのパス。 246 $_CONF['path_themes'] = $_CONF['path_html'] . 'layout/'; // デフォルト:/path/to/geeklog/public_html/layout/ レイアウトディレクトリへのパス。 247 $_CONF['path_layout'] = $_CONF['path_themes'] . $_CONF['theme'] . '/'; // デフォルト:/path/to/geeklog/public_html/layout/professional/ カレントテーマディレクトリへのパス。 248 249 // stops new registrations if set to true. 250 //@@@@@ ユーザの新規登録を許可するならfalse (1.4.0からの機能) 251 //@@@@@ ユーザの新規登録を許可しないならtrue 252 $_CONF['disable_new_user_registration'] = false; // デフォルト:FALSE false:ユーザの新規登録を許可 true:ユーザの新規登録を許可しないなら(1.4.0からの機能) 253 254 // optional settings (1 = on, 0 = off) 255 $_CONF['allow_user_themes'] = 1; // デフォルト:Can be 1 or 0 1:ユーザーがテーマを選べる。0:選べない。 256 $_CONF['allow_user_language'] = 1; // デフォルト:Can be 1 or 0 1:ユーザーが言語ファイルを選べる。0:選べない。 257 $_CONF['allow_user_photo'] = 1; // allow users to upload self-photo // デフォルト:Can be 1 or 0 1:ユーザーがプロファイルページのアバター写真をアップできる。0:アップできない。 258 259 // Allow users to change their username (if set to 1). 260 //@@@@@ ユーザが自分でユーザー名を変更できるようにするなら1 261 $_CONF['allow_username_change'] = 1; // デフォルト:0 ユーザが自分でユーザー名(ログイン名)を変更できるようにするなら1 (古いユーザー名の下で掲示される記事とコメントは、自動的に新しく変更されたユーザー名で表示される。) 262 263 // Allow users to delete their account (if set to 1). 264 //@@@@@ ユーザが自分でアカウントを削除できるようにするなら1 265 $_CONF['allow_account_delete'] = 1; // デフォルト:0 ユーザが自分でアカウントを削除できるようにするなら1 (削除した場合、記事やコメントはゲストユーザーの発言となる。) 266 267 // hides the list of authors from the preferences 268 $_CONF['hide_author_exclusion'] = 0; // デフォルト:Can be 1 or 0 true設定時はユーザ設定画面で「読みたくない投稿者名をチェックする」オプションを隠します。 269 270 // Used by COM_displayName to return Members's Full Name else username (1 = yes, 0 = no) 271 //@@@@@ Who's Online に表示される名前を本名にするなら1ユーザー名にするなら0 272 $_CONF['show_fullname'] = 0; 273 274 // Used by COM_displayName to return users remote login service, if they have one. 275 $_CONF['show_servicename'] = true; // Set to false to not show it. // デフォルト:TRUE (BloggerやLiveJournalなどの)リモートログインを許可する際に、同名のサイトのユーザと混同しないように、サービス名をユーザ名に付加するオプションです。 falseを設定すると無効になります。 276 277 // +---------------------------------------------------------------------------+ 278 // | Support for custom user registration form and account details | 279 // | Requires custom functions to be written that can be placed in lib-custom | 280 // | Function hooks are in users.php, usersettings.php and admin/user.php | 281 // +---------------------------------------------------------------------------+ 282 $_CONF['custom_registration'] = false; // Set to true if you have custom code 283 284 // +---------------------------------------------------------------------------+ 285 // | Support for remote authentication of users, i.e. logging in via other | 286 // | supported remote servers. Requires custom classes in: | 287 // | system/classes/authentication/ | 288 // +---------------------------------------------------------------------------+ 289 //@@@@@Blogger.comやLiveJournalの登録ユーザーは、 290 //登録しなくてもログインできるようにするには true 291 $_CONF['remoteauthentication'] = false; // Set to true to enable remote logins. // デフォルト:FALSE true設定時には他のサービスにアカウントがあってログインしている時にはGeeklogサイトにも同時に自動ログインできます。 現在サポートされているサービスはBloogerとLiveJournalです。 特定のサービスを使っての自動ログインを有効にするために、system/classes/authenticationディレクトリに認証のためのクラスファイルを用意する必要があります。Bloggerでは有効にしてLiveJournalでは無効にする(または逆)場合、単に必要としないサービスのクラスファイルを削除してください。 292 293 // +---------------------------------------------------------------------------+ 294 // | Define action to be taken by Spam-X module if spam detected | 295 // | Current Spam-X module supports two actions which can be combined | 296 // | Additional classes can be added as well as other plugin extensions | 297 // | Actions: 128 = ignore comment and redirect to homepage | 298 // | 8 = mail admin message | 299 // | 136 (SUM) ignore and email admin | 300 // +---------------------------------------------------------------------------+ 301 $_CONF['spamx'] = 128; // Default to ignore comment. 302 303 // +---------------------------------------------------------------------------+ 304 // | Support for custom templaes to support advanced Rich Text Editor | 305 // | Checked in comment.php, submit.php, admin/story.php and | 306 // | staticpages/index.php. If set true and advanced template exists | 307 // +---------------------------------------------------------------------------+ 308 //@@@@@ (1.4.0からの機能) 309 //@@@@@ FCKeditor (WYSIWYG editor). 使用するならtrue 310 $_CONF['advanced_editor'] = true; // デフォルト:false true 311 312 // +---------------------------------------------------------------------------+ 313 // | Sort the links in the admin block and the admin panel. | 314 // +---------------------------------------------------------------------------+ 315 $_CONF['sort_admin'] = false; // デフォルト:FALSE tureにすることで、管理画面と承認・登録画面(moderation.php)のアイコンがアルファベット順に並べ替えられる。 316 317 // +---------------------------------------------------------------------------+ 318 // | Path to user files relative to the $_CONF['site_url'] (no trailing slash) | 319 // | Relative Directory where the Editor Image Library store | 320 // +---------------------------------------------------------------------------+ 321 $_CONF_FCK['imagelibrary'] = '/images/library'; 322 323 // +---------------------------------------------------------------------------+ 324 // | LOCALE SETTINGS | 325 // | | 326 // | see docs/config.html#locale for details | 327 // +---------------------------------------------------------------------------+ 328 //@@@@@ 329 //$_CONF['language'] = 'english'; 330 //$_CONF['language'] = 'japanese'; 331 $_CONF['language'] = 'japanese_utf-8'; // デフォルト:english 言語ファイル名。言語ファイルの追加は http://www.geeklog.net からダウンロードしてください。もし言語ファイルを翻訳されたらこちらに送ってください。Localization もご覧ください。 332 //$_CONF['locale'] = 'en_GB'; 333 //$_CONF['locale'] = 'ja_JP'; //japanese用 334 $_CONF['locale'] = 'ja_JP.UTF-8';//japanese utf-8用 // デフォルト:en-gb システム状況 335 //$_CONF['date'] = '%Y/%m/%d %I:%M %p'; 336 $_CONF['date'] = '%Y年%B%e日(%A) %I:%M %p %Z'; // デフォルト:%A, %B %d %Y @ %I:%M %p %Z 記事表示の際の日付表示フォーマット 337 338 // 2005年8月17日(水曜日) 10:44 午前 JST 339 //%A - 現在のロケールに基づく完全な曜日の名前 340 //%B - 現在のロケールに基づく完全な月の名前 341 //%d - 日付を10進数で。(01から31) 342 //%e - 月単位の日付を10進数で表したもの。日付が1桁の場合は、前に 空白を一つ付けます。(' 1'-'31') 343 //%Y - 世紀を含む年を 10進数で表現 344 //%m - 月を10進数で表現 (01から12) 345 //%I - 時間を12時間表示の10進数で(01から12までの範囲) 346 //%M - 分を10進数で表現 347 //%p - 指定した時間により `am' または `pm' 、または 現在のロケールに対応した文字列 348 //%Z - タイムゾーンまたはその名前または短縮形 349 350 $_CONF['daytime'] = '%m/%d %I:%M%p'; // デフォルト:%m/%d %I:%M%p 短い日付表示フォーマット 。date formats もご覧ください。 351 $_CONF['shortdate'] = '%x'; // デフォルト:%x もっとも短い日付表示フォーマット 。 date formats もご覧ください。 352 $_CONF['dateonly'] = '%d-%b'; // デフォルト:%d-%b ブロックの行事予定と最近の記事リストに表示する月日表示フォーマット 。date formats もご覧ください。 353 $_CONF['timeonly'] = '%I:%M%p'; // デフォルト:%I:%M %p %Z 行事詳細表示ページに掲載する時刻表示フォーマット 。date formats もご覧ください。 354 //$_CONF['week_start'] = 'Sun'; // can be 'Sun' or 'Mon' 355 $_CONF['week_start'] = 'Mon'; // can be 'Sun' or 'Mon' // デフォルト:Sun 週のスタートの曜日。 'Sun' (Sunday) または'Mon' (Monday)をセットできます。 356 $_CONF['default_charset'] = 'iso-8859-1'; // デフォルト:iso-8859-1 "Geeklogの HTMLページやメールのキャラクターセット。 もし該当する言語ファイルがなければ他のキャラクターのエンコーディングにセットされます。" 357 358 // Number formatting 359 $_CONF['thousand_separator'] = "'"; // could be ' , . etc. 360 $_CONF['decimal_separator'] = "."; // could be , . etc. 361 $_CONF['decimal_count'] = "2"; // if a number has decimals, 362 // force to this depth 363 364 // "Timezone Hack" 365 // If your webserver is located in a different timezone than yourself but you 366 // prefer Geeklog to post stories in your local time, then set your local 367 // timezone here. 368 // 369 // Please note that this does not work when safe_mode is on! 370 // 371 // For more information, see this discussion on geeklog.net: 372 // http://www.geeklog.net/forum/viewtopic.php?showtopic=21232 373 // $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT 374 375 376 // +---------------------------------------------------------------------------+ 377 // | SITE STATUS | 378 // | | 379 // | To disable your Geeklog site quickly, simply set this flag to false | 380 // +---------------------------------------------------------------------------+ 381 //@@@@@down 382 $_CONF['site_enabled'] = true; // true or false // デフォルト:TRUE サイトを有効にする。 (e.g. for maintenance) 'false'.にすると緊急閉鎖可能。 383 384 // Message shown when site is down 385 // When this starts with 'http:' visitors are redirected to that URL 386 $_CONF['site_disabled_msg'] = 'Geeklog Site is down. Please come back soon.'; // デフォルト:'Geeklog Site is down. Please come back soon.' ギークログサイトが無効に設定されているとき、この文字列を表示する。もしその文字列が  "http:" から始まっている場合には、そのURLにリダイレクトされる。 387 388 // +---------------------------------------------------------------------------+ 389 // | SESSION SETTINGS | 390 // | | 391 // | cookie_ip will store md5(remoteip + randomnum) as the session ID in the | 392 // | cookie. This is more secure but will more than likely require dialed up | 393 // | users to login each and every time. If ipbasedsessid is turned off | 394 // | (which it is by default) it will just store a random number as the | 395 // | session ID in the cookie. | 396 // | | 397 // | default_perm_cookie_timeout is how long you want the permanent cookie | 398 // | to persist for (in seconds). This can be overridden by the user in | 399 // | their user prefs if they want. If you set the default to 0, users will | 400 // | have to log in again once their session expired. | 401 // | | 402 // | session_cookie_time is how long you want the session cookie to persist | 403 // | for. Only really useful in scenarios where you don't want to allow | 404 // | permanent cookies | 405 // +---------------------------------------------------------------------------+ 406 407 $_CONF['cookie_session'] = 'gl_session'; // デフォルト:gl_session セッションIDを保存するクッキーの名前。 408 $_CONF['cookie_name'] = 'geeklog'; // デフォルト:geeklog パーマネントクッキーの名前。 409 $_CONF['cookie_password'] = 'password'; // デフォルト:password クッキーのパスワード。 410 $_CONF['cookie_theme'] = 'theme'; // デフォルト:theme テーマクッキーの名前。 411 $_CONF['cookie_language'] = 'language'; // デフォルト:language 言語クッキーの名前。 412 413 $_CONF['cookie_ip'] = 0; // デフォルト:0 乱数のようにユーザーのIPアドレスを含むセッションID。よりセキュアだが、ダイヤルアップユーザーは毎回ログインを要求される。 (0=no, 1=yes) 414 $_CONF['default_perm_cookie_timeout'] = 28800; // デフォルト:28800 パーマネントクッキーのタイムアウト時間(秒数) (28800 = 8 hours). 415 $_CONF['session_cookie_timeout'] = 7200; // デフォルト:7200 クッキーのタイムアウト (秒数)。. 416 $_CONF['cookie_path'] = '/'; // デフォルト:/ クッキーパス。 (PHP manual for details). 417 $_CONF['cookiedomain'] = ''; // e.g. '.example.com' // デフォルト:(empty) クッキーが利用できるドメイン。 Geeklogは、この設定のため、正しいクッキーを推測。('site_url' を基本にします。) 詳細はPHP マニュアル をご覧ください。 418 $_CONF['cookiesecure'] = 0; // デフォルト:0 HTTPSを使っているならば1をセット。詳細はPHP manual をご覧ください。 419 420 // Geeklog keeps track of when a user last logged in. Set this to false 421 // if you don't want that. 422 $_CONF['lastlogin'] = true; 423 424 425 // +---------------------------------------------------------------------------+ 426 // | This is really redundant but I am including this as a reminder that those | 427 // | people writing Geeklog Plugins that are OS dependent should check either | 428 // | the $_CONF variable below or PHP_OS directly. If you are writing an | 429 // | addon that is OS specific your addon should check the system is using the | 430 // | right OS. If not, be sure to show a friendly message that says their GL | 431 // | distro isn't running the right OS. Do not modify this value | 432 // +---------------------------------------------------------------------------+ 433 434 $_CONF['ostype'] = PHP_OS; 435 436 437 // Note: PDF conversion didn't make it into this release. Leave as is. 438 $_CONF['pdf_enabled'] = 0; 439 440 441 // +---------------------------------------------------------------------------+ 442 // | SEARCH SETTINGS | 443 // +---------------------------------------------------------------------------+ 444 445 // default number of search results (per type) to be displayed per page 446 $_CONF['num_search_results'] = 10; // デフォルト:10 1ページあたりの検索結果 (and per type). 447 448 449 // +---------------------------------------------------------------------------+ 450 // | MISCELLANEOUS SETTINGS | 451 // | | 452 // | These are other various Geeklog settings. The defaults should work OK | 453 // | for most situations. | 454 // +---------------------------------------------------------------------------+ 455 456 // this lets you select which functions are available for registered users only 457 $_CONF['loginrequired'] = 0; // all of them, if set to 1 will override all else 458 $_CONF['submitloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけ記事やイベントに投稿できる。 459 $_CONF['commentsloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけコメントに投稿できる。 460 $_CONF['calendarloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけカレンダーを表示できる。 461 $_CONF['statsloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけサイトステータスを表示できる。 462 $_CONF['searchloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけ検索を表示できる。 2:シンプルサーチもゲストユーザーには表示されない。 463 $_CONF['profileloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけ他のユーザーのプロファイルを見ることができる。 464 $_CONF['emailuserloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけメールフォームで他のユーザーにメールを送ることができる。 465 $_CONF['emailstoryloginrequired'] = 0; // デフォルト:0 1:ログインしている人だけ記事をメールで送ることができる。 466 $_CONF['directoryloginrequired'] = 0; 467 468 // Submission Settings 469 470 // enable (set to 1) or disable (set to 0) submission queues: 471 $_CONF['storysubmission'] = 1; // デフォルト:1 記事投稿 1:承認待ちリストで管理者が作業 0:管理者の承認作業なしで実行 472 $_CONF['eventsubmission'] = 1; // デフォルト:1 イベント投稿 1:承認待ちリストで管理者が作業 0:管理者の承認作業なしで実行 473 $_CONF['usersubmission'] = 0; // 1 = new users must be approved // デフォルト:0 ユーザー登録申請 1:承認待ちリストで管理者が作業 0:管理者の承認作業なしで実行 474 475 // When set to 1, this will display an additional block on the submissions page 476 // that lists all stories that have the 'draft' flag set. 477 $_CONF['listdraftstories'] = 0; // デフォルト:0 1:ドラフト記事を一覧表示します。 478 479 // Send an email notification when a new submission has been made. The contents 480 // of the array can be any combination of 'story', 'comment', 'trackback', 481 // 'pingback', 'event', and 'user'. 482 // Example: $_CONF['notification'] = array ('story', 'event'); 483 // The email will be sent to $_CONF['site_mail'] (see above). 484 $_CONF['notification'] = array ('story', 'comment', 'link', 'event', 'user', 'trackback','pingback'); // デフォルト:array() $_CONF['site_email']あてに、 新しく記事やコメント、イベント、トラックバック、ピングバックが投稿されたとき、または新規ユーザーが登録されたとき、メールで通知される。配列内には、次のどのような組み合わせで記述されてもかまわない。 'story', 'comment', 'trackback', 'pingback', 'event', and 'user' (コンマで区切る), 485 486 $_CONF['postmode'] = 'plaintext'; // can be 'plaintext' or 'html' // デフォルト:plaintext デフォルトの投稿モード 'html' または 'plaintext' 487 $_CONF['speedlimit'] = 45; // in seconds // デフォルト:45 最小実行間隔(秒数). Denial of Service (DOS) アタックを防ぐのに有効。 488 $_CONF['skip_preview'] = 0; // If = 1, allow user to submit comments and stories without previewing // デフォルト:0 1:記事・コメントのプレビューなし投稿可能。 (すなわち、投稿フォームにはいつもプレビューと投稿の両方のボタンがある) 489 490 // +---------------------------------------------------------------------------+ 491 // | Internal Geeklog CRON or scheduled Task/Function setting | 492 // | Plugins can use the runSheduledTask API to activate any automated tasks | 493 // | or add code in lib-custom to the CUSTOM_runSheduledTask function | 494 // +---------------------------------------------------------------------------+ 495 $_CONF['cron_schedule_interval'] = 86400; // Seconds - Default 1 day 496 497 498 // Topic Settings 499 500 // Topics can be assigned a sort number so that you can control what order they 501 // appear in the 'Topics' block on the homepage. If you prefer you can also 502 // have this sort alphabetically by changing the value to 'alpha' (default is 503 // by 'sortnum' 504 505 $_CONF['sortmethod'] = 'sortnum'; // or 'alpha' // デフォルト:sortnum alpha : 記事をアルファベット順にソート sortnum : 記事をソート番号で並び替える 506 507 // Show the number of stories in a topic in Topics Block 508 $_CONF['showstorycount'] = 0; // デフォルト:1 話題表示ブロックに記事の数を表示する (0=no, 1=yes) 509 510 // Show the number of story submissions for a topic in Topics Block 511 $_CONF['showsubmissioncount'] = 0; // デフォルト:1 話題表示ブロックにサブ記事の数を表示する (0=no, 1=yes) 512 513 // Hide 'Home' link from Topics block (if set to 1) 514 $_CONF['hide_home_link'] = 1; // デフォルト:0 話題表示ブロックに"Home"へのリンクを隠す (0=no, 1=yes) 515 516 517 // Who's Online block settings 518 519 // How long an anonymous (guest) user session is good for 520 $_CONF['whosonline_threshold'] = 300; // in seconds // デフォルト:300 ユーザーオンラインにどのくらいの時間残しておくか(秒数) 521 522 // If set to 1, don't show names of registered users to anonymous users 523 $_CONF['whosonline_anonymous'] = 1; // 1 = don't show names to anon. users // デフォルト:0 ユーザーオンラインのブロックの表示を設定。1にすると、ゲストユーザーはオンラインユーザーの数だけ見ることができ、名前まで見ることはできない。ログインすれば、ログインユーザーの名前まで見ることができる。 524 525 526 // "Daily Digest" settings 527 528 // Let users get stories emailed to them 529 // Requires cron and the use of php as a shell script 530 $_CONF['emailstories'] = 0; // デフォルト:0 記事をメールで配信できる (0=no, 1=yes) 別名Dailyダイジェスト。これがシェルスクリプトとしてcronとPHPの使用が必要なので注意してください。 531 532 // Specify length of stories in those emails: 533 // 0 = send only title + link, 1 = send entire introtext, 534 // any other number = max. number of characters per story 535 $_CONF['emailstorieslength'] = 1; // デフォルト:1 記事のメール配信オプションがONのとき、タイトルと新しい記事へのリンクだけを送る (0), または、最初の書き出しまでを送る (1) または最初のn 文字を送る。 ( nは2以上の整数 ) 536 537 // New users get stories emailed to them per default (= 1) or not (= 0) 538 $_CONF['emailstoriesperdefault'] = 0; // デフォルト:0 1なら, 新規ユーザーは自動的に受け取る設定にする 539 540 541 // When user submission is activated, allow users from these domains to 542 // register without having to go through the submission queue. 543 $_CONF['allow_domains'] = ''; // e.g. 'mycompany.com,myothercompany.com' // デフォルト:'' ユーザ投稿が可能な場合、投稿の承認待ちをしないドメインのリスト(自動承認されます) 544 545 // Following times are in seconds 546 $_CONF['newstoriesinterval'] = 86400; // = 24 hours // デフォルト:86400 新着記事の期間(秒数) 547 $_CONF['newcommentsinterval'] = 172800; // = 48 hours // デフォルト:172800 新着コメントの期間(秒数) 548 $_CONF['newtrackbackinterval'] = 172800; // = 48 hours // デフォルト:172800 Trackbackコメントが"新着"の期間(秒数) 549 550 // Set to 1 to hide a section from the What's New block: 551 $_CONF['hidenewstories'] = 0; // デフォルト:0 新着情報から記事の欄を隠す 552 $_CONF['hidenewcomments'] = 0; // デフォルト:0 新着情報からコメントの欄を隠す 553 $_CONF['hidenewtrackbacks'] = 0; // デフォルト:0 新着情報からトラックバックの欄を隠す 554 $_CONF['hidenewplugins'] = 0; // デフォルト:0 新着情報からプラグインの欄を隠す 555 556 // Disable trackback comments by setting this to 'false' 557 $_CONF['trackback_enabled'] = true; // デフォルト:TRUE トラックバックとトラックバックコメントの送受信:許可 (true) or 不可 (true) trackback 558 559 // Disable pingbacks by setting this to 'false' 560 $_CONF['pingback_enabled'] = true; // デフォルト:TRUE ピングバックとピングバックコメントの送受信: true: 許可 false:不可 pingback 561 562 // Disable pinging weblog directory services by setting this to 'false'. 563 $_CONF['ping_enabled'] = true; // デフォルト:TRUE weblogディレクトリ・サービス(例blo.gs.)へピング送信:true: 許可 false:不可 564 565 // Allow / disallow trackbacks and pingbacks to stories by default 566 // (can be changed individually for every story) 567 $_CONF['trackback_code'] = 0; // 0 = trackbacks enabled, -1 = disabled // デフォルト:0 記事作成の際のトラックバックデフォルト設定 0:許可 -1:不可 568 569 // how to handle multiple trackbacks and pingbacks from the same URL: 570 // 0 = reject, 1 = only keep the latest, 2 = allow multiple posts 571 $_CONF['multiple_trackbacks'] = 0; // デフォルト:0 同じソースからのトラックバックとピングバックをどう扱うか?0:最初の投稿のみ有効。 1:オーバーライト  2:すべて有効 572 573 // how to handle pingbacks from one article on our site to another: 574 // 0 = skip, 1 = allow, with speed limit, 2 = allow, without speed limit 575 $_CONF['pingback_self'] = 0; // デフォルト:0 "ピングバックは自動的に記事からリンクされたすべてのURLに行われる。このオプションでセルフピングバックが設定される。 0 : スキップ,すなわち、自分自身のサイトの記事にピングバックを送らない。 1 : 速度制限を設けて許可する。 2 : すべて許可。 記事が自サイトの複数の記事へのリンクを含む場合はオプション1は問題があるかもしれません。というのは最初のリンク記事へのピングバックを送信した後、2つめ以降のピングバックは投稿間隔の制限にひっかかるからです。" 576 577 // Link to the documentation from the Admin block (0 = hide link, 1 = show) 578 $_CONF['link_documentation'] = 1; // デフォルト:1 1:管理者ブロックに、ギークログドキュメントを含ませる。0:表示させない。 579 580 // Calendar Settings 581 $_CONF['personalcalendars'] = 1; // デフォルト:0 個人のカレンダー機能(0=no, 1=yes) 582 $_CONF['showupcomingevents'] = 1; // デフォルト:1 行事予定の表示 (0=no, 1=yes) 583 $_CONF['upcomingeventsrange'] = 90; // days // デフォルト:14 行事予定を何日先まで表示するかの日数設定 584 $_CONF['event_types'] = '会議,セミナー'; // デフォルト:Anniversary, Appointment, Birthday, Business, Education, Holiday, Meeting, Miscellaneous, Personal, Phone Call, Special Occasion, Travel, Vacation "行事のタイプ。日本語で以下のように設定しても良い。項目数は自由。 例) 記念日,約束,誕生日,打ち合わせ,セミナー,休日,会議,用事,個人の用事,電話,特別な行事,旅行,休暇" 585 586 // Story Settings 587 $_CONF['maximagesperarticle'] = 5; // デフォルト:5 記事で設定できる最大画像ファイル数 588 $_CONF['limitnews'] = 10; // デフォルト:10 記事の1ページあたりの表示数 589 $_CONF['minnews'] = 0; // minimum number of stories per page // デフォルト:1 記事の最小数 590 $_CONF['contributedbyline'] = 0; // If 1, show contributed by line // デフォルト:1 ユーザー名を公開するか、検索できるようにするか (0=no, 1=yes) 591 $_CONF['hideviewscount'] = 1; // If 1, hide Viewed X times line 592 $_CONF['hideemailicon'] = 1; // If 1, hide "email story" option // デフォルト:0 記事をメールで送る、記事を友人に送るアイコンを隠す 593 $_CONF['hideprintericon'] = 1; // If 1, hide "printer friendly" option // デフォルト:0 記事を印刷するアイコンを隠す 594 $_CONF['allow_page_breaks'] = 1; // allow [page_break] in stories // デフォルト:1 595 $_CONF['page_break_comments'] = 'last'; // When an article has a page break, 596 // show comments on the 'first', 597 //'last' or 'all' pages? 598 $_CONF['article_image_align'] = 'right'; // Topic icon on left or right. // デフォルト:right 話題のアイコンを右・左 どちらに配置するか (right or left) 599 $_CONF['show_topic_icon'] = 1; // default for new stories // デフォルト:1 話題のアイコンを表示設定: 1=表示  0=非表示 600 601 602 // Advanced theme settings 603 604 // Set the default whether to display the right-side blocks (= true) or not 605 // (= false). In the default configuration, Geeklog will only display the 606 // right-side blocks on the index page. Please note that setting this to true 607 // will reduce the amount of space available for the actual page content, 608 // especially for users with narrow browser windows. 609 // May require theme changes in article/article.thtml (depending on the theme 610 // used) to avoid the What's Related and Story Options "blocks" showing up in 611 // an extra (fourth) column. 612 $_CONF['show_right_blocks'] = false; // デフォルト:FALSE 右のブロックを表示させる。隠すとすべてのページで右ブロックを表示しなくなる。 613 614 // It is recommended to leave these unchanged and overwrite them in the theme's 615 // functions.php instead. 616 617 // When set to 1, this will render the first story on any page using the 618 // templates for featured stories - even if that story is not featured. 619 $_CONF['showfirstasfeatured'] = 0; // デフォルト:0 1:どのトピックページでも、最初に表示される記事が注目記事のテンプレートで表示される。たとえば、トピックページが2ページ続く場合のそれぞれのページのトップの記事は、注目記事のテンプレートで表示される。 620 621 // When set to 1, this will make the {left_blocks} variable available in 622 // footer.thtml (and disable it in header.thtml). This is really only useful 623 // for two-column layouts where you want the left column contain the stories 624 // and the right column contain the standard blocks. 625 $_CONF['left_blocks_in_footer'] = 0; // デフォルト:0 1: {left_blocks} が footer.thtmlで自由に使うことができるようになる。 (ヘッダーテンプレート header.thtmlでは利用することはできなくなる。) これは左の列に記事を書き、右のコラムに通常のブロックをレイアウトする2列レイアウトの場合にのみ有効だ。 626 627 // +---------------------------------------------------------------------------+ 628 // | RSS feed settings | 629 // | | 630 // | Settings for RSS feeds (aka RDF feeds). Please note that most of these | 631 // | are merely default settings for the feeds created from the "Content | 632 // | Syndication" entry in the Admin's menu. | 633 // +---------------------------------------------------------------------------+ 634 635 $_CONF['backend'] = 1; // 1 = activate feeds, 0 = off // デフォルト:mail 電子メールを送る方法を選ぶ。 'smtp', 'sendmail',または 'mail'. 636 637 // path to your site's default RSS feed 638 $_CONF['rdf_file'] = $_CONF['path_html'] . 'backend/geeklog.rss'; // デフォルト:HTML path with "/backend/geeklog.rss" suffix RSSファイルの場所を設定。 639 640 // This allows a person to limit the rss feed to a certain number of stories 641 // (e.g. 10 or 12) or else limit the rss feed to all stories within a certain 642 // period of time in hours (e.g. 24h or 168h). 643 $_CONF['rdf_limit'] = 10; // number of stories (10) or hours (24h) // デフォルト:10 ニュースフィードに出力される記事の最大数または対象となる時間。この設定が数値であれば、フィードに含まれる記事の最大数。 644 645 // Include the story's entire intro text in the feed (= 1) or limit the number 646 // of characters from the intro text (any number > 1) or don't include the text 647 // at all (= 0). 648 $_CONF['rdf_storytext'] = 1; // デフォルト:0 "1にするとすべての記事の内容をヘッドラインに含めることができる。 1:記事の全てのタイトルは、ニュースフィードで含まれる。 1より大きいとき:イントロテキストの文字数制限。 (例:80であれば80文字以上、表示させない) 0:タイトルを表示させない。" 649 650 // Default language for the feed - may have to be different than the locale 651 //@@@@@ 652 //$_CONF['rdf_language'] = 'en-gb'; 653 $_CONF['rdf_language'] = 'ja'; // デフォルト:en-gb RSSファイルの言語タイプ。 あなたのサイトの言語とOSに依存。 これは、言語セッティングとロケール(上記参照)において異なるかもしれない。例:日本語のためのPHPロケール設定は、日本語のRSSフィードのための正しい言語セッティングは 'ja'であるかぎり、 'ja'。 654 655 // Upper limit for all imported feeds (0 = unlimited, i.e. import all of the 656 // headlines from the feed). 657 // Individual limits can be set for every feed in the portal block's settings. 658 $_CONF['syndication_max_headlines'] = 0; // デフォルト:0 1以上の数字: フィードをポータルブロックに読み込む際の最大のヘッドライン数。ブロックメニューの各ポータルブロックのそれぞれに最大数を設定できます。0:すべてのヘッドラインが含まれる。 659 660 661 // Uncomment the following line to set the copyright year in the site's footer 662 // to a specific year. Otherwise, the current year will be used. 663 // $_CONF['copyrightyear'] = '2005'; 664 665 666 // Optional Image Settings 667 668 // If you set $_CONF['image_lib'] below, you must supply a path for the library 669 // you will use. Setting this also assumes that if a photo is uploaded that is 670 // too big either by the image sizes below or by overriding them using the 671 // upload object then the library you choose will attempt to resize the image. 672 // Leaving this value empty disables this feature 673 $_CONF['image_lib'] = ''; // can be one of 'netpbm', 'imagemagick', 'gdlib' // デフォルト:'' (empty string) imagemagick', 'netpbm',または 'gdlib' に設定されると、画像がリサイズされてアップロードされる。もしリサイズしたくないときは、''のままにしてください。 674 675 // If you set image_lib to 'imagemagick' give the complete path to mogrify 676 // here (i.e. including the name of the executable), otherwise comment it out 677 // NOTE: requires ImageMagick version 5.4.9 (or newer) 678 //$_CONF['path_to_mogrify'] = '/path/to/mogrify'; 679 680 // If you set image_lib to 'netpbm' give the path to the netpbm directory, you 681 // need the trailing slash here. 682 // NOTE: if you use NETPBM, use the latest package from the Gallery package for 683 // your operating system found at http://sourceforge.net/projects/gallery in 684 // the download section. You need to take the netpbm tarball from them and 685 // uncompress the file which will create a netpbm directory. If you plan to 686 // only use netpbm with Geeklog, put that entire folder in /path/to/geeklog and 687 // adjust the path below. The only programs you need from netpbm are giftopnm, 688 // jpegtopnm, pngtopnm, ppmtogif, pnmtojpeg, pnmtopng and pnmscale 689 //$_CONF['path_to_netpbm'] = '/path/to/netpbm/'; 690 691 // Uncomment the following line if you experience problems with the image 692 // upload. Debug messages will be added to the error.log file. 693 // $_CONF['debug_image_upload'] = true; 694 695 // When set to 1, Geeklog will keep the original, unscaled images and make 696 // the smaller image link to the unscaled image. 697 $_CONF['keep_unscaled_image'] = 0; // 1 = keep original images // デフォルト:0 1:オリジナルスケールの画像を保存。 小画像はサムネールとして使われ、サムネールからオリジナル画像へリンクされる。 注意:サーバーの大きなスペースを取られるので注意が必要 (画像のサイズによる). 698 699 // when above is set to one and this here also, the user can choose between 700 // using the original or scaled image in a story 701 $_CONF['allow_user_scaling'] = 1; // 1 = allow the user to choose // デフォルト:1 オリジナルスケールの画像を保存するとき(see above), 記事の中で、縮小画像・オリジナル画像を選択できます。縮小画像:[imageX] オリジナル画像:[[unscaledX] タグを使えます。 702 703 // Story image settings 704 $_CONF['max_image_width'] = 160; // In pixels // デフォルト:160 画像最大幅。この幅を超えるとアップロードできないか、あるいはリサイズされる。(上記 $_CONF['image_lib'] の設定による。) 705 $_CONF['max_image_height'] = 120; // In pixels // デフォルト:120 画像最大高。この高さを超えるとアップロードできないか、あるいはリサイズされる。 (上記 $_CONF['image_lib'] の設定による。) 706 $_CONF['max_image_size'] = 1048576; // 1048576 = 1MB // デフォルト:1048576 (equals 1 MB) 画像ファイル最大容量。この容量を超えると拒否される。 (あらかじめ縮小してアップロードしてください。). 707 708 // Topic icon settings 709 $_CONF['max_topicicon_width'] = 48; // In pixels // デフォルト:48 トピックアイコンの最大幅。この幅を超えるとアップロードできないか、あるいはリサイズされる。 (上記 $_CONF['image_lib'] の設定による。) 710 $_CONF['max_topicicon_height'] = 48; // In pixels // デフォルト:48 トピックアイコンの最大高。この高さを超えるとアップロードできないか、あるいはリサイズされる。 (depending 上記 $_CONF['image_lib'] の設定による。) 711 $_CONF['max_topicicon_size'] = 65536; // 65536 = 64KB // デフォルト:65536 (equals 64 KB) トピックアイコン最大容量。この容量を超えると拒否される。 (あらかじめ縮小してアップロードしてください。). 712 713 // User photo settings 714 $_CONF['max_photo_width'] = 128; // In pixels // デフォルト:128 記事投稿の最大の写真の横ピクセル数 (上の $_CONF['image_lib'] のモードによる) 715 $_CONF['max_photo_height'] = 128; // In pixels // デフォルト:128 記事投稿の最大の写真の縦ピクセル数 (上の $_CONF['image_lib'] のモードによる) 716 $_CONF['max_photo_size'] = 65536; // 65536 = 64KB // デフォルト:65536 (equals 64 KB) 記事投稿の最大の写真のバイト数 (画像リサイズパッケージを使っていた場合でも) 717 718 // Use avatars from gravatar.com (if set = true). 719 // A gravatar will only be requested if there is no uploaded photo. 720 $_CONF['use_gravatar'] = false; // デフォルト:FALSE true:もしユーザーが写真をアップしなければアバター画像はgravatar.com からリクエストされる。 (すなわちアップロードされた画像はいつも優先されます。)このモードをONにするとサイトの表示が遅くなる場合があるので注意。 721 722 // gravatar.com provides "movie-style" ratings of the avatars (G, PG, R, X). 723 // Setting this to 'R' would allow avatars rated as G, PG, and R (but not X). 724 // $_CONF['gravatar_rating'] = 'R'; 725 726 // Force a max. width when displaying the user photo (also used for gravatars) 727 // $_CONF['force_photo_width'] = 75; 728 729 // Use this image when there's neither an uploaded photo nor a gravatar. 730 // Should be the complete URL of the image. 731 // $_CONF['default_photo'] = 'http://example.com/default.jpg'; 732 733 // Comment Settings 734 $_CONF['commentspeedlimit'] = 45; // minimum time between comment posts, in seconds // デフォルト:45 コメントの投稿の最小間隔(秒数) 735 $_CONF['comment_limit'] = 100; // Default Number of Comments under Story // デフォルト:100 同時に可能なコメントの数 736 // Default Comment Mode; from 'threaded','nested', 'nocomments', or 'flat' 737 $_CONF['comment_mode'] = 'threaded'; // デフォルト:threaded コメント表示タイプ (threaded, nested, flat or nocomments) 738 // Allow / disallow comments to stories by default (can be changed individually for every story) 739 $_CONF['comment_code'] = 0; // 0 = comments enabled, -1 = disabled // デフォルト:0 記事新規作成の場合のコメントに関するデフォルト設定: 740 741 // Password setting: minimum time between two requests for a new password 742 // 次にパスワード変更要求を送信するまでにまたなければならない時間 743 // 既定値は 300秒(5分) 744 $_CONF['passwordspeedlimit'] = 5; // seconds = 5 minutes // デフォルト:300 パスワード要求の最小の間隔(秒数) 745 746 // Login Speedlimit. 747 $_CONF['login_attempts'] = 3; // number of login attempts allowed before speedlimit kicks in // デフォルト:0 0:ログインがすべてのページで要求される。1:個別にログインを要求させたいとき。あなたがサイトの特定のブロックへのアクセスを妨げたいだけのとき、以下のモードを0にセットしてください。 748 $_CONF['login_speedlimit'] = 300; // wait (in seconds) after $_CONF['login_attempts'] failed logins 749 750 751 // Parameters for checking HTML tags 752 753 // *** Warning: Adding the following tags to the list of allowable HTML can 754 // *** make your site vulnerable to scripting attacks! 755 // *** Use with care: