'mail', // can be one of 'mail', 'sendmail', 'smtp' // sendmail parameters (only needed for 'backend' => 'sendmail') 'sendmail_path' => '/usr/bin/sendmail', 'sendmail_args' => '', // SMTP parameters (only needed for 'backend' => 'smtp') 'host' => 'smtp.example.com', 'port' => '25', 'auth' => false, 'username' => 'smtp-username', 'password' => 'smtp-password' ); // +---------------------------------------------------------------------------+ // | OTHER DATABASE SETTINGS | // | | // | Database type and database backup settings. | // +---------------------------------------------------------------------------+ $_DB_dbms = 'mysql'; // Do not change (currently, only MySQL is supported) // optional settings for making database backups from within Geeklog // 一般的にレンタルサーバでは、モジュール版mysqldumpが使えないので //日本語版ではデフォルトモードを0から1へ変更 //$_CONF['allow_mysqldump'] = 1; // 1 = on, 0 = off $_CONF['allow_mysqldump'] = 0; // 1 = on, 0 = off // full path to mysqldump executable (Windows users: add ".exe"!) $_DB_mysqldump_path = '/usr/bin/mysqldump'; // additional options for mysqldump // If you're using InnoDB tables, include the '--single-transaction' or you // may end up with inconsistent backups! $_CONF['mysqldump_options'] = '-Q'; // +---------------------------------------------------------------------------+ // | SITE SETTINGS | // | | // | These settings help define your Geeklog site. | // +---------------------------------------------------------------------------+ $_CONF['theme'] = 'tony'; // default theme // List of entries that you want to see in the site's menu bar (if you're using // a theme that uses the {menu_elements} variable in its header.thtml). // Choose any combination of the following (order here = order in the menu). $_CONF['menu_elements'] = array ( 'home', // ホーム link to homepage 'contribute', // 記事を書く contribute / "submit a story" link 'calendar', // カレンダ link to the site calendar // 'search', // 複雑な検索 link to advanced search // 'stats', // アクセス情報 link to site stats 'directory', // 記事の一覧 link to list of past stories 'prefs', // アカウント情報 link to user's preferences 'plugins' // プラグイン links added by plugins, like {plg_menu_elements} // 'custom' // for custom links (see lib-custom.php) ); // you shouldn't need to edit the following $_CONF['layout_url'] = $_CONF['site_url'] . '/layout/' . $_CONF['theme']; $_CONF['path_themes'] = $_CONF['path_html'] . 'layout/'; $_CONF['path_layout'] = $_CONF['path_themes'] . $_CONF['theme'] . '/'; // stops new registrations if set to true. //@@@@@ ユーザの新規登録を許可するならfalse (1.4.0からの機能) //@@@@@ ユーザの新規登録を許可しないならtrue $_CONF['disable_new_user_registration'] = false; // optional settings (1 = on, 0 = off) $_CONF['allow_user_themes'] = 1; $_CONF['allow_user_language'] = 1; $_CONF['allow_user_photo'] = 1; // allow users to upload self-photo // Allow users to change their username (if set to 1). //@@@@@ ユーザが自分でユーザー名を変更できるようにするなら1 $_CONF['allow_username_change'] = 1; // Allow users to delete their account (if set to 1). //@@@@@ ユーザアカウント削除 //1=ユーザが自分でアカウントを削除できる //0=ユーザが自分でアカウントを削除できない //日本語版ではデフォルトモードを0から1へ変更 $_CONF['allow_account_delete'] = 1; // hides the list of authors from the preferences $_CONF['hide_author_exclusion'] = 0; // Used by COM_displayName to return Members's Full Name else username (1 = yes, 0 = no) //@@@@@ Who's Online に表示される名前を本名にするなら1ユーザー名にするなら0 $_CONF['show_fullname'] = 0; // Used by COM_displayName to return users remote login service, if they have one. $_CONF['show_servicename'] = true; // Set to false to not show it. // +---------------------------------------------------------------------------+ // | Support for custom user registration form and account details | // | Requires custom functions to be written that can be placed in lib-custom | // | Function hooks are in users.php, usersettings.php and admin/user.php | // +---------------------------------------------------------------------------+ $_CONF['custom_registration'] = false; // Set to true if you have custom code // +---------------------------------------------------------------------------+ // | Support for remote authentication of users, i.e. logging in via other | // | supported remote servers. Requires custom classes in: | // | system/classes/authentication/ | // +---------------------------------------------------------------------------+ //@@@@@Blogger.comやLiveJournalの登録ユーザーは、 //登録しなくてもログインできるようにするには true $_CONF['remoteauthentication'] = false; // Set to true to enable remote logins. // +---------------------------------------------------------------------------+ // | Define action to be taken by Spam-X module if spam detected | // | Current Spam-X module supports two actions which can be combined | // | Additional classes can be added as well as other plugin extensions | // | Actions: 128 = ignore comment and redirect to homepage | // | 8 = mail admin message | // | 136 (SUM) ignore and email admin | // +---------------------------------------------------------------------------+ $_CONF['spamx'] = 128; // Default to ignore comment. // +---------------------------------------------------------------------------+ // | Sort the links in the admin block and the admin panel. | // +---------------------------------------------------------------------------+ $_CONF['sort_admin'] = false; // +---------------------------------------------------------------------------+ // | Path to user files relative to the $_CONF['site_url'] (no trailing slash) | // | Relative Directory where the Editor Image Library store | // +---------------------------------------------------------------------------+ $_CONF_FCK['imagelibrary'] = '/images/library'; // +---------------------------------------------------------------------------+ // | LOCALE SETTINGS | // | | // | see docs/config.html#locale for details | // +---------------------------------------------------------------------------+ //@@@@@ //$_CONF['language'] = 'english'; //$_CONF['language'] = 'japanese'; $_CONF['language'] = 'japanese_utf-8'; //$_CONF['locale'] = 'en_GB'; //$_CONF['locale'] = 'ja_JP'; //japanese用 $_CONF['locale'] = 'ja_JP.UTF-8';//japanese utf-8用 //$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z'; //↓日本語が使えない時はこちらを使用 //$_CONF['date'] = '%Y/%m/%d %I:%M %p'; $_CONF['date'] = '%Y年%B%e日(%A) %I:%M %p %Z'; // 2005年8月17日(水曜日) 10:44 午前 JST //%A - 現在のロケールに基づく完全な曜日の名前 //%B - 現在のロケールに基づく完全な月の名前 //%d - 日付を10進数で。(01から31) //%e - 月単位の日付を10進数で表したもの。日付が1桁の場合は、前に 空白を一つ付けます。(' 1'-'31') //%Y - 世紀を含む年を 10進数で表現 //%m - 月を10進数で表現 (01から12) //%I - 時間を12時間表示の10進数で(01から12までの範囲) //%M - 分を10進数で表現 //%p - 指定した時間により `am' または `pm' 、または 現在のロケールに対応した文字列 //%Z - タイムゾーンまたはその名前または短縮形 $_CONF['daytime'] = '%m/%d %I:%M%p'; $_CONF['shortdate'] = '%x'; $_CONF['dateonly'] = '%d-%b'; $_CONF['timeonly'] = '%I:%M%p'; //$_CONF['week_start'] = 'Sun'; // can be 'Sun' or 'Mon' $_CONF['week_start'] = 'Mon'; // can be 'Sun' or 'Mon' $_CONF['default_charset'] = 'iso-8859-1'; // Number formatting $_CONF['thousand_separator'] = ","; // could be ' , . etc. $_CONF['decimal_separator'] = "."; // could be , . etc. $_CONF['decimal_count'] = "2"; // if a number has decimals, // force to this depth // "Timezone Hack" // If your webserver is located in a different timezone than yourself but you // prefer Geeklog to post stories in your local time, then set your local // timezone here. // // Please note that this does not work when safe_mode is on! // // For more information, see this discussion on geeklog.net: // http://www.geeklog.net/forum/viewtopic.php?showtopic=21232 // $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT // +---------------------------------------------------------------------------+ // | SITE STATUS | // | | // | To disable your Geeklog site quickly, simply set this flag to false | // +---------------------------------------------------------------------------+ //@@@@@down false にすると 稼動を休止、下記のメッセージ表示します $_CONF['site_enabled'] = true; // true or false // Message shown when site is down // When this starts with 'http:' visitors are redirected to that URL $_CONF['site_disabled_msg'] = 'Geeklog Site is down. Please come back soon.'; // +---------------------------------------------------------------------------+ // | SESSION SETTINGS | // | | // | cookie_ip will store md5(remoteip + randomnum) as the session ID in the | // | cookie. This is more secure but will more than likely require dialed up | // | users to login each and every time. If ipbasedsessid is turned off | // | (which it is by default) it will just store a random number as the | // | session ID in the cookie. | // | | // | default_perm_cookie_timeout is how long you want the permanent cookie | // | to persist for (in seconds). This can be overridden by the user in | // | their user prefs if they want. If you set the default to 0, users will | // | have to log in again once their session expired. | // | | // | session_cookie_time is how long you want the session cookie to persist | // | for. Only really useful in scenarios where you don't want to allow | // | permanent cookies | // +---------------------------------------------------------------------------+ $_CONF['cookie_session'] = 'gl_session'; $_CONF['cookie_name'] = 'geeklog'; $_CONF['cookie_password'] = 'password'; $_CONF['cookie_theme'] = 'theme'; $_CONF['cookie_language'] = 'language'; $_CONF['cookie_ip'] = 0; $_CONF['default_perm_cookie_timeout'] = 28800; $_CONF['session_cookie_timeout'] = 7200; $_CONF['cookie_path'] = '/'; $_CONF['cookiedomain'] = ''; // e.g. '.example.com' $_CONF['cookiesecure'] = 0; // Geeklog keeps track of when a user last logged in. Set this to false // if you don't want that. $_CONF['lastlogin'] = true; // +---------------------------------------------------------------------------+ // | This is really redundant but I am including this as a reminder that those | // | people writing Geeklog Plugins that are OS dependent should check either | // | the $_CONF variable below or PHP_OS directly. If you are writing an | // | addon that is OS specific your addon should check the system is using the | // | right OS. If not, be sure to show a friendly message that says their GL | // | distro isn't running the right OS. Do not modify this value | // +---------------------------------------------------------------------------+ $_CONF['ostype'] = PHP_OS; // Note: PDF conversion didn't make it into this release. Leave as is. $_CONF['pdf_enabled'] = 0; // +---------------------------------------------------------------------------+ // | SEARCH SETTINGS | // +---------------------------------------------------------------------------+ // default number of search results (per type) to be displayed per page $_CONF['num_search_results'] = 10; // +---------------------------------------------------------------------------+ // | MISCELLANEOUS SETTINGS | // | | // | These are other various Geeklog settings. The defaults should work OK | // | for most situations. | // +---------------------------------------------------------------------------+ // this lets you select which functions are available for registered users only $_CONF['loginrequired'] = 0; // all of them, if set to 1 will override all else $_CONF['submitloginrequired'] = 0; $_CONF['commentsloginrequired'] = 0; $_CONF['calendarloginrequired'] = 0; $_CONF['statsloginrequired'] = 0; $_CONF['searchloginrequired'] = 0; $_CONF['profileloginrequired'] = 0; $_CONF['emailuserloginrequired'] = 0; $_CONF['emailstoryloginrequired'] = 0; $_CONF['directoryloginrequired'] = 0; // Submission Settings // enable (set to 1) or disable (set to 0) submission queues: $_CONF['storysubmission'] = 1; $_CONF['eventsubmission'] = 1; $_CONF['usersubmission'] = 0; // 1 = new users must be approved // When set to 1, this will display an additional block on the submissions page // that lists all stories that have the 'draft' flag set. $_CONF['listdraftstories'] = 0; // Send an email notification when a new submission has been made. The contents // of the array can be any combination of 'story', 'comment', 'trackback', // 'pingback', 'event', and 'user'. // Example: $_CONF['notification'] = array ('story', 'event'); // The email will be sent to $_CONF['site_mail'] (see above). // @@@@@新しく記事やコメント、イベント、トラックバック、ピングバックが投稿されたとき // または新規ユーザーが登録されたとき、管理者あてメールで通知させる $_CONF['notification'] = array ('story', 'comment', 'link', 'event', 'user', 'trackback','pingback'); $_CONF['postmode'] = 'plaintext'; // can be 'plaintext' or 'html' $_CONF['speedlimit'] = 45; // in seconds $_CONF['skip_preview'] = 0; // If = 1, allow user to submit comments and stories without previewing // +---------------------------------------------------------------------------+ // | Support for custom templaes to support advanced Rich Text Editor | // | Checked in comment.php, submit.php, admin/story.php and | // | staticpages/index.php. If set true and advanced template exists | // | Note: If enabled, the default postmode will be html | // +---------------------------------------------------------------------------+ //@@@@@ (1.4.0からの機能) //@@@@@ FCKeditor (WYSIWYG editor). 使用するならtrue //日本語版ではデフォルトモードをfalseからtrueへ変更 $_CONF['advanced_editor'] = true; // +---------------------------------------------------------------------------+ // | Internal Geeklog CRON or scheduled Task/Function setting | // | Plugins can use the runSheduledTask API to activate any automated tasks | // | or add code in lib-custom to the CUSTOM_runSheduledTask function | // +---------------------------------------------------------------------------+ $_CONF['cron_schedule_interval'] = 86400; // Seconds - Default 1 day // Topic Settings // Topics can be assigned a sort number so that you can control what order they // appear in the 'Topics' block on the homepage. If you prefer you can also // have this sort alphabetically by changing the value to 'alpha' (default is // by 'sortnum' $_CONF['sortmethod'] = 'sortnum'; // or 'alpha' // Show the number of stories in a topic in Topics Block $_CONF['showstorycount'] = 0; // Show the number of story submissions for a topic in Topics Block $_CONF['showsubmissioncount'] = 0; // Hide 'Home' link from Topics block (if set to 1) $_CONF['hide_home_link'] = 1; // Who's Online block settings // How long an anonymous (guest) user session is good for $_CONF['whosonline_threshold'] = 300; // in seconds // If set to 1, don't show names of registered users to anonymous users // @@@@@ 1 = ゲストユーザへはログインユーザ名を表示させない // 日本語版ではデフォルトモードを0から1へ変更 $_CONF['whosonline_anonymous'] = 1; // "Daily Digest" settings // Let users get stories emailed to them // Requires cron and the use of php as a shell script $_CONF['emailstories'] = 0; // Specify length of stories in those emails: // 0 = send only title + link, 1 = send entire introtext, // any other number = max. number of characters per story $_CONF['emailstorieslength'] = 1; // New users get stories emailed to them per default (= 1) or not (= 0) $_CONF['emailstoriesperdefault'] = 0; // When user submission is activated, allow users from these domains to // register without having to go through the submission queue. $_CONF['allow_domains'] = ''; // e.g. 'mycompany.com,myothercompany.com' // Following times are in seconds $_CONF['newstoriesinterval'] = 86400; // = 24 hours $_CONF['newcommentsinterval'] = 172800; // = 48 hours $_CONF['newtrackbackinterval'] = 172800; // = 48 hours // Set to 1 to hide a section from the What's New block: $_CONF['hidenewstories'] = 0; $_CONF['hidenewcomments'] = 0; $_CONF['hidenewtrackbacks'] = 0; $_CONF['hidenewplugins'] = 0; // Disable trackback comments by setting this to 'false' $_CONF['trackback_enabled'] = true; // Disable pingbacks by setting this to 'false' $_CONF['pingback_enabled'] = true; // Disable pinging weblog directory services by setting this to 'false'. $_CONF['ping_enabled'] = true; // Allow / disallow trackbacks and pingbacks to stories by default // (can be changed individually for every story) $_CONF['trackback_code'] = 0; // 0 = trackbacks enabled, -1 = disabled // how to handle multiple trackbacks and pingbacks from the same URL: // 0 = reject, 1 = only keep the latest, 2 = allow multiple posts $_CONF['multiple_trackbacks'] = 0; // how to handle pingbacks from one article on our site to another: // 0 = skip, 1 = allow, with speed limit, 2 = allow, without speed limit $_CONF['pingback_self'] = 0; // Link to the documentation from the Admin block (0 = hide link, 1 = show) $_CONF['link_documentation'] = 1; // Calendar Settings $_CONF['personalcalendars'] = 1; $_CONF['showupcomingevents'] = 1; $_CONF['upcomingeventsrange'] = 14; // days //@@@@@日本語化 //$_CONF['event_types'] = 'Anniversary,Appointment,Birthday,Business,Education,Holiday,Meeting,Miscellaneous,Personal,Phone Call,Special Occasion,Travel,Vacation'; $_CONF['event_types'] = '記念日,約束,誕生日,打ち合わせ,セミナー,休日,会議,用事,個人の用事,電話,特別な行事,旅行,休暇'; // Story Settings $_CONF['maximagesperarticle'] = 5; $_CONF['limitnews'] = 10; $_CONF['minnews'] = 1; // minimum number of stories per page $_CONF['contributedbyline'] = 1; // If 1, show contributed by line $_CONF['hideviewscount'] = 1; // If 1, hide Viewed X times line $_CONF['hideemailicon'] = 0; // If 1, hide "email story" option $_CONF['hideprintericon'] = 0; // If 1, hide "printer friendly" option $_CONF['allow_page_breaks'] = 1; // allow [page_break] in stories $_CONF['page_break_comments'] = 'last'; // When an article has a page break, // show comments on the 'first', //'last' or 'all' pages? $_CONF['article_image_align'] = 'right'; // Topic icon on left or right. $_CONF['show_topic_icon'] = 1; // default for new stories // Advanced theme settings // Set the default whether to display the right-side blocks (= true) or not // (= false). In the default configuration, Geeklog will only display the // right-side blocks on the index page. Please note that setting this to true // will reduce the amount of space available for the actual page content, // especially for users with narrow browser windows. // May require theme changes in article/article.thtml (depending on the theme // used) to avoid the What's Related and Story Options "blocks" showing up in // an extra (fourth) column. $_CONF['show_right_blocks'] = false; // It is recommended to leave these unchanged and overwrite them in the theme's // functions.php instead. // When set to 1, this will render the first story on any page using the // templates for featured stories - even if that story is not featured. $_CONF['showfirstasfeatured'] = 0; // When set to 1, this will make the {left_blocks} variable available in // footer.thtml (and disable it in header.thtml). This is really only useful // for two-column layouts where you want the left column contain the stories // and the right column contain the standard blocks. $_CONF['left_blocks_in_footer'] = 0; // +---------------------------------------------------------------------------+ // | RSS feed settings | // | | // | Settings for RSS feeds (aka RDF feeds). Please note that most of these | // | are merely default settings for the feeds created from the "Content | // | Syndication" entry in the Admin's menu. | // +---------------------------------------------------------------------------+ $_CONF['backend'] = 1; // 1 = activate feeds, 0 = off // path to your site's default RSS feed $_CONF['rdf_file'] = $_CONF['path_html'] . 'backend/geeklog.rss'; // This allows a person to limit the rss feed to a certain number of stories // (e.g. 10 or 12) or else limit the rss feed to all stories within a certain // period of time in hours (e.g. 24h or 168h). $_CONF['rdf_limit'] = 10; // number of stories (10) or hours (24h) // Include the story's entire intro text in the feed (= 1) or limit the number // of characters from the intro text (any number > 1) or don't include the text // at all (= 0). $_CONF['rdf_storytext'] = 1; // Default language for the feed - may have to be different than the locale //@@@@@ //$_CONF['rdf_language'] = 'en-gb'; $_CONF['rdf_language'] = 'ja'; // Upper limit for all imported feeds (0 = unlimited, i.e. import all of the // headlines from the feed). // Individual limits can be set for every feed in the portal block's settings. $_CONF['syndication_max_headlines'] = 0; // Uncomment the following line to set the copyright year in the site's footer // to a specific year. Otherwise, the current year will be used. // $_CONF['copyrightyear'] = '2005'; // Optional Image Settings // If you set $_CONF['image_lib'] below, you must supply a path for the library // you will use. Setting this also assumes that if a photo is uploaded that is // too big either by the image sizes below or by overriding them using the // upload object then the library you choose will attempt to resize the image. // Leaving this value empty disables this feature $_CONF['image_lib'] = ''; // can be one of 'netpbm', 'imagemagick', 'gdlib' // If you set image_lib to 'imagemagick' give the complete path to mogrify // here (i.e. including the name of the executable), otherwise comment it out // NOTE: requires ImageMagick version 5.4.9 (or newer) //$_CONF['path_to_mogrify'] = '/path/to/mogrify'; // If you set image_lib to 'netpbm' give the path to the netpbm directory, you // need the trailing slash here. // NOTE: if you use NETPBM, use the latest package from the Gallery package for // your operating system found at http://sourceforge.net/projects/gallery in // the download section. You need to take the netpbm tarball from them and // uncompress the file which will create a netpbm directory. If you plan to // only use netpbm with Geeklog, put that entire folder in /path/to/geeklog and // adjust the path below. The only programs you need from netpbm are giftopnm, // jpegtopnm, pngtopnm, ppmtogif, pnmtojpeg, pnmtopng and pnmscale //$_CONF['path_to_netpbm'] = '/path/to/netpbm/'; // Uncomment the following line if you experience problems with the image // upload. Debug messages will be added to the error.log file. // $_CONF['debug_image_upload'] = true; // When set to 1, Geeklog will keep the original, unscaled images and make // the smaller image link to the unscaled image. $_CONF['keep_unscaled_image'] = 0; // 1 = keep original images // when above is set to one and this here also, the user can choose between // using the original or scaled image in a story $_CONF['allow_user_scaling'] = 1; // 1 = allow the user to choose // Story image settings $_CONF['max_image_width'] = 160; // In pixels $_CONF['max_image_height'] = 120; // In pixels $_CONF['max_image_size'] = 1048576; // 1048576 = 1MB // Topic icon settings $_CONF['max_topicicon_width'] = 48; // In pixels $_CONF['max_topicicon_height'] = 48; // In pixels $_CONF['max_topicicon_size'] = 65536; // 65536 = 64KB // User photo settings $_CONF['max_photo_width'] = 128; // In pixels $_CONF['max_photo_height'] = 128; // In pixels $_CONF['max_photo_size'] = 65536; // 65536 = 64KB // Use avatars from gravatar.com (if set = true). // A gravatar will only be requested if there is no uploaded photo. $_CONF['use_gravatar'] = false; // gravatar.com provides "movie-style" ratings of the avatars (G, PG, R, X). // Setting this to 'R' would allow avatars rated as G, PG, and R (but not X). // $_CONF['gravatar_rating'] = 'R'; // Force a max. width when displaying the user photo (also used for gravatars) // $_CONF['force_photo_width'] = 75; // Use this image when there's neither an uploaded photo nor a gravatar. // Should be the complete URL of the image. // $_CONF['default_photo'] = 'http://example.com/default.jpg'; // Comment Settings $_CONF['commentspeedlimit'] = 45; // minimum time between comment posts, in seconds $_CONF['comment_limit'] = 100; // Default Number of Comments under Story // Default Comment Mode; from 'threaded','nested', 'nocomments', or 'flat' $_CONF['comment_mode'] = 'threaded'; // Allow / disallow comments to stories by default (can be changed individually for every story) $_CONF['comment_code'] = 0; // 0 = comments enabled, -1 = disabled // Password setting: minimum time between two requests for a new password // 次にパスワード変更要求を送信するまでにまたなければならない時間 // 日本語版では 既定値を 300秒(5分)から 5秒に変更 $_CONF['passwordspeedlimit'] = 5; // seconds = 5 minutes // Login Speedlimit. $_CONF['login_attempts'] = 3; // number of login attempts allowed before speedlimit kicks in $_CONF['login_speedlimit'] = 300; // wait (in seconds) after $_CONF['login_attempts'] failed logins // Parameters for checking HTML tags // *** Warning: Adding the following tags to the list of allowable HTML can // *** make your site vulnerable to scripting attacks! // *** Use with care: