ページへ戻る

− Links

 印刷 

d3diary開発日記​/2009-06-04 のバックアップソース(No.2) :: Motion cafe

xpwiki:d3diary開発日記編集/2009-06-04編集 のバックアップソース(No.2)

« Prev[2]  Next »[3]
#navi(../)

#boxdate
* 2009-06-04 現状報告 [#l8862a3b]

&tag(現状報告);

** 概要 [#pfb13467]
+ 記事毎の公開範囲設定を実装。 それに伴い、下書き設定(非公開)を追加。
+ テンプレート index.html に日本語直書きが残っていたので修正。
+ テンプレート inc_open_options.html を前回追加していたが、あまり意味がないため削除。

** 詳細など [#me04a5f7]
*** フォルダ・ファイル構成 [#hf36ba59]
#code(pre,nonumber){{
html (XOOPS_ROOT_PATH)
├─class
│    └smarty
│       └plugins
│               function.d3comment.php
│               function.d3forum_comment.php
│               function.d3forum_comment_postscount.php
│               function.d3forum_comment_topicscount.php
│               function.xugj_block.php
│
└─modules
    │ └(d3forum)
    │    └blocks
    │           blocks_bcomment.php
    │
    └─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)
         ├preload
         │   D3diaryPreload.class.php (wrapper)
         └upimg (777)
}}

#code(pre,nonumber){{
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、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
    │   │      d3diaryD3commentContent.class.php
    │   ├include
    │   │ │   comment_view.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、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
    │           bloggerlist.html
    │           detail.html、diarylist.html
    │           edit.html、editcategory.html
    │           inc_blog_options.html
    │           index.html、other.html、rightarea.html
    │           tabmenu.html
    │           usr_config.html、viewcomment.html
    ├ d3forum
    │ │     blocks_bcomment.php
    │ │
    │ └blocks
    │          block_functions_bcomment.php
  └ d3pipesm
      └joints
        └block
              D3pipesBlockD3diarylist.class.php
}}

*** スクリーンショット [#p8e082dc]
- 非公開記事の表示例
|ゲストアクセス時&br;&ref(b_diarylist_2.gif,mw:300,mh:300);|
|管理者アクセス時&br;&ref(b_diarylist_2_admin.gif,mw:300,mh:300);|

- 日記投稿画面の公開範囲設定
|&ref(edit_draft.gif,mw:300,mh:300);|

*** テストサイト [#l595c17b]
 [[テストサイト:http://www.mc8.jp/HD3/]]で、不定期にテスト継続中。

*** ソース [#o03f2397]

 一応、アルファバージョンとして、現状のソースを置いておきます。
 現状でテストいただければ大歓迎ですが、実公開版では大きく変更される場合もありますので、ご承知おきください。

|&ref(d3diary_0.01alfa_090604.zip);|

*** ライセンス [#g63a5095]
 GPL v2

** 今後の予定 [#ra64055d]
もう少し追加機能を実装してから公開しようか、思案中。
そして、携帯用テンプレートもかなり手を入れないといけないし。。


以上

« Prev[2]  Next »[3]