差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
dokuwiki:referrers [2006/11/07] admindokuwiki:referrers [不明な日付] (現在) – 外部編集 (不明な日付) 127.0.0.1
行 1: 行 1:
 +====== Referrersプラグイン ======
 +===== 入手元 =====
 +http://www.dokuwiki.org/plugin:referrers
  
 +===== 日本語リソース =====
 +/lib/plungins/referrers/lang/ja/intro.txt
 +<file>
 +====== リファラー ======
 +
 +このプラグインは、サイトのリファラーを記録します。
 +どこからやってきたトラフィックなのかを見ることができます。
 +ログは、**wiki:referrers**に記録されているので、このプラグインを動かすためのページを作成する必要があります。
 +
 +現在は、管理者などのスーパーユーザーは記録されません。
 +同時にいくつかの検索エンジンやリファラースパムも記録しません。
 +これは将来のリリースで設定可能にする予定です。
 +
 +プラグインは、テンプレートに書き込むことで、機能が有効になります。
 +テンプレートの**<head></head>**タグの内側のどこかに、次のコードを挿入してください。
 +
 +<code php>
 +<?php
 +if (file_exists(DOKU_PLUGIN.'referrers/code.php')) include_once(DOKU_PLUGIN.'referrers/code.php');
 +if (function_exists('re_log_referrers')) re_log_referrers();
 +?>
 +</code>
 +
 +**注意**:上記のコードの挿入は、**必須**です。任意ではありません。
 +
 +**テンプレート編集者の注意**:もしユーザーがDokuwikiのリファラーを使わない
 +(またはこのプラグインを組み込んでいない)としても、
 +上記のコードを挿入するとテンプレートの準備が完了しています。
 +</file>
 +
 +/lib/plungins/referrers/lang/ja/lang.php
 +<code php>
 +<?php
 +/**
 + * japanese language file
 + *
 + * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 + * @author     
 + */
 + 
 +// settings must be present and set appropriately for the language
 +$lang['encoding'  = 'utf-8';
 +$lang['direction' = 'ltr';
 + 
 +// for admin plugins, the menu prompt to be displayed in the admin menu
 +// if set here, the plugin doesn't need to override the getMenuText() method
 +$lang['menu'] = 'リファラー';
 +
 +$lang['re_item_type'] = 'アイテムのタイプ';
 +$lang['re_item_option'] = 'アイテムのオプション';
 +
 +$lang['re_referrer_ignore'] = 'このサイトのドメイン名とwikiへのパス (例 <i>mysite.com/wiki</i>)';
 +$lang['re_dont_count_admin'] = '管理者やスーパーユーザーをカウントしない';
 +$lang['re_dont_count_users'] = 'ログインしているユーザーをカウントしない';
 +$lang['re_save'] = '保存';
 +</code>