2009 6月 19 (金)
 
Page Top

概要 anchor.png

  1. d3コメント統合ブロック2つ
    • コメント単位の表示ブロック
    • トピック単位の表示ブロック。 簡易表示/詳細表示切替つき。
       最新投稿の記事本文アサイン付き(ブロックには表示しません)
    • いずれも、元記事の閲覧権限チェックを通過したものしか表示されません。
       但し、d3forum自体には元記事の権限チェックがありませんので、d3forumのメイン表示トピックリストには全コメントトピックが乗ってしまい回避できません。 タイトルなどは表示されますが、リンクをクリックしてもコメント本文は表示されずにリダイレクトされます。
  2. d3pipesのブロックジョントとして、統合コメント用のジョイント「D3pipesBlockD3diaryd3com」を追加。
     ジョイントのオプションで、コメント単位で表示するかトピック単位かを設定できる。 
     上記のブロックを呼び出す方式なので、権限チェックもバッチリ。
  3. 日記ページの「最近のコメント」をリンクした時の飛び先のアンカー形式を、d3forumデフォルトの「post_path」か、テンプレート編集による「post_id」とするかを管理画面で選択するようにした。
    • 「post_path」方式でも通常は問題にならないが、 1つの記事にコメントが多数付いた際、モデレーターの判断でトピックを分割した場合に、複数の同じ「post_path」が発生してしまうため、リンク先として不適当となる。
    • これの対処として、完全にユニークな「post_path」を使う方法があり、d3forumの「comment_listposts_flat.html」を編集することで飛び先を確保できるので、 d3diaryからその飛び先を指定可能なようにしたもの。  通常は、デフォルトで変更の必要はない。
  4. ブログタイプのデフォルト値、直したつもりが直っていなかった。「0」に修正。
Page Top

詳細など anchor.png

Page Top

フォルダ・ファイル構成 anchor.png

html (XOOPS_ROOT_PATH)
├─class
│    └smarty
│       └plugins
│               function.d3comment.php
│               function.d3forum_comment.php
│               function.d3forum_comment_postscount.php
│               function.d3forum_comment_topicscount.php
│
└─modules
     └─d3diary
         │      comment_delete.php、comment_edit.php、comment_new.php (wrapper)
         │      comment_post.php、comment_reply.php (wrapper)
         │      detail.php、diarylist.php (wrapper for compatibility)
         │      index.php (wrapper)
         │      module_icon.php (wrapper)
         │      mytrustdirname.php
         │      notification.php、notification_update.php (wrapper)
         │      oninstall.php、onuninstall.php、onupdate.php (wrapper)
         │      rdf.php、search.php、viewcomment.php (wrapper for compatibility)
         │      xoops_version.php
         ├admin
         │      admin_menu.php、index.php (wrapper)
         ├blocks
         │      blocks.php (wrapper)
         ├cache (777)
         ├images
         │      arrow1.png、、etc..
         ├include
         │      imgresize.php (wrapper)、tag.css、tag.js
         ├preload
         │   D3diaryPreload.class.php (wrapper)
         └upimg (777)
trust (XOOPS_TRUST_PATH)
└modules
    │└d3diary
    │   │      admin.php、admin_menu.php
    │   │      blocks.php
    │   │      main.php
    │   │      module_icon.php、module_icon.png
    │   │      notification.php
    │   │      oninstall.php、onuninstall.php、onupdate.php (wrapper)
    │   │      preload.php、README.JA.TXT、search.php
    │   │      xoops_version.php
    │   ├admin
    │   │      import.php、index.php、mymenu.php
    │   ├blocks
    │   │      block_functions.php
    │   ├class
    │   │      category.class.php、diary.class.php
    │   │      diaryconfig.class.php、gtickets.php、photo.class.php、tag.class.php
    │   │      d3diaryD3commentContent.class.php
    │   ├include
    │   │ │   comment_view.php、d3pipes.inc.php、d3pipesd3com.inc.php、
    │   │ │   functions.php、header.php
    │   │ │   imgresize.php、import_functions.php
    │   │ │   mytable.php、x20_keepblockoptions.inc.php
    │   │ └magpierss
    │   │     │ rss_cache.inc、rss_fetch.inc、rss_parse.inc、rss_utils.inc
    │   │   └extlib
    │   │      Snoopy.class.inc
    │   ├language
    │   │ ├japanese
    │   │ │  │ admin.php、blocks_common.php、blocks_each.php
    │   │ │  │ main.php、modinfo.php
    │   │ │  └mail_template
    │   │ │     blogger_comment_notify.tpl
    │   │ │     blogger_newentry_notify.tpl
    │   │ │     global_newentry_notify.tpl
    │   │ └ja_utf8   (same as japanese)
    │   ├main
    │   │      bloggerlist.php、detail.php、diarylist.php
    │   │      edit.php、editcat_config.php、editcategory.php
    │   │      index.php
    │   │      notification_update.php、other.php
    │   │      rdf.php、usr_config.php、viewcomment.php
    │   ├sql
    │   │      mysql.sql
    │   └templates
    │           admin_import.html
    │           block_bloggerlist.html、block_diarylist.html
    │           block_d3comlist_posts.html、block_d3comlist_topics.html
    │           bloggerlist.html、detail.html、diarylist.html
    │           edit.html、editcat_config.html、editcategory.html
    │           inc_blog_options.html
    │           index.html、other.html、rightarea.html
    │           tabmenu.html
    │           usr_config.html、viewcomment.html
  └ d3pipesm
      └joints
        └block
              D3pipesBlockD3diarylist.class.php 、D3pipesBlockD3diaryd3com.class.php (wrapper)
Page Top

スクリーンショット anchor.png

  • d3統合コメントのトピック単位の表示ブロック
    b_d3com_topics.gif
    同、ブロックオプション指定
    b_d3com_topics_admin.gif
  • d3pipesのd3統合コメント用ブロックジョイント設定
    pipes_d3com_admin.gif
    トピック表示で最新コメント日時と本文表示
    pipes_d3com_topics.gif
  • d3統合コメントの飛び先アンカー形式の選択
    anchor_admin.gif
Page Top

今後の予定 anchor.png

Page Top

リリースまで anchor.png

  1. バグ潰し
    • ユーザーメニューの、イベント通知設定済み一覧で、 リンク文字・リンクが出ていなかったバグを修正。 手元で修正済み、次回の版で盛込み。
    • ゲストがindexページにreq_user指定でアクセスした際、タグが全員分表示されるバグあり。手元で修正済み、次回の版で盛込み。
  2. 英語の言語ファイル同梱。 (手元では作成済。)
  3. d3統合コメントの、d3forumメイン表示トピックへの、元記事閲覧権限フィルターをかけるための関数を、d3comment統合クラスに実装した。 次回の版で盛込み。
     元ネタ:(XUGJ)d3forum-d3diary統合元モジュール閲覧権限フィルター
Page Top

次回バージョン以降 anchor.png

  1. タグクラウドの、最大表示数制御。
  2. タグクラウドブロックの実装予定。
  3. タグの一括置き換え機能、実装予定。
  4. (追記)自分の設定したカテゴリの外部ブログ記事を流用して、内部ブログを書く機能。 あると便利そうだけど、どうかな。 :roll:
  5. トラックバック機能・・未定。
  6. インポート機能の強化
    • MT形式ファイルからのインポート
    • d3blogからのインポート

トップ   凍結 差分 バックアップ 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
Counter: 1833, today: 1, yesterday: 0
初版日時: 2009-06-19 (金) 12:36:35
最終更新: 2019-08-17 (土) 07:11:56 (JST) (2121d) by なーお