3: 2007-11-25 (日) 11:37:49 nao-pon |
現: 2010-12-23 (木) 11:27:03 nao-pon 禁止語句と禁止URLの設定 について追記, 呼称の変更 へっちわいぴー -> はいぱー at 2011-12-15 (木) 08:28:54 |
| #nopagecomment | | #nopagecomment |
- | #navi(../) | + | #navi |
- | * HypCommonPreLoad (えっちわいぴー・こもん・ぷりろーど) [#g3254c0b] | + | * HypCommonPreLoad (はいぱー・こもん・ぷりろーど) [#g3254c0b] |
| | | |
| + | #block(class:@round@caution,w:90%){{ |
| + | //:&font(Red){注意};| |
| + | ~Ver 20080604 未満では、すべての機能がデフォルトで有効になっていましたが、Ver 20080604 以降では、デフォルト値が変更になり、すべての機能が無効になっています。 |
| + | ~すでに hyp_preload.conf.php にて、独自設定で運用されている場合は、問題ありませんがデフォルト値で運用されている場合は、「[[設定方法>./#y8348a4c]]」を参考に、hyp_preload.conf.php にて設定を行ってください。 |
| + | }} |
| | | |
| アクセス元の検索ワード&エンジン名取得や、検索語のハイライト表示機能、スパム投稿フィルターを組み込む XOOPS Cube 用の Preload Class です。 | | アクセス元の検索ワード&エンジン名取得や、検索語のハイライト表示機能、スパム投稿フィルターを組み込む XOOPS Cube 用の Preload Class です。 |
| ** 組み込み手順 [#qf6be9b3] | | ** 組み込み手順 [#qf6be9b3] |
| | | |
- | + なにはともあれ、HypCommonFunc サーバーにアップロードしてください。 | + | *** X-update 利用 [#c817e9ed] |
- | + サーバー上に XOOPS_ROOT_PATH/cache2/kakasi というディレクトリを作成してファイル作成権限を与えてください。 | + | |
| + | HypCommonPreLoad は、XOOPS Cube Legacy 2.2 以上で動作する X-update に対応しています。 |
| + | |
| + | X-update でインストールすることで、ファイル・フォルダの配置やパーミッション設定を自動で行うことができるので、XOOPS Cube Legacy 2.2 以上の環境下では X-update によるインストール&アップデートを強くお勧めします。 |
| + | |
| + | HypCommonPreLoad は、X-update 上では "hypconf" としてリストアップされています。 |
| + | |
| + | X-update については次のリンクを参照してください。 |
| + | |
| + | - [[X-update GitHub:https://github.com/XoopsX/xupdate]] |
| + | - [[X-update 最新版のダウンロード:https://github.com/XoopsX/xupdate/zipball/master]] |
| + | - [[X-update マニュアル (XUGJ):http://www.xugj.org/modules/xpwiki/?ModuleManuals%2FX-update]] |
| + | |
| + | *** FTP によるアップロード [#pc621159] |
| + | |
| + | + なにはともあれ、HypCommonFunc をダウンロード、解凍して html 側、xoops_trust_path 側を間違えないようにサーバーにアップロードしてください。 |
| + | + Ver 20080604 以降では、すべての機能が無効になっていますので、必要に応じて各機能を有効にしてください。 |
| + | -- その設定方法は、このページの「[[設定方法>./#y8348a4c]]」をご覧ください。 |
| | | |
| *** XOOPS Cube の場合 [#zf014fd9] | | *** XOOPS Cube の場合 [#zf014fd9] |
| *** XOOPS 2 の場合 [#o79d4795] | | *** XOOPS 2 の場合 [#o79d4795] |
| | | |
- | + 以前に [[HypCommonFunc>../HypCommonFunc]], [[検索語マーカー>../検索語マーカー]], [[BBQあらしお断りシステム>../BBQあらしお断りシステム]] などを 組み込んでいた場合は、common.php を元の状態に戻します。 | + | + 以前に HypCommonFunc, 検索語マーカー, BBQあらしお断りシステム などを 組み込んでいた場合は、common.php を元の状態に戻します。 |
- | + [[../検索語マーカー]] を組み込んでいた場合は、XOOPS_ROOT_PATH/footer.php を元の状態に戻します。 | + | + 検索語マーカー を組み込んでいた場合は、XOOPS_ROOT_PATH/footer.php を元の状態に戻します。 |
| + XOOPS_ROOT_PATH/include/common.php を編集します。 | | + XOOPS_ROOT_PATH/include/common.php を編集します。 |
| // ############## Include common functions file ############## | | // ############## Include common functions file ############## |
| ** 設定方法 [#y8348a4c] | | ** 設定方法 [#y8348a4c] |
| | | |
- | -設定を変えるには XOOPS_TRUST_PATH/class/hyp_common/preload/hyp_preload.conf.php.rename を hyp_preload.conf.php にリネームしてその内容を編集します。~ | + | おおまかな設定は hypconf モジュールで行います。hypconf モジュールは HypCommonFunc に含まれています。サーバーにアップロード後に XOOPS のモジュールのインストールからインストールを行なってください。 |
- | また、このファイルは html側の XOOPS_ROOT_PATH/class/hyp_common ディレクトリに置くこともできます。その場合は html側 が優先されますので、サイトごとに設定を変えることも可能です。~ | + | インストール後は、モジュール設定から「HypCommonの設定」を選択して適宜設定を行なってください。 |
| + | |
| + | *** 更に詳細な設定 [#x3d42641] |
| + | -さらに詳細な設定を変えるには XOOPS_TRUST_PATH/class/hyp_common/preload/hyp_preload.conf.php.rename を hyp_preload.conf.php にリネームしてその内容を編集します。~ |
| + | また、このファイルは html側の XOOPS_ROOT_PATH/class/hyp_common ディレクトリに置くこともできます。その場合は html側 が優先されますので、サイトごとに設定を変えることも可能です。 |
| + | |~パス|~ファイル名|~優先度|~備考|h |
| + | |XOOPS_ROOT_PATH/class/hyp_common/|hyp_preload.conf.php|1|編集可| |
| + | |XOOPS_TRUST_PATH/class/hyp_common/preload/|hyp_preload.conf.php|2|編集可| |
| + | |XOOPS_TRUST_PATH/class/hyp_common/preload/|hyp_preload.php|3|編集不可(デフォルト値)&br;上記2つのファイルが存在しない場合このファイル内の設定値が適用されます。| |
| -文字エンコーディングを EUC-JP 以外にして XOOPS を運用している場合(UTF-8など)は、html側のXOOPS_ROOT_PATH/class/hyp_common/hyp_preload.conf.php をその文字エンコーディングで保存してください。 | | -文字エンコーディングを EUC-JP 以外にして XOOPS を運用している場合(UTF-8など)は、html側のXOOPS_ROOT_PATH/class/hyp_common/hyp_preload.conf.php をその文字エンコーディングで保存してください。 |
| -設定箇所は以下の部分です。 | | -設定箇所は以下の部分です。 |
- | #code(php){{ | + | #code(php,15-){{ |
- | // 各種設定 | + | // 各機能のメインスイッチ (On = 1, Off = 0) |
- | $this->encodehint_word = 'ぷ'; // POSTエンコーディング判定用文字 | + | $this->use_set_query_words = 0; // 検索ワードを定数にセット |
- | $this->encodehint_name = 'HypEncHint'; // POSTエンコーディング判定用 Filed name | + | $this->use_words_highlight = 0; // 検索ワードをハイライト表示 |
| + | $this->use_proxy_check = 0; // POST時プロキシチェックする |
| + | $this->use_dependence_filter = 0; // 機種依存文字フィルター |
| + | $this->use_post_spam_filter = 0; // POST SPAM フィルター |
| + | $this->post_spam_trap_set = 0; // 無効フィールドのBot罠を自動で仕掛ける |
| + | $this->use_k_tai_render = 0; // 携帯対応レンダーを有効にする |
| + | $this->use_smart_redirect = 0; // スマートリダイレクトを有効にする |
| + | |
| + | // 各種設定 |
| + | $this->configEncoding = 'EUC-JP'; // このファイルの文字コード |
| + | |
| + | $this->encodehint_word = 'ぷ'; // POSTエンコーディング判定用文字 |
| + | $this->encodehint_name = 'HypEncHint'; // POSTエンコーディング判定用 Filed name |
| + | $this->detect_order = 'ASCII, JIS, UTF-8, eucJP-win, EUC-JP, SJIS-win, SJIS'; |
| + | |
| + | $this->msg_words_highlight = 'これらのキーワードがハイライトされています'; |
| + | |
| + | $this->no_proxy_check = '/^(127\.0\.0\.1|192\.168\.1\.)/'; // 除外IP |
| + | $this->msg_proxy_check = 'Can not post from public proxy.'; |
| + | |
| + | // POST SPAM |
| + | $this->use_mail_notify = 1; // POST SPAM メール通知 0:なし, 1:SPAM判定のみ, 2:すべて |
| + | $this->send_mail_interval = 60; // まとめ送りのインターバル(分) (0 で随時送信) |
| + | $this->post_spam_a = 1; // <a> タグ 1個あたりのポイント |
| + | $this->post_spam_bb = 1; // BBリンク 1個あたりのポイント |
| + | $this->post_spam_url = 1; // URL 1個あたりのポイント |
| + | $this->post_spam_host = 31; // Spam HOST の加算ポイント |
| + | $this->post_spam_word = 10; // Spam Word の加算ポイント |
| + | $this->post_spam_filed = 51; // Spam 無効フィールドの加算ポイント |
| + | $this->post_spam_trap = '___url';// Spam 罠用無効フィールド名 |
| + | |
| + | $this->post_spam_user = 50; // POST SPAM 閾値: ログインユーザー |
| + | $this->post_spam_guest = 15; // POST SPAM 閾値: ゲスト |
| + | $this->post_spam_badip = 100; // アクセス拒否リストへ登録する閾値 |
| + | |
| + | // POST SPAM のポイント加算設定 |
| + | $this->post_spam_rules = array( |
| + | // 同じURLが1行に3回 11pt |
| + | "/((?:ht|f)tps?:\/\/[!~*'();\/?:\@&=+\$,%#\w.-]+).+?\\1.+?\\1/i" => 11, |
| + | |
| + | // 65文字以上の英数文字のみで構成されている 15pt |
| + | // '/^[\x00-\x7f\s]{65,}$/' => 15, |
| + | |
| + | // 無効な文字コードがある 31pt |
| + | '/[\x00-\x08\x11-\x12\x14-\x1f\x7f]+/' => 31 |
| + | ); |
| + | |
| + | // 無効なフィールド定義 |
| + | $this->ignore_fileds = array( |
| + | // 'url' => array('newbb/post.php', 'comment_post.php'), |
| + | ); |
| + | |
| + | // 検索ワード定数名 |
| + | $this->q_word = 'XOOPS_QUERY_WORD'; // 検索ワード |
| + | $this->q_word2 = 'XOOPS_QUERY_WORD2'; // 検索ワード分かち書き |
| + | $this->se_name = 'XOOPS_SEARCH_ENGINE_NAME'; // 検索元名 |
| + | |
| + | // KAKASI での分かち書き結果のキャッシュ先 |
| + | $this->kakasi_cache_dir = XOOPS_ROOT_PATH.'/cache2/kakasi/'; |
| + | |
| + | // スマートリダイレクトのポップアップ最短秒数 |
| + | $this->smart_redirect_min_sec = 5; |
| + | |
| + | ///////////////////////// |
| + | // 携帯対応レンダー設定 |
| + | |
| + | // 携帯端末判定用 UA 正規表現 |
| + | $this->k_tai_conf['ua_regex'] = '#(?:SoftBank|Vodafone|J-PHONE|DoCoMo|UP\.Browser|DDIPOCKET|WILLCOM)#'; |
| + | |
| + | // HTML再構築用タグ設定 |
| + | $this->k_tai_conf['rebuilds'] = array( |
| + | 'headerlogo' => array( 'above' => '<center>', |
| + | 'below' => '</center>'), |
| + | 'headerbar' => array( 'above' => '<hr>', |
| + | 'below' => ''), |
| + | 'breadcrumbs' => array( 'above' => '', |
| + | 'below' => ''), |
| + | 'leftcolumn' => array( 'above' => '<hr>', |
| + | 'below' => ''), |
| + | 'centerCcolumn' => array( 'above' => '<hr>', |
| + | 'below' => ''), |
| + | 'centerLcolumn' => array( 'above' => '', |
| + | 'below' => ''), |
| + | 'centerRcolumn' => array( 'above' => '', |
| + | 'below' => ''), |
| + | 'content' => array( 'above' => '<hr>', |
| + | 'below' => ''), |
| + | 'rightcolumn' => array( 'above' => '<hr>', |
| + | 'below' => ''), |
| + | 'footerbar' => array( 'above' => '', |
| + | 'below' => ''), |
| + | 'easylogin' => array( 'above' => '<div style="text-align:center;background-color:#DBBCA6;font-size:small">[ ', |
| + | 'below' => ' ]</div>'), |
| + | 'redirectMessage'=> array( 'above' => '<marquee loop="3">', |
| + | 'below' => '</marquee>'), |
| + | 'blockMenu' => array( 'above' => '<div style="background-color:#E0EEEE;font-size:small">', |
| + | 'below' => '</div>'), |
| + | 'blockContent' => array( 'above' => '', |
| + | 'below' => ''), |
| + | 'toMain' => array( 'above' => '<hr /><div style="text-align:center">', |
| + | 'below' => '</div>'), |
| + | 'subMenu' => array( 'above' => '<div id="submenu" style="background-color:#ccccff"><h2 style="text-align:center">サブメニュー</h2></div>', |
| + | 'below' => ''), |
| + | ); |
| + | |
| + | // 携帯用XOOPSテーマセット |
| + | $this->k_tai_conf['themeSet'] = 'ktai_default'; |
| + | |
| + | // 携帯用XOOPSテンプレートセット |
| + | $this->k_tai_conf['templateSet'] = ''; |
| + | |
| + | // 使用テンプレート |
| + | $this->k_tai_conf['template'] = 'default'; |
| + | |
| + | // <body> attributes |
| + | $this->k_tai_conf['bodyAttribute'] = ''; |
| + | |
| + | // 無効にするブロックの bid (Block Id) (無指定:フィルタリングしない) |
| + | $this->k_tai_conf['disabledBlockIds'] = array(); |
| + | |
| + | // 有効にするブロックの bid (Block Id) (無指定:フィルタリングしない) |
| + | $this->k_tai_conf['limitedBlockIds'] = array(); |
| + | |
| + | // 常に表示するブロックの bid (Block Id) (メインメニューなど) |
| + | $this->k_tai_conf['showBlockIds'] = array(); |
| | | |
- | $this->use_set_query_words = 1; // 検索ワードを定数にセット | + | // インラインイメージのリサイズ最大ピクセル |
- | $this->use_words_highlight = 1; // 検索ワードをハイライト表示 | + | $this->k_tai_conf['pictSizeMax'] = '200'; |
| + | |
| + | // インラインイメージを表示するホスト名(後方一致) |
| + | $this->k_tai_conf['showImgHosts'] = array('amazon.com', 'yimg.jp', 'yimg.com', 'ad.jp.ap.valuecommerce.com', 'ad.jp.ap.valuecommerce.com', 'ba.afl.rakuten.co.jp', 'assoc-amazon.jp', 'ad.linksynergy.com', 'google.com'); |
| + | |
| + | // 直接画像を表示するホスト名(後方一致) |
| + | $this->k_tai_conf['directImgHosts'] = array('google-analytics.com'); |
| + | |
| + | // リダイレクトスクリプトを経由しないホスト名(後方一致) |
| + | $this->k_tai_conf['directLinkHosts'] = array('amazon.co.jp', 'ck.jp.ap.valuecommerce.com', 'afl.rakuten.co.jp', 'maps.google.com'); |
| | | |
- | $this->use_proxy_check = 1; // POST時プロキシチェックする | + | // 外部リンク用リダイレクトスクリプト |
- | $this->no_proxy_check = '/^(127\.0\.0\.1|192\.168\.1\.)/'; // 除外IP | + | $this->k_tai_conf['redirect'] = XOOPS_URL . '/class/hyp_common/gate.php?way=redirect&_d=0&_u=0&_x=0&l='; |
- | $this->msg_proxy_check = '公開プロキシ経由での投稿はできません。'; | + | |
| + | // Easy login を有効にする |
| + | $this->k_tai_conf['easyLogin'] = 1; |
| + | // Easy login で IP アドレス帯域をチェックしない |
| + | $this->k_tai_conf['noCheckIpRange'] = 0; |
| + | |
| + | // リンクメッセージ |
| + | $this->k_tai_conf['msg']['easylogin'] = '簡単ログイン'; |
| + | $this->k_tai_conf['msg']['logout'] = 'ログアウト'; |
| + | $this->k_tai_conf['msg']['easyloginSet'] = '簡単ログイン:設定'; |
| + | $this->k_tai_conf['msg']['easyloginUnset'] = '簡単ログイン:解除'; |
| + | $this->k_tai_conf['msg']['toMain'] = '本文を表示'; |
| + | $this->k_tai_conf['msg']['mainMenu'] = 'メインメニュー'; |
| + | $this->k_tai_conf['msg']['subMenu'] = 'サブメニュー'; |
| + | |
| + | // アイコン |
| + | $this->k_tai_conf['icon']['first'] = ''; |
| + | $this->k_tai_conf['icon']['prev'] = ''; |
| + | $this->k_tai_conf['icon']['next'] = ''; |
| + | $this->k_tai_conf['icon']['last'] = ''; |
| + | $this->k_tai_conf['icon']['extLink'] = ''; |
| + | $this->k_tai_conf['icon']['hTag'] = ''; |
| + | $this->k_tai_conf['icon']['RSS'] = ''; |
| + | |
| + | $this->k_tai_conf['icon']['toMain'] = ''; |
| + | |
| + | // style |
| + | $this->k_tai_conf['style']['highlight'] = 'background-color:#ffc0cb'; |
| + | |
| + | // Easy login: 設定 or 解除リンクを表示するURI(XOOPS_URL以降)とuidのGETキーと挿入位置 |
| + | $this->k_tai_conf['easyLoginConfPath'] = '/userinfo.php'; |
| + | $this->k_tai_conf['easyLoginConfuid'] = 'uid'; |
| + | $this->k_tai_conf['easyLoginConfInsert'] = 'content'; |
| + | |
| + | // GET query keys |
| + | $this->k_tai_conf['getKeys']['page'] = '_p_'; |
| + | $this->k_tai_conf['getKeys']['hash'] = '_h_'; |
| + | $this->k_tai_conf['getKeys']['block'] = '_b_'; |
| + | |
| + | //// Google Adsense 設定 |
| + | // config ファイルのパス |
| + | $this->k_tai_conf['googleAdsense']['config'] = ''; |
| + | // 挿入場所 ('header', 'body', 'footer') の下、無指定時はページ最上部 |
| + | $this->k_tai_conf['googleAdsense']['below'] = ''; |
| + | |
| + | // Google Analytics 設定 |
| + | $this->k_tai_conf['googleAnalyticsId'] = ''; |
| + | |
| + | // 携帯対応レンダー設定 以上 |
| + | ///////////////////////////// |
| + | }} |
| | | |
- | $this->use_dependence_filter = 1; // 機種依存文字フィルター | + | -検索ワードの分かち書き機能を利用する場合は、サーバーに KAKASI がインストールされていて、その KAKASI のパスを XOOPS_TRUST_PATH/class/hyp_common/hyp_kakasi.php 内で適切に設定する必要があります。 |
| + | -KAKASI での分かち書き結果のキャッシュ を有効にするには、"$this->kakasi_cache_dir" で指定したディレクトリにファイル作成権限(707, 777 など)を与える必要があります。 |
| | | |
- | // POST SPAM | + | *** 各機能の詳細説明 [#vd0c8534] |
- | $this->use_post_spam_filter = 1; // POST SPAM フィルター | + | **** 検索ワードを定数にセット [#ee7818e8] |
- | $this->use_mail_notify = 1; // POST SPAM メール通知 0:なし, 1:SPAM判定のみ, 2:すべて | + | |
- | $this->post_spam_a = 1; // <a> タグ 1個あたりのポイント | + | |
- | $this->post_spam_bb = 1; // BBリンク 1個あたりのポイント | + | |
- | $this->post_spam_url = 1; // URL 1個あたりのポイント | + | |
- | $this->post_spam_host = 31; // Spam HOST の加算ポイント | + | |
- | $this->post_spam_word = 10; // Spam Word の加算ポイント | + | |
- | $this->post_spam_filed = 51; // Spam 無効フィールドの加算ポイント | + | |
- | $this->post_spam_trap = '___url';// Spam 罠用無効フィールド名 | + | |
- | $this->post_spam_trap_set = 1; // 無効フィールドの罠を自動で仕掛ける | + | |
| | | |
- | $this->post_spam_user = 30; // POST SPAM 閾値: ログインユーザー | + | サイト内検索や検索エンジンの検索結果から移動してきた場合に、ユーザーの検索語を定数にセットします。 |
- | $this->post_spam_guest = 15; // POST SPAM 閾値: ゲスト | + | |
- | $this->post_spam_badip = 50; // アクセス拒否リストへ登録する閾値 | + | |
| | | |
- | // 検索ワード定数名 | + | **** 検索ワードをハイライト表示 [#q4073e75] |
- | $this->q_word = 'XOOPS_QUERY_WORD'; // 検索ワード | + | |
- | $this->q_word2 = 'XOOPS_QUERY_WORD2'; // 検索ワード分かち書き | + | |
- | $this->se_name = 'XOOPS_SEARCH_ENGINE_NAME'; // 検索元名 | + | |
| | | |
- | // KAKASI のパスは、XOOPS_TRUST_PATH/class/hyp_common/hyp_kakasi.php で | + | ページ内の検索された語句をハイライト表示します。ちょうど、Google などのキャッシュ表示のような感じです。 |
- | // 設定する。規定値: '/usr/bin/kakasi' | + | |
| | | |
- | // KAKASI での分かち書き結果のキャッシュ先 | + | **** POST時プロキシチェックする [#v2279873] |
- | $this->kakasi_cache_dir = XOOPS_ROOT_PATH.'/cache2/kakasi/'; | + | |
| | | |
- | // POST SPAM のポイント加算設定 | + | 公開プロキシ経由のフォームからの投稿・登録処理を拒否します。 |
- | $this->post_spam_rules = array( | + | |
- | // 同じURLが1行に3回 11pt | + | |
- | "/((?:ht|f)tps?:\/\/[!~*'();\/?:\@&=+\$,%#\w.-]+)[^!~*'();\/?:\@&=+\$,%#\w.-]+?\\1[^!~*'();\/?:\@&=+\$,%#\w.-]+?\\1/i" => 11, | + | |
| | | |
- | // 65文字以上の英数文字のみで構成されている 15pt | + | **** 機種依存文字フィルター [#efba8454] |
- | '/^[\x00-\x7f\s]{65,}$/' => 15, | + | |
| | | |
- | // 無効な文字コードがある 31pt | + | Windows の機種依存文字をチェックし、代替文字に置換します。 |
- | '/[\x00-\x08\x11-\x12\x14-\x1f\x7f\xff]+/' => 31 | + | |
- | ); | + | |
| | | |
- | // 無効なフィールド定義 | + | **** POST SPAM フィルター [#af96dd9a] |
- | $this->ignore_fileds = array( | + | |
- | // 'url' => array('newbb/post.php', 'comment_post.php'), | + | |
- | ); | + | |
- | }} | + | |
| | | |
- | -検索ワードの分かち書き機能を利用する場合は、サーバーに KAKASI がインストールされていて、その KAKASI のパスを XOOPS_TRUST_PATH/class/hyp_common/hyp_kakasi.php 内で適切に設定する必要があります。 | + | フォームから投稿・登録処理の送信内容をチェックしスパムと判定した場合、即刻 exit() します。(真っ白なページになります) |
| + | |
| + | スパム判定の仕組みは、<a>タグ、BBコードリンク、URL などの個数をチェックし、設定されたポイントを加算していき、閾値を超えたものをスパムと判定します。 |
| + | |
| + | 閾値は、ゲスト・登録ユーザーと分けて設定できます。 |
| + | |
| + | ***** 禁止語句と禁止URLの設定 [#j77a656f] |
| + | |
| + | 禁止語句と禁止URLは予め主なものが、"trust/class/hyp_common/dat" ディレクトリの "spamwords.dat" と "spamsites.dat" にて設定されています。 |
| + | |
| + | これらに追加設定したい場合は、"trust/class/hyp_common/config" ディレクトリの "spamwords.conf.dat.rename" と "spamsites.conf.dat.rename" をそれぞれ "spamwords.conf.dat" と "spamsites.conf.dat" にリネームしてそれらのファイルに行単位で追記していきます。 |
| + | |
| + | "spamwords.conf.dat" の1行目は、そのファイルの文字エンコーディングをあらわしています。初期状態では、"@ UTF-8" になっていますので、UTF-8 にて保存してください。もし、EUC-JP で保存したいなら、一行目を "@ EUC-JP" とします。 |
| + | |
| + | **** 無効フィールドのBot罠を自動で仕掛ける [#a1bd4d0b] |
| + | |
| + | 通常のブラウザには表示されないフィールドを「SPAMボット」用に仕掛けて、そのフィールドに値が入っている場合に特別のポイント加算をします。 |
| + | |
| + | **** 携帯対応レンダーを有効にする [#ib8cb053] |
| + | |
| + | 携帯電話用に出力を再構成する「携帯対応レンダー」機能を有効にします。 |
| + | |
| + | 設定等詳しくは、[[./KtaiRender]] をご覧ください。 |
| + | |
| + | [[nao-pon/blog/2008-06-17 [プリロードで携帯対応する [ 携帯対応レンダー ] ] - UsersWiki:http://xoops.hypweb.net/modules/UsersWiki/person/nao-pon/blog/2008-06-17]] に開発時の日記もあります。 |
| | | |
- | -検索語マーカー用のCSSについて~ | + | *** 検索語マーカー用のCSSについて~ [#y53ed636] |
| CSS は XOOPS_ROOT_PATH/xoops.css に追加するとよいでしょう。~ | | CSS は XOOPS_ROOT_PATH/xoops.css に追加するとよいでしょう。~ |
| ※ background: url(&font(Red,b){/xoops/images/ext.png};) center right no-repeat;~ | | ※ background: url(&font(Red,b){/xoops/images/ext.png};) center right no-repeat;~ |
| }} | | }} |
| | | |
- | #navi(../) | + | #navi |