<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
  xmlns:georss="http://www.georss.org/georss"
  xmlns:media="http://search.yahoo.com/mrss/" >
<channel>
  <title>藤右衛門の親父</title>
  <link>http://www.toemon.com/</link>
      <description>ようこそ</description>
        <pubDate>Thu, 28 Aug 2008 17:06:30 +0900</pubDate>
          <docs>http://backend.userland.com/rss/</docs>
        <generator>XOOPS Whatsnew</generator>
        <category>Whatsnew</category>
        <managingEditor>info@toemon.com (toychee)</managingEditor>
        <webMaster>info@toemon.com (toychee)</webMaster>
        <copyright>Copyright (c) 2008, toychee</copyright>
        <language>ja</language>
        <atom:link href="http://www.toemon.com/modules/whatsnew/rss.php" rel="self" type="application/rss+xml" />
        <image>
      <title>藤右衛門の親父</title>
      <link>http://www.toemon.com/</link>
      <url>http://www.toemon.com/modules/whatsnew/images/xoops_logo.gif</url>
      <width>144</width>
      <height>78</height>
    </image>
    <item>
  <title>Re: xoops_breadcrumbs</title>
  <link>http://www.toemon.com/modules/forum/index.php?topic_id=87#post_id348</link>
      <description>toemonさん、こんにちは。いつもお世話になってます。今日気付いたのですが、月別アーカイヴの月を切り替えた時にbreadcrumbsの表示が変わっておりません。ちなみにXPress、Wordpressのブロックどちらも同じ症状のようです。P.S.やっとリンク集モジュールをインストールしましたので、リンクさせて下さい。よろしくお願いします。</description>
        <pubDate>Thu, 28 Aug 2008 13:21:26 +0900</pubDate>
        <guid>http://www.toemon.com/modules/forum/index.php?topic_id=87#post_id348</guid>
        <category>フォーラム</category>
      
      <content:encoded> <![CDATA[
    toemonさん、こんにちは。<br />いつもお世話になってます。<br /><br />今日気付いたのですが、月別アーカイヴの月を切り替えた時にbreadcrumbsの表示が変わっておりません。<br />ちなみにXPress、Wordpressのブロックどちらも同じ症状のようです。<br /><br />P.S.やっとリンク集モジュールをインストールしましたので、リンクさせて下さい。よろしくお願いします。
    ]]> </content:encoded>
        <dc:creator>KURO</dc:creator>
                              </item>
  <item>
  <title>XPressME イベント通知機能　その４</title>
  <link>http://www.toemon.com/modules/xpress/index.php?p=636</link>
      <description>D3Forumコメント統合時の処理 前回の記事で問題となっていた、コメント投稿時に承認が必要な設定とした場合の処理にてWordPress側wordpress側でコメント承認作業後にadd_actionで取得できるイベントとしてwp_set_comment_statusというのを見つけました。このイベントでadd_actionした関数側でwp_get_comment_status($commentID);でステータスを取得すれば、イベント通知で、承認前には通知せず、 ...</description>
        <pubDate>Wed, 27 Aug 2008 22:00:44 +0900</pubDate>
        <guid>http://www.toemon.com/modules/xpress/index.php?p=636</guid>
        <category>日記・備忘録</category>
      
      <content:encoded> <![CDATA[
    D3Forumコメント統合時の処理
&nbsp;
前回の記事で問題となっていた、コメント投稿時に承認が必要な設定とした場合の処理にて
WordPress側
wordpress側でコメント承認作業後にadd_actionで取得できるイベントとしてwp_set_comment_statusというのを見つけました。
このイベントでadd_actionした関数側でwp_get_comment_status($commentID);でステータスを取得すれば、
イベント通知で、承認前には通知せず、承認後にコメントを通知する処理は書けそうです。
&nbsp;
D3forum側
相変わらずクレクレ君しちゃいました。　(^ ^;
&nbsp;
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME イベント通知機能　その３</title>
  <link>http://www.toemon.com/modules/xpress/index.php?p=633</link>
      <description>D3Forumコメント統合時の処理 function processCommentNotifications( $mode , $link_id , $forum_id , $topic_id , $post_id )をclass/xpressD3commentContent.class.php側でオーバライドする件はやっと終わった。 記事指定のコメント、投稿者指定のコメントのイベント通知はすんなりいったけど。カテゴリー指定コメントのイベント通知は、記事が複数カテゴリに属している場合もあるので、ループを書かなき ...</description>
        <pubDate>Tue, 26 Aug 2008 00:32:52 +0900</pubDate>
        <guid>http://www.toemon.com/modules/xpress/index.php?p=633</guid>
        <category>日記・備忘録</category>
      
      <content:encoded> <![CDATA[
    D3Forumコメント統合時の処理
&nbsp;
function processCommentNotifications( $mode , $link_id , $forum_id , $topic_id , $post_id )を
class/xpressD3commentContent.class.php側でオーバライドする件はやっと終わった。
&nbsp;
記事指定のコメント、投稿者指定のコメントのイベント通知はすんなりいったけど。
カテゴリー指定コメントのイベント通知は、記事が複数カテゴリに属している場合もあるので、ループを書かなきゃいけないのが、とても面倒だった。
&nbsp;
次は、
XPressME側のコメントシステムのイベント通知で、まだグローバルしかやってないので、記事指定のコメント、投稿者指定のコメント、カテゴリー指定コメントのイベント通知をやらなきゃ・・・
&nbsp;
その後、記事投稿のイベント通知もグローバルしかやってないので
投稿者指定、カテゴリー指定、指定記事変更のイベント通知をやらなきゃ・・・
&nbsp;
ここまできたら、やりかたはわかったので、ほぼ力仕事です。
&nbsp;
それから、承認が必要とかいうイベント、
こいつについては、まったくどうしていいのか考えてなくて、今書きながら考えたりしているのだが、フックできるようなアクションがあったかなぁ・・・　っていうかこちらは、WordPress側に、承認が必要な場合、メールで送る機能があったような・・・
最悪、こちらを使うということで、勘弁してもらうかも・・・
&nbsp;
とか、書きながら、嫌なことを、思いついた。
「D3Forumにしろ、WordPressにしろ、イベント通知を行うために使ってる、アクションの部分、承認前のコメントでもでちゃうんだろうか？　それとも承認されて始めて、出ちゃうんだろうか？」
&nbsp;
凄く気になって調べてみた。　wordpressのコメント投稿のフックに使ってるcomment_postアクションは承認される前からでやうみたいだ。　さらに悪いことに承認後の状態をフックできるアクションはないよー
&nbsp;
記事の投稿のほうに使ってるpublish_postアクションは、投稿ステータスが変更されて公開されたときに出るみたいなので、OKっぽいけど。
&nbsp;
それに、D3Forum側のコールバック用のfunction onUpdate()も承認前でコールされてるし、しかも承認後にはコールされないし
なんだか、D3Forum側も、WordPress側もコメント承認を必要にした場合は、ややこしい、というか自前でどうにもならないような・・・
&nbsp;
&nbsp;
&nbsp;
&nbsp;
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME260-Ver102</title>
  <link>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=131</link>
      <description>注意事項このモジュールは 。xoops module wordpress2.05を参考にWord Press 日本語の配布物をベースにリメークしたものです。ベースとなるバージョンはWordPress2.6-jaです。WordPress2.6.0ベースの初期バージョンです。Ver1.02の変更内容はこちらを参照ください。</description>
        <pubDate>Wed, 16 Jul 2008 19:38:48 +0900</pubDate>
        <guid>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=131</guid>
        <category>ダウンロード</category>
      
      <content:encoded> <![CDATA[
    <span style="color: #CC0000;">注意事項</span><br />このモジュールは 。<a href="http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1303" target="_blank">xoops module wordpress2.05</a>を参考に<a href="http://http://ja.wordpress.org/" target="_blank">Word Press 日本語</a>の配布物をベースにリメークしたものです。<br />ベースとなるバージョンはWordPress2.6-jaです。<br /><br />WordPress2.6.0ベースの初期バージョンです。<br /><a href="http://www.toemon.com/modules/xpwiki/?XPressME%2F%E5%85%B1%E9%80%9A%E5%A4%89%E6%9B%B4%E5%B1%A5%E6%AD%B4%2FVer1.02" target="_blank">Ver1.02の変更内容はこちら</a>を参照ください。
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME2011-ver102</title>
  <link>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=132</link>
      <description>注意事項このモジュールはxoops module wordpress2.05を参考にWordPress ME 2.0.X サポートの配布物をベースにリメークしたものです。ベースとなるバージョンはVer1.01よりWordPress ME 2.0.X サポートにて配布されるwpme2011-2になりました。Ver1.02での変更点1. wp-includes/pluggable.phpオーバライド位置変更 (2008/07/12) Ktai styleプラグインなどのget_currentuserinfo()をオーバライドしているプラグイン使用 ...</description>
        <pubDate>Thu, 17 Jul 2008 18:22:08 +0900</pubDate>
        <guid>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=132</guid>
        <category>ダウンロード</category>
      
      <content:encoded> <![CDATA[
    <span style="color: #CC0000;">注意事項</span><br />このモジュールは<a href="http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1303" target="_blank">xoops module wordpress2.05</a>を参考に<a href="http://wpme.sourceforge.jp/" target="_blank">WordPress ME 2.0.X サポート</a>の配布物をベースにリメークしたものです。<br /><br />ベースとなるバージョンはVer1.01よりWordPress ME 2.0.X サポートにて配布されるwpme2011-2になりました。<br /><br />Ver1.02での変更点<br />1. wp-includes/pluggable.phpオーバライド位置変更 (2008/07/12)<br />   Ktai styleプラグインなどのget_currentuserinfo()をオーバライドしているプラグイン使用時の対策として、<br />   XPressMEでのオーバライド位置を変更（プラグインオーバライド優先）した。<br />2. WordPress2.60対応 (2008/07/15)<br />   WordPress2.60への対応としてcore部分でwp-config.phpをinclude,requireしてる部分<br />   をwp-load.phpがあればそちらをrequire_onceするように変更<br />3. トラックバックの表示 (2008/07/16)<br />    D3forumとコメント統合しているとき、トラックバックが表示されない不具合を修正<br />4. XOOPS検索で記事のリンク先なし問題修正 (2008/07/17)<br />   XOOPS検索を行ったとき記事にタイトルにあるリンクが正しく設定されない<br />  （XPressME2011のみで発生)バグを修正 (thx kuro2)<br /><br />以前のバージョンの履歴については添付のchangelog.txtを参照ください。
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME223-ver102　(UTF-8限定)</title>
  <link>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=133</link>
      <description>注意事項このモジュールは 。xoops module wordpress2.05を参考にWord Press Japanの配布物をベースにリメークしたものです。ベースとなるバージョンはWordPressME2.2.3です。Ver1.02での変更点1. wp-includes/pluggable.phpオーバライド位置変更 (2008/07/12) Ktai styleプラグインなどのget_currentuserinfo()をオーバライドしているプラグイン使用時の対策として、 XPressMEでのオーバライド位置を変更（プラ ...</description>
        <pubDate>Thu, 17 Jul 2008 18:24:30 +0900</pubDate>
        <guid>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=133</guid>
        <category>ダウンロード</category>
      
      <content:encoded> <![CDATA[
    <span style="color: #CC0000;">注意事項</span><br />このモジュールは 。<a href="http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1303" target="_blank">xoops module wordpress2.05</a>を参考に<a href="http://wordpress.xwd.jp/" target="_blank">Word Press Japan</a>の配布物をベースにリメークしたものです。<br />ベースとなるバージョンはWordPressME2.2.3です。<br /><br />Ver1.02での変更点<br />1. wp-includes/pluggable.phpオーバライド位置変更 (2008/07/12)<br />   Ktai styleプラグインなどのget_currentuserinfo()をオーバライドしているプラグイン使用時の対策として、<br />   XPressMEでのオーバライド位置を変更（プラグインオーバライド優先）した。<br />2. WordPress2.60対応 (2008/07/15)<br />   WordPress2.60への対応としてcore部分でwp-config.phpをinclude,requireしてる部分<br />   をwp-load.phpがあればそちらをrequire_onceするように変更<br />3. トラックバックの表示 (2008/07/16)<br />    D3forumとコメント統合しているとき、トラックバックが表示されない不具合を修正<br />4. XOOPS検索で記事のリンク先なし問題修正 (2008/07/17)<br />   XOOPS検索を行ったとき記事にタイトルにあるリンクが正しく設定されない<br />  （XPressME2011のみで発生)バグを修正 (thx kuro2)<br /><br />以前のバージョンの履歴については添付のchangelog.txtを参照ください。
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME233-ver102　(UTF-8限定)</title>
  <link>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=134</link>
      <description>注意事項このモジュールは 。xoops module wordpress2.05を参考にWord Press 日本語の配布物をベースにリメークしたものです。ベースとなるバージョンはWordPress2.3.3-jaです。Ver1.02での変更点1. wp-includes/pluggable.phpオーバライド位置変更 (2008/07/12) Ktai styleプラグインなどのget_currentuserinfo()をオーバライドしているプラグイン使用時の対策として、 XPressMEでのオーバライド位置を変更（ ...</description>
        <pubDate>Thu, 17 Jul 2008 18:26:15 +0900</pubDate>
        <guid>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=134</guid>
        <category>ダウンロード</category>
      
      <content:encoded> <![CDATA[
    <span style="color: #CC0000;">注意事項</span><br />このモジュールは 。<a href="http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1303" target="_blank">xoops module wordpress2.05</a>を参考に<a href="http://http://ja.wordpress.org/" target="_blank">Word Press 日本語</a>の配布物をベースにリメークしたものです。<br />ベースとなるバージョンはWordPress2.3.3-jaです。<br /><br />Ver1.02での変更点<br />1. wp-includes/pluggable.phpオーバライド位置変更 (2008/07/12)<br />   Ktai styleプラグインなどのget_currentuserinfo()をオーバライドしているプラグイン使用時の対策として、<br />   XPressMEでのオーバライド位置を変更（プラグインオーバライド優先）した。<br />2. WordPress2.60対応 (2008/07/15)<br />   WordPress2.60への対応としてcore部分でwp-config.phpをinclude,requireしてる部分<br />   をwp-load.phpがあればそちらをrequire_onceするように変更<br />3. トラックバックの表示 (2008/07/16)<br />    D3forumとコメント統合しているとき、トラックバックが表示されない不具合を修正<br />4. XOOPS検索で記事のリンク先なし問題修正 (2008/07/17)<br />   XOOPS検索を行ったとき記事にタイトルにあるリンクが正しく設定されない<br />  （XPressME2011のみで発生)バグを修正 (thx kuro2)<br /><br /><br />以前のバージョンの履歴については添付のchangelog.txtを参照ください。
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME260-Ver102-beta1_to_fix</title>
  <link>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=140</link>
      <description>XPressME260-ver1.02のベータ1からFix版へのアップデート用のファイルです。解凍後、モジュールディレクトリに上書きして、アップデートしてください。</description>
        <pubDate>Thu, 17 Jul 2008 18:57:34 +0900</pubDate>
        <guid>http://www.toemon.com/modules/wfdownloads/singlefile.php?lid=140</guid>
        <category>ダウンロード</category>
      
      <content:encoded> <![CDATA[
    XPressME260-ver1.02のベータ1からFix版へのアップデート用のファイルです。<br /><br />解凍後、モジュールディレクトリに上書きして、アップデートしてください。
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME イベント通知機能　その２</title>
  <link>http://www.toemon.com/modules/xpress/index.php?p=630</link>
      <description>今日はコメント投稿時のイベントに挑戦XPressME単体でのコメントの方は、POSTと同じ感じで include/functions.ini.phpでadd_action(&quot;comment_post&quot;,    &quot;onaction_comment_notify&quot;);してfunction onaction_comment_notify($commentID){$post_id = $_POST[&quot;comment_post_ID&quot;]; $post_tytle = get_the_title($post_id);$post_url = get_permalink($post_id).&apos;#comments&apos;;$blog_name = get_bloginfo(&apos;name&apos;); $tag_array = array(&apos;XPRESS_POST_TITLE&apos; =&gt; $post_tytle , &apos;XPRESS_POST_URL&apos; =&gt; $post_u ...</description>
        <pubDate>Sun, 24 Aug 2008 23:01:48 +0900</pubDate>
        <guid>http://www.toemon.com/modules/xpress/index.php?p=630</guid>
        <category>日記・備忘録</category>
      
      <content:encoded> <![CDATA[
    今日はコメント投稿時のイベントに挑戦
XPressME単体でのコメントの方は、POSTと同じ感じで　include/functions.ini.phpで
add_action("comment_post",&nbsp;&nbsp;&nbsp; "onaction_comment_notify");して

function onaction_comment_notify($commentID){
	$post_id = $_POST["comment_post_ID"];
&nbsp;
	$post_tytle = get_the_title($post_id);
	$post_url = get_permalink($post_id).'#comments';
	$blog_name = get_bloginfo('name');
&nbsp;
	$tag_array = array('XPRESS_POST_TITLE' => $post_tytle , 'XPRESS_POST_URL' => $post_url,'XPRESS_BLOG_NAME' => $blog_name);
&nbsp;
	$notification_handler = &amp; xoops_gethandler('notification');
	$notification_handler->triggerEvent('global', 0, 'comment',$tag_array);
&nbsp;
}

してやれは、割とすんなりといったみたいです。
&nbsp;
問題は、D3Forumコメント統合時
D3Forum側のイベント通知を使えばそれはそれでいいのだけれど、
D3Forum側でイベント通知設定してなくても、XPressME側で設定してあれば、イベント通知されるようにするのが、やっかいです。
&nbsp;
これは、D3Forum Ver0.84から新たに追加された
function processCommentNotifications( $mode , $link_id , $forum_id , $topic_id , $post_id )を
class/xpressD3commentContent.class.php側でオーバライドしてごにょごにょやればいいらしいけど、未だ良くわからなくて、難航中です。
&nbsp;
あぁ、それから、
登録ユーザ向けにプレリリースのところに
XPressME2011,223,233,251 のVer1.03をおいて置きましたが、しばらくしたら一般リリースするつもりです。
&nbsp;

    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>XPressME イベント通知機能　その１</title>
  <link>http://www.toemon.com/modules/xpress/index.php?p=625</link>
      <description>XOOPSのイベント通知機能を殆ど使ったことのない親父、どんなイベントが必要なのか、よくわからないんだけれど、とりあえず モジュール全体として承認待ち（管理者用）記事の投稿コメントの投稿カテゴリーで絞っているときは選択カテゴリー内の記事の投稿選択カテゴリー内の記事に対するコメントの投稿投稿者で絞っているときは選択している投稿者による記事の ...</description>
        <pubDate>Sun, 24 Aug 2008 03:56:52 +0900</pubDate>
        <guid>http://www.toemon.com/modules/xpress/index.php?p=625</guid>
        <category>日記・備忘録</category>
      
      <content:encoded> <![CDATA[
    XOOPSのイベント通知機能を殆ど使ったことのない親父、どんなイベントが必要なのか、よくわからないんだけれど、とりあえず
&nbsp;
モジュール全体として
承認待ち（管理者用）
記事の投稿
コメントの投稿
カテゴリーで絞っているときは
選択カテゴリー内の記事の投稿
選択カテゴリー内の記事に対するコメントの投稿
投稿者で絞っているときは
選択している投稿者による記事の投稿
選択している投稿者による記事に対するコメントの投稿
記事単体表示しているときは
表示中の記事の変更
表示中の記事に対するコメントの投稿
&nbsp;
あたりのイベント通知があればいいのかなと思っています。
&nbsp;
まずは、画面上に表示させるところから、
まぁここまではxoops_version.phpに$modversion['hasNotification'] = 1;　を追加して
$modversion['notification']をごにょごにょと追加してやれば何とかなった。
&nbsp;
管理画面

メイン画面

カテゴリーで絞ったとき

投稿者で絞ったとき

単体記事を表示したとき

&nbsp;
さて問題はイベント発生時に処理なのだが、
ちっともイベントをフックしてくれない
あげくのはて、xoopsのkernel/notification.phpを追っかけて、やっと気づいたこと、というのが、「自分で書いた記事は、自分にはイベント通知しない」ということだった、まぁ考えてみれば当たり前の仕様なのだが、デバッグ時はまったく判らなく、３時間ほど無駄に過ごすことになる。
おまけに、開発用のローカル環境にはメールサーバ設定してないので、通知をプライベートメッセージにしてユーザを変更してはの確認はさすがに疲れるのであった。
&nbsp;
というわけで、現時点の仕上がりは
ブログ全体で記事投稿があったときのイベント通知までの確認に終わっている。


XPressMEのVer1.03の一般リリースはどうなったかって？
おぉっ・・・忘れてました、XPressME261Ver1.03のプレリリースでとまってました。
とりあえず2011の確認は終わってますが、223,233,251は未だです。
それにしても、223,233,252ってあまりダウンロードないからやめちゃおうかな・・・なんてね
&nbsp;
&nbsp;
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>STYLISH XOOPS</title>
  <link>http://www.toemon.com/modules/weblinks/singlelink.php?lid=33</link>
      <description>XPressMEのテンプレート部分で色々カスタマイズに挑戦されているサイトです。カスタマイズのノウハウについても、公開されるということなので、楽しみです。</description>
        <pubDate>Fri, 22 Aug 2008 22:21:11 +0900</pubDate>
        <guid>http://www.toemon.com/modules/weblinks/singlelink.php?lid=33</guid>
        <category>WEBリンク集</category>
      
      <content:encoded> <![CDATA[
    XPressMEのテンプレート部分で色々カスタマイズに挑戦されているサイトです。<br />カスタマイズのノウハウについても、公開されるということなので、楽しみです。
    ]]> </content:encoded>
                                </item>
  <item>
  <title>XPressMEでFCKEditor for WordPress pluginを使う</title>
  <link>http://www.toemon.com/modules/Knowledge/index.php?content_id=90</link>
      <description>XPressMEでFCKEditor for WordPress pluginを使うXPressMEでは、wordpress用のDean&amp;rsquo;s FCKEditor for WordPress pluginを使うことが出来ます。ただしFCKEditorの標準サーバーブラウザの設定はややこしいので、あきらさんのFileBrowser_Thumbnail.zipを使った方が便利です。基本的な設定FileBrowser_Thumbnail/connectors/php/config.phpの$fckphp_config[&apos;UserFilesPath&apos;] = &quot;＊＊＊＊＊&quot;;の部分にドキュメントルートからのパスを ...</description>
        <pubDate>Sun, 27 Jul 2008 01:51:40 +0900</pubDate>
        <guid>http://www.toemon.com/modules/Knowledge/index.php?content_id=90</guid>
        <category>ナレッジベース</category>
      
      <content:encoded> <![CDATA[
    <p><span style="font-size: xx-large;">XPressMEでFCKEditor for WordPress pluginを使う</span></p>
<p style="margin-left: 40px;">XPressMEでは、wordpress用の<a class="ext" target="_blank" href="http://www.deanlee.cn/wordpress/fckeditor-for-wordpress-plugin/">Dean&rsquo;s FCKEditor for WordPress plugin</a>を使うことが出来ます。</p>
<p style="margin-left: 40px;">ただしFCKEditorの標準サーバーブラウザの設定はややこしいので、</p>
<p style="margin-left: 40px;">あきらさんの<a class="ext" target="_blank" href="http://akira.matrix.jp/index.php?cID=10">FileBrowser_Thumbnail.zip</a>を使った方が便利です。</p>
<p style="margin-left: 40px;"><span style="font-size: large;"><strong>基本的な設定</strong></span></p>
<p style="margin-left: 80px;"><strong><span style="font-family: Courier New;">FileBrowser_Thumbnail/connectors/php/config.php</span></strong>の</p>
<p style="margin-left: 80px;">$fckphp_config['UserFilesPath'] = "<strong><span style="color: rgb(255, 0, 0);">＊＊＊＊＊</span></strong>";の部分にドキュメントルートからのパスを入力</p>
<p style="margin-left: 80px;"><strong><span style="font-family: Courier New;">fckeditor_for_wordpress/custom_config_js.php</span></strong>の</p>
<p style="margin-left: 80px;">FCKConfig.Plugins.Add( 'wpmore');の下に</p>
<pre style="border: 1px solid rgb(204, 204, 204); padding: 5px; overflow: auto; margin-left: 120px; width: 80%; line-height: 1.5; background-color: rgb(240, 240, 240);" class="php">
FCKConfig.Plugins.Add<span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(255, 0, 0);">'FileBrowser_Thumbnail'</span>, <span style="color: rgb(255, 0, 0);">'en,ja'</span><span style="color: rgb(102, 204, 102);">)</span>;</pre>
<p style="margin-left: 80px;">を追記し</p>
<p style="margin-left: 80px;">fckeditor_for_wordpressを<strong><span style="font-family: Courier New;">XPressME/wp-content/plugins</span></strong>ディレクトリに転送し</p>
<p style="margin-left: 80px;">FileBrowser_Thumbnailを<strong><span style="font-family: Courier New;">XPressME/wp-content/plugins/fckeditor_for_wordpress/fckeditor/editor/plugins</span></strong>ディレクトリに転送します。</p>
<p style="margin-left: 40px;">文書での説明が面倒なので動画を貼り付けときます。</p>
<p style="margin-left: 40px;"><embed height="480" width="640" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="/uploads/editor_upload/Flash/XPressME_FCKEditor.swf" play="true" loop="true" menu="true"></embed></p>
<p><strong>&nbsp;</strong><span style="font-size: large;"><strong>参考</strong></span></p>
<p style="margin-left: 40px;">&nbsp;<strong><span style="font-family: Courier New;">FileBrowser_Thumbnail</span></strong>をPEAK(GIJOE)さんの<a class="ext" target="_blank" href="http://xoops.peak.ne.jp/md/mydownloads/singlefile.php?lid=93&amp;cid=3">FCKeditor on XOOPS</a>に適応させるには</p>
<p style="margin-left: 80px;"><strong><span style="font-family: Courier New;">FileBrowser_Thumbnail/connectors/php/config.php</span></strong>の</p>
<p style="margin-left: 80px;">$fckphp_config['UserFilesPath'] = "<strong><span style="color: rgb(255, 0, 0);">＊＊＊＊＊</span></strong>";の部分にドキュメントルートからのパスを入力保存した後</p>
<p style="margin-left: 80px;">common/fckeditor/editor/pluginディレクトリにFileBrowser_Thumbnailを転送して</p>
<p style="margin-left: 80px;">common/fckeditor/fckconfig.jpの40行目あたりの<strong> </strong></p>
<p style="margin-left: 80px;">FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;の下に</p>
<pre style="border: 1px solid rgb(204, 204, 204); padding: 5px; overflow: auto; margin-left: 120px; width: 80%; line-height: 1.5; background-color: rgb(240, 240, 240);" class="php">
FCKConfig.Plugins.Add<span style="color: rgb(102, 204, 102);">(</span> <span style="color: rgb(255, 0, 0);">'FileBrowser_Thumbnail'</span>, <span style="color: rgb(255, 0, 0);">'en,ja'</span>, FCKConfig.PluginsPath <span style="color: rgb(102, 204, 102);">)</span> ;</pre>
<p style="margin-left: 80px;">を追加してやればＯＫです。</p>
<p style="margin-left: 80px;">ついでに、PEAK(GIJOE)さんのfckxoopsのVer2.5がこっそり配布されているらしく<a href="http://www.peak.ne.jp/support/xoops/">こちらで手に入れる</a>ことができます。</p>
<p><strong><span style="font-size: large;">追記</span></strong></p>
<p style="margin-left: 80px;">XREAサーバーなどSAFE MODEの影響で<strong><span style="font-family: Courier New;">FileBrowser_Thumbnail</span></strong>によるアップロードが出来ない場合、</p>
<p style="margin-left: 80px;"><a href="http://sb.xrea.com/showthread.php?t=10744">こちら</a>にあるように</p>
<blockquote>
<pre class="php" style="border: 1px solid rgb(204, 204, 204); padding: 5px; overflow: auto; margin-left: 80px; width: 80%; line-height: 1.5; background-color: rgb(240, 240, 240);">
AddHandler application/x-httpd-phpcgi .php</pre>
</blockquote>
<p style="margin-left: 80px;">の一行を記入した「<font color="Green"><b>.htaccess</b></font>」ファイルをfckeditor_for_wordpress/fckeditor/editor/plugins/FileBrowser_Thumbnail/connectors/phpディレクトリーにアップしておけばよいみたいです。　<a href="/uploads/editor_upload/File/FCKEditor/htaccess.zip">.htaccessファイルはこちら</a></p>
<p style="margin-left: 80px;">&nbsp;</p>
<p>&nbsp;</p>
    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
  <item>
  <title>Ver1.03</title>
  <link>http://www.toemon.com/modules/xpwiki/?XPressME%2F%E5%85%B1%E9%80%9A%E5%A4%89%E6%9B%B4%E5%B1%A5%E6%AD%B4%2FVer1.03</link>
      <description>修正箇所 templates/wordpress/comments.php に$_SERVER[&apos;HTTP_USER_AGENT&apos;]で携帯からアクセスを判断し分岐を追加&amp;#182;注意事項 コメント削除時の同期を行うにはD3ForumVer0.84以上が必要となります。&amp;#182;WP Multibyte Patch プラグイン導入時のバグ修正(2008/08/21) WP Multibyte Patch プラグイン導入時、インデックスページで概要表示を設定したとき概要文字数が設定数とは無関係に55文字に固定されて ...</description>
        <pubDate>Sun, 20 Jul 2008 23:19:46 +0900</pubDate>
        <guid>http://www.toemon.com/modules/xpwiki/?XPressME%2F%E5%85%B1%E9%80%9A%E5%A4%89%E6%9B%B4%E5%B1%A5%E6%AD%B4%2FVer1.03</guid>
        <category>xpwiki</category>
      
      <content:encoded> <![CDATA[
    修正箇所 　templates/wordpress/comments.php 　に$_SERVER['HTTP_USER_AGENT']で携帯からアクセスを判断し分岐を追加&#182;
注意事項   コメント削除時の同期を行うにはD3ForumVer0.84以上が必要となります。&#182;

WP Multibyte Patch プラグイン導入時のバグ修正(2008/08/21)  
WP Multibyte Patch プラグイン導入時、インデックスページで概要表示を設定したとき概要文字数が設定数とは無関係に55文字に固定されてまうバグを修正
修正箇所 　include/functions.ini.php (Unix Diff)
1
2
3
4
394c418
<     $content = get_the_excerpt(true);
---
>     $content = get_the_content();


D3Forum、WordPressコメント相互同期機能追加(2008/08/21)  
D3Forumコメント統合での使用時に、D3Forum側とWordPress側のコメントを相互に同期する機能追加
コメント削除時の同期を行うにはD3ForumVer0.84以上が必要となります。
修正箇所 　include/wp_d3forum.php 　ほぼ書き換えしました。
修正箇所 　class/xpressD3commentContent.class.php 　function onUpdate()を追加&#182;
概要表示で、「続きを読む」表示を有効にしたとき、記事の文字数が、概要表示文字数以下であっても「続きを読む」が表示されてしまう不具合を修正 (thx kuro2)
WordPress Ver2.6.1ベースに対応したXPressME261作成のための変更&#182;

WordPress Ver2.6.1への対応(2008/08/19)  
ベースをWordPress Ver2.6.1に対応したXPressME261作成のための変更&#182;
Ver1.03での変更点  

 
  Table of contents
 
 
   Ver1.03での変更点 
 概要表示時の不具合修正(2008/07/20) 
 D3Forumコメント統合時の不具合修正(2008/07/22) 
 xoops_breadcrumbsへの対応(2008/08/07) 
 XPressME2011のwp-config.phpバグ修正(2008/08/08) 
 テンプレートタグにthe_tagsを追加(2008/08/19) 
 sitemapプラグインバグ修正(2008/08/19) 
 WordPress Ver2.6.1への対応(2008/08/19) 
 WP Multibyte Patch プラグイン導入時のバグ修正(2008/08/21) 
 D3Forum、WordPressコメント相互同期機能追加(2008/08/21) 
 



概要表示時の不具合修正(2008/07/20)  
概要表示で、「続きを読む」表示を有効にしたとき、記事の文字数が、概要表示文字数以下であっても「続きを読む」が表示されてしまう不具合を修正 (thx kuro2)
修正箇所 　include/functions.ini.php (Unix Diff)
1
2
3
4
5
6
7
8
9
409a410,412
>         if(!empty($GLOBALS['xoopsModuleConfig']['show_excerpt_more'])) {
>             $content .= '<a href="'. get_permalink() . "\">("._MD_XPRESS_MORE .')</a>';
>         }
423,426d425
<         if(!empty($GLOBALS['xoopsModuleConfig']['show_excerpt_more'])) {
<             echo '<br>';
<             echo '<a href="'. get_permalink() . "\">("._MD_XPRESS_MORE .')</a>';
<         }
修正済みファイル(XpressME-ver1.02用）
http://www.toemon.com/uploads/editor_upl&#8203;oad/File/xpressme/functions_ini_php_patc&#8203;h20080720.zip



D3Forumコメント統合時の不具合修正(2008/07/22)  
d3forumVer0.83よりd3forum_display_comment_topicscount()関数の引数（パラメータ）が変更になり、コメント統合した再にワーニングが出る不具合を修正　 (thx kuro2)
修正箇所 　templates/wordpress/xoops_templates_tag.&#8203;php (Unix Diff)
1
2
3
4
215c215
<                     printf(__('(%s comments)'),(d3forum_display_comment_topicscount( $dirname , $forum_id , $params)));
---
>                     printf(__('(%s comments)'),(@d3forum_display_comment_topicscount( $dirname , $forum_id , $params)));
修正済みファイル(XpressME-ver1.02用)
http://www.toemon.com/uploads/editor_upl&#8203;oad/File/xpressme/XPressME-ver102_xoops_&#8203;templates_tag_php_20080722.zip



xoops_breadcrumbsへの対応(2008/08/07)  
PEAKさんが提案されている、統一的なパンくず規格 xoops_breadcrumbs の提案[http://xoops.peak.ne.jp/md/news/index.ph&#8203;p?page=article&amp;storyid=404]への対応　 (thx taked2)
修正箇所 　templates/wordpress/xoops_templates_tag.&#8203;php (Unix Diff)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
26c26,86
<         
---
>     
>     $xoops_breadcrumbs[0] = array( 'name' => get_bloginfo('description') , 'url' => get_settings('home'));
>     $pagetitle='';
>     if (is_category()) {
>             $this_cat = get_category($cat);
>             $p_count = 0;
>             while ($this_cat->parent) {            
>                   $this_cat = get_category($this_cat->parent);
>                 $cat_parrent[$p_count] = array( 'name' => $this_cat->cat_name , 'url' => get_category_link($this_cat->cat_ID));
>                 $p_count++;
>             }
>             for ($i = 1 ; $i <= $p_count ;$i++){
>                     $xoops_breadcrumbs[$i] = $cat_parrent[$p_count - $i];
>             }
>             $xoops_breadcrumbs[$p_count+1] = array( 'name' => single_cat_title('', false));
>             $pagetitle=  sprintf(__('Archive for the &amp;#8216;%s&amp;#8217; Category'), single_cat_title('', false));
>     } elseif (is_day()) {
>             $pagetitle=  sprintf(__('Archive for %s|Daily archive page'), get_the_time(__('F j, Y'))); 
>             $xoops_breadcrumbs[1] = array( 'name' => get_the_time(__('F j, Y')));
>     } elseif (is_month()) {
>             $pagetitle=  sprintf(__('Archive for %s|Monthly archive page'), get_the_time(__('F, Y')));
>             $xoops_breadcrumbs[1] = array( 'name' => get_the_time(__('F, Y')));
>     } elseif (is_year()) {
>             $pagetitle=  sprintf(__('Archive for %s|Yearly archive page'), get_the_time('Y'));
>             $xoops_breadcrumbs[1] = array( 'name' => get_the_time('Y'));
>     } elseif (is_author()) {
>             $pagetitle=  sprintf( __('Archive for the &amp;#8216;%s&amp;#8217; Author'), get_author_name( get_query_var('author') ) );
>             $xoops_breadcrumbs[1] = array( 'name' => get_author_name( get_query_var('author') ));
>     } elseif (is_single()) {
>             $xoops_breadcrumbs[1] = array( 'name' => single_post_title('', false));
>     } elseif (is_page()) {
>             $now_page = get_page($page_id);
>             $this_page = $now_page;
>             $p_count = 0;
>             while ($this_page->post_parent) {            
>                   $this_page = get_page($this_page->post_parent);
> 
>                 $page_parrent[$p_count] = array( 'name' => $this_page->post_title , 'url' => get_permalink($this_page->ID));
>                 $p_count++;
>             }
>             for ($i = 1 ; $i <= $p_count ;$i++){
>                     $xoops_breadcrumbs[$i] = $page_parrent[$p_count - $i];
>             }
>             $xoops_breadcrumbs[$p_count+1] = array( 'name' => $now_page->post_title);
>     } elseif (is_search()){
>             $pagetitle=  __('Search Results') . '(' . $s .')';
>             $xoops_breadcrumbs[1] = array( 'name' => $pagetitle);
>     } elseif(function_exists( 'is_tag' )){
>         if(is_tag() ) {
>             $pagetitle=  sprintf(__('Posts Tagged &amp;#8216;%s&amp;#8217;'), single_tag_title('', false) );
>             $xoops_breadcrumbs[1] = array( 'name' => single_tag_title('', false));
>         }
>     }
> 
> 
>     $xoopsTpl->assign('xoops_breadcrumbs', $xoops_breadcrumbs);
> 
>     if (!empty($pagetitle)){
>         $GLOBALS["wp_xoops_content"]["home_description"] .= ' (' .     $pagetitle . ')';
>     }
修正済みファイル(XpressME-ver1.02用)
http://www.toemon.com/uploads/editor_upl&#8203;oad/File/xpressme/XPresME-ver102_xoops_t&#8203;emplates_tag_php_patch20080807.zip

修正箇所 　wp-content/languages/各言語ファイルに以下のメッセージ追加
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
msgid "Archive for the &amp;#8216;%s&amp;#8217; Category"
msgstr "カテゴリー &amp;#8216;%s&amp;#8217; のアーカイブページ"
 
msgid "Posts Tagged &amp;#8216;%s&amp;#8217;'"
msgstr "タグ &amp;#8216;%s&amp;#8217; のアーカイブページ"
 
msgid "Archive for %s|Daily archive page"
msgstr "&amp;#8216;%s&amp;#8217; のアーカイブページ"
 
msgid "Archive for %s|Monthly archive page"
msgstr "&amp;#8216;%s&amp;#8217; のアーカイブページ"
 
msgid "Archive for %s|Yearly archive page"
msgstr "&amp;#8216;%s&amp;#8217; のアーカイブページ"
 
msgid "Archive for the &amp;#8216;%s&amp;#8217; Author"
msgstr "投稿者 &amp;#8216;%s&amp;#8217; のアーカイブページ"
 
msgid "F, Y"
msgstr "Y 年 n 月"


XPressME2011のwp-config.phpバグ修正(2008/08/08)  
XPressME2011のwp-config.phpにてPHP構文に誤りがあった部分を修正　 (thx ryoujisu)
修正箇所 　wp-config.php (Unix Diff)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
13c13
<     case 'EUC-JP';
---
>     case 'EUC-JP':
16c16
<     case 'UTF-8';
---
>     case 'UTF-8':
19,21c19,20
<     default;
<         $wp_lang ='ja';
<         
---
>     default:
>         $wp_lang ='ja';


テンプレートタグにthe_tagsを追加(2008/08/19)  
テンプレートタグにthe_tagsを追加　 (thx webnist,kuro2)
修正箇所 　templates/wordpress/xoops_templates_tag.&#8203;php (Unix Diff)
1
2
3
4
5
6
7
8
9
234a295,303
>             if(function_exists('the_tags')) {
>                 ob_start();
>                 the_tags('',', ','');
>                 $wp_xoops_post["the_tags"] = ob_get_contents();
>                 ob_end_clean();
>             } else {
>                 $wp_xoops_post["the_tags"] = '';
>             }


sitemapプラグインバグ修正(2008/08/19)  
サイトマッププラグインでタグが表示されるバグを修正　 (thx webnist)
修正箇所 　include/sitemap.plugin.php (Unix Diff)
1
2
3
4
55c55
<                 $sql .= "WHERE $term_taxonomy_db.parent = $parent";
---
>                 $sql .= "WHERE $term_taxonomy_db.parent = $parent AND $term_taxonomy_db.taxonomy = 'category'";


WordPress Ver2.6.1への対応(2008/08/19)  
WordPress Ver2.6.1ベースに対応したXPressME261作成のための変更


WP Multibyte Patch プラグイン導入時のバグ修正(2008/08/21)  
WP Multibyte Patch プラグイン導入時、インデックスページで概要表示を設定したとき概要文字数が設定数とは無関係に55文字に固定されてまうバグを修正
修正箇所 　include/functions.ini.php (Unix Diff)
1
2
3
4
394c418
<     $content = get_the_excerpt(true);
---
>     $content = get_the_content();


D3Forum、WordPressコメント相互同期機能追加(2008/08/21)  
D3Forumコメント統合での使用時に、D3Forum側とWordPress側のコメントを相互に同期する機能追加
注意事項   コメント削除時の同期を行うにはD3ForumVer0.84以上が必要となります。
修正箇所 　include/wp_d3forum.php 　ほぼ書き換えしました。
修正箇所 　class/xpressD3commentContent.class.php 　function onUpdate()を追加
修正箇所 　templates/wordpress/comments.php 　に$_SERVER['HTTP_USER_AGENT']で携帯からアクセスを判断し分岐を追加


    ]]> </content:encoded>
        <dc:creator>toemon</dc:creator>
                              </item>
</channel>
</rss>