8: 2008-05-17 (土) 00:55:38 nao-pon[6] [7] | 9: 2008-07-17 (木) 10:40:02 nao-pon[6] [8] | ||
---|---|---|---|
Line 9: | Line 9: | ||
[[CVS から tarball をダウンロード:http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/hypweb/XOOPS_TRUST/class/hyp_common.tar.gz?view=tar]]した場合は、解凍したファイルを[[ディレクトリ構造>#vb6c77d3]]に従いサーバーにアップロードしてください。 | [[CVS から tarball をダウンロード:http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/hypweb/XOOPS_TRUST/class/hyp_common.tar.gz?view=tar]]した場合は、解凍したファイルを[[ディレクトリ構造>#vb6c77d3]]に従いサーバーにアップロードしてください。 | ||
- | XOOPS へ組み込むには、HypCommonPreLoad を導入してください。導入方法については、HypCommonPreLoad に XOOPS のバージョン別に記載してあります。 | + | XOOPS へ組み込むには、サーバーにアップロード後に HypCommonPreLoad を導入してください。導入方法については、HypCommonPreLoad に XOOPS のバージョン別に記載してあります。 |
** 最新版ダウンロード [#w419dfba] | ** 最新版ダウンロード [#w419dfba] | ||
Line 21: | Line 21: | ||
*** ディレクトリ構造 [#vb6c77d3] | *** ディレクトリ構造 [#vb6c77d3] | ||
- | - CVS から tarball をダウンロードした場合は、次のようにサーバーにアップロードしてください。 | + | - CVS から tarball をダウンロードした場合は、解凍後に次のようにサーバーにアップロードしてください。 |
- | -- html ディレクトリの中身を XOOPS_ROOT_PATH へ、その他のファイルディレクトリを&br;XOOPS_TRUST_PATH/class/hyp_common((なければFTPで作成してください)) ディレクトリ へアップロードすればOKです。 | + | -- XOOPS 2.0.16a JP の場合 |
- | - XOOPS_TRUST_PATH/cache ディレクトリがなければ作成して、パーミッションを 707 などにして、書き込み権限を与えてください。 | + | --- hyp_common/core_addons/html_2.0.16aJP ディレクトリの中身を &font(Blue){html側}; ''XOOPS_ROOT_PATH'' へ。 |
+ | -- XOOPS Cube Legacy の場合 | ||
+ | --- hyp_common/core_addons/html_2.0.16aJP ディレクトリの中身を削除。 | ||
+ | -- hyp_common/html ディレクトリの中身を &font(Blue){html側}; ''XOOPS_ROOT_PATH'' へ。 | ||
+ | -- hyp_common/core_addons/xoops_trust_path ディレクトリの中身を &font(Red){trust側}; ''XOOPS_TRUST_PATH'' へ。 | ||
+ | -- その他の hyp_common ディレクトリ以下を &font(Red){trust側}; ''XOOPS_TRUST_PATH/class'' ディレクトリ へ。 | ||
+ | - XOOPS_TRUST_PATH/cache ディレクトリがなければ作成して、パーミッションを 707 などにして、ファイル作成権限を与えてください。 | ||
+ | - XOOPS_TRUST_PATH/class/hyp_common/favicon/cache ディレクトリのパーミッションを 707 などにして、ファイル作成権限を与えてください。 | ||
- ini/http_request.ini.dist は、http通信をする Hyp_HTTP_Request クラスの設定ファイルの雛形です。プロキシ設定などサーバー固有の設定をしたい場合は、"ini/http_request.ini" として設定保存してください。&br;設定書式は、ini 形式です。 | - ini/http_request.ini.dist は、http通信をする Hyp_HTTP_Request クラスの設定ファイルの雛形です。プロキシ設定などサーバー固有の設定をしたい場合は、"ini/http_request.ini" として設定保存してください。&br;設定書式は、ini 形式です。 | ||
- | #pre{{ | + | **** XOOPS_ROOT_PATH [#m4c1152a] |
+ | #code(pre,nonumber){{ | ||
XOOPS_ROOT_PATH | XOOPS_ROOT_PATH | ||
├─class | ├─class | ||
Line 34: | Line 42: | ||
│ hyp_preload.conf.php.rename (PreLoadのオリジナル設定用ファイル雛形) | │ hyp_preload.conf.php.rename (PreLoadのオリジナル設定用ファイル雛形) | ||
│ image_magick.cgi (セーフモード時に使用。実行権限が必要) | │ image_magick.cgi (セーフモード時に使用。実行権限が必要) | ||
+ | │ redirect.php (携帯対応レンダー用) | ||
│ | │ | ||
- | └─preload | + | ├─preload (XOOPS Cube 用) |
- | HypCommonPreLoad.class.php (XOOPS Cube 用) | + | │ HdXoopsTplHook.class.php |
+ | │ HypCommonPreLoad.class.php | ||
+ | │ | ||
+ | └─themes | ||
+ | └─ktai_default (携帯対応レンダー用) | ||
+ | │ index.html | ||
+ | │ theme.html | ||
+ | │ | ||
+ | ├─images | ||
+ | │ logo.jpg | ||
+ | │ | ||
+ | └─templates | ||
+ | index.html | ||
}} | }} | ||
- | #pre{{ | + | |
+ | **** XOOPS_TRUST_PATH [#g5ca38e5] | ||
+ | #code(pre,nonumber){{ | ||
XOOPS_TRUST_PATH | XOOPS_TRUST_PATH | ||
+ | ├─libs | ||
+ | │ └─smartyplugins | ||
+ | │ │ resource.db.php | ||
+ | │ │ | ||
+ | │ └─x2 | ||
+ | │ resource.db.php | ||
├─cache ( 707 などファイル作成権限を与える) | ├─cache ( 707 などファイル作成権限を与える) | ||
└─class | └─class | ||
└─hyp_common | └─hyp_common | ||
+ | │ get_execpath.cgi | ||
+ | │ hyp_common_func.php | ||
+ | │ hyp_get_engine.php | ||
+ | │ hyp_kakasi.php | ||
+ | │ hyp_search_engines.dat (参照元サーチエンジンの定義) | ||
+ | │ hyp_simplexml.php | ||
+ | │ image_magick.cgi | ||
│ mac_ext.dat (Mac用機種依存文字データ) | │ mac_ext.dat (Mac用機種依存文字データ) | ||
│ mac_ext_utf8.dat ( 〃 UTF-8) | │ mac_ext_utf8.dat ( 〃 UTF-8) | ||
Line 50: | Line 86: | ||
│ win_ext.dat (Win用機種依存文字データ) | │ win_ext.dat (Win用機種依存文字データ) | ||
│ win_ext_utf8.dat ( 〃 UTF-8) | │ win_ext_utf8.dat ( 〃 UTF-8) | ||
- | │ get_execpath.cgi (実体) | ||
- | │ hyp_common_func.php | ||
- | │ hyp_get_engine.php | ||
- | │ hyp_kakasi.php | ||
- | │ hyp_search_engines.dat (参照元サーチエンジンの定義) | ||
- | │ hyp_simplexml.php | ||
- | │ image_magick.cgi (実体) | ||
│ | │ | ||
├─favicon | ├─favicon | ||
Line 111: | Line 140: | ||
│ | │ | ||
├─ini | ├─ini | ||
- | │ [http_request.ini] (Hyp_HTTP_Request クラスの設定ファイル(任意)) | + | │ http_request.ini.dist |
- | │ http_request.ini.dist(Hyp_HTTP_Request クラスの設定ファイル雛形) | + | │ |
+ | ├─ktairender | ||
+ | │ │ hyp_ktai_render.php | ||
+ | │ │ | ||
+ | │ ├─ipranges | ||
+ | │ │ au.ip | ||
+ | │ │ docomo.ip | ||
+ | │ │ softbank.ip | ||
+ | │ │ | ||
+ | │ └─templates | ||
+ | │ │ _TemplateTagsForXoopsTheme.html | ||
+ | │ │ | ||
+ | │ └─default | ||
+ | │ body.html | ||
+ | │ footer.html | ||
+ | │ header.html | ||
│ | │ | ||
├─mbemulator | ├─mbemulator | ||
Line 125: | Line 169: | ||
│ upper.table | │ upper.table | ||
│ | │ | ||
- | └─preload | + | ├─preload |
- | hyp_preload.conf.php.rename (PreLoadのオリジナル設定用ファイル雛形) | + | │ hyp_preload.conf.php.rename (PreLoadのオリジナル設定用ファイル雛形) |
- | hyp_preload.php (プリロードの実体) | + | │ hyp_preload.php (プリロードの実体) |
+ | │ | ||
+ | └─rss2html | ||
+ | │ hyp_rss2html.php | ||
+ | │ | ||
+ | └─templates | ||
+ | └─simple | ||
+ | base.html | ||
+ | item.html | ||
}} | }} | ||
(This host) = https://xoops.hypweb.net