メイン : ハック : 2.0.x : 

カテゴリ: ハック 2.0.x
今すぐダウンロード!PM[Private Message]機能拡張Hack ヒット数 バージョン: 2.85
掲載日:  2004/12/9
説明:

PM[Private Message]機能拡張Hackです。
Original PMに
INBOX(貰ったけどまだ読んでないPM[delete可])
READBOX(読み済みPM[delete可,save可])
RSAVEBOX(読んでからSAVEしといたPM[delete可])
OUTBOX(送ったけど相手がまだ読んだり読まずに消したりしてないPM[delete可])
SENTBOX(相手が読んだり…読まずに消したPM[delete可,save可])
PSAVEBOX(SENTBOXからSAVEしてとっておいたPM[delete可])
を追加してみました.

各PMのDeleteは両方(送信側、受信側)がDeleteした場合Real Deleteできます。
(一方だけのDeleteの場合はFlag(from_delete,to_delete)を立てて非表示にします。)

各BOXへのPMの分配はFlags(read_msg,from_delete,to_delete,from_save,to_save)の状態を見て決めます。
詳細はSource Codeを参考にしてください。

<<How to install>>^^

1, Open this file(/html/wanipmhack.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
wanipmhack.sqlに書かれてるsql queryを使ってxoops_priv_msgs tableに4Fieldsを追加します。
2, Overwrite All files into proper directories!!
(You must back-up original files...before this hack!!!!)
各DirectoryにOverwrite All filesします。(^_^メ)…(お忘れなくback-up original files...before this hack!!!!)
3, Open this file(/html/language/{yourlanguage}/pmsg.txt)
4, Add the contents of pmsg.txt to pmsg.php.
pmsg.txtの中身をpmsg.phpに追加します。(日本語に書きかえても結構^^)
5, That's all!! Enjoy this new PM system!!

readme.txtに書いといたやつをそのままCopy/Pasteしちゃいました。
(すみません。(^_^メ)また…書くのは面倒くさくて(+_+)

[PS]
If you want to add my new PM-Partner Search function to this hack,
please follow this link below^^

http://jp.xoops.org/modules/newbb/viewtopic.php?topic_id=6274&forum=14

If you want to send a welcome PM to your new member automatically, please follow this link below^^

http://jp.xoops.org/modules/newbb/viewtopic.php?topic_id=6253&forum=14

From wani[wani@wanisys.net]

Demo:

http://kjw0815.codns.com/wanisys/japanese/xoops/html/modules/news/

Support Forum Thread:
http://jp.xoops.org/modules/newbb/viewtopic.php?topic_id=6334&forum=14
http://www.xoops.org/modules/newbb/viewtopic.php?topic_id=27724&forum=14

<Change>

            • Ver2.85-------(2004/12/8)
              引用:

              Security patched!!! You must upgrade to this version(2.85) if you use the previous version except Ver1.0.
              (I had examined my PM-hack on secruty and found a serious vulnerability and could break this PM system for myself!(Very Sorry!)
              Umm..although I'm not a top-level hacker,I could do it. That's why you must upgrade to this patched version!

              NOTICE messages in the php-debug mode removed^^No more NOTICE!!

              compatibility improved^^for other systems!
              How to upgrade 2.8->2.85
              0, No change on PM table^^No touch^^
              1, Overwrite All files into proper directories!!
              2, That'a all! Enjoy this new PM system2.85!!

<Change>

            • Ver2.8-------(2004/12/5)
              引用:

              More User-friendly!!! User-Interface improved.
              (By how each condition of your search is always displayed (in each box) with your options(selected in the search-form) selected and with your search-keywords(entered in the search-form) shown,

              you may/can perceive and understand the status of your search-job more easily and more visually.

              new function added.
              (Search function upgraded.(Multi-Keyword Search supported with NOT ^^Wow^^)

              • separator=> (white)space
                 ex)violence sex fight (=> not included all of them)  
                -----------------------------
                How to upgrade 2.7->2.8
                0, No change on PM table^^No touch^^
                1, Open this file(/html/language/{yourlanguage}/pmsg.txt)
                2, Add the upgraded contents( under//WANISYS.NET PM HACK2.8) of pmsg.txt to pmsg.php.
                3, Overwrite All files into proper directories!!
                4, That'a all! Enjoy this new PM system2.8!!

<Change>

            • Ver2.7-------(2004/12/3)
              引用:

              some bug fixed.
              (Especially,in Ver 2.5, there was a bug that when you come back and click page_number after reading any message , you lose $_GET value and can't move to other pages with your search-result.)^^Sorry

              new functions added.
              (Search function upgraded.(Multi-Keywords Search supported with AND and OR^^Wow^^)

              • separator=> (white)space
                 ex)happy news morning 
                -----------------------------
                How to upgrade 2.5->2.7
                0, No change on PM table^^No touch^^
                1, Open this file(/html/language/{yourlanguage}/pmsg.txt)
                2, Add the upgraded contents( under//WANISYS.NET PM HACK2.7) of pmsg.txt to pmsg.php.
                3, Overwrite All files into proper directories!!
                4, That'a all! Enjoy this new PM system2.7!!

<change>

            • Ver2.5-------(2004/12/1)
              引用:

              language-file upgraded fully.

              new function added.
              (Search[ in subject or msg_txt from the last XXX days] function added^^Wow^^)
              And Sort function was merged into this new search function!!

note: You can't use "wanisysnokeyword" as search-keyword because it's reserved!

I don't think anyone will use this word, wanisysnokeyword as search-keyword^^


How to upgrade 2.0->2.5
0, No change on PM table^^No touch^^
1, Open this file(/html/language/{yourlanguage}/pmsg.txt)
2, Add the upgraded contents( under//WANISYS.NET PM HACK2.5) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system2.5!!

<Change>

            • Ver2.0-------(2004/11/29)
              引用:

              some bug fixed.
              (Especially,in Ver 1.5, there was a bug that when you sort PMs by Partner's ID and order PMs by DESC, you can't read PMs which you have selected)^^Sorry

              new functions added.
              (RTRASHBOX, PTRASHBOX and Sort by subject function are added^^Wow^^)
              RTRASHBOX(for PMs deleted by you(receiver) but still not deleted by sender.You can undelete these PMs but can't read them in this box.)
              PTRASHBOX(for PMs deleted by you(sender) but still not deleted by receiver. You can undelete this PMs but can't read them in this box.)


How to upgrade 1.5->2.0
0, No change on PM table^^No touch^^
1, Open this file(/html/language/{yourlanguage}/pmsg.txt)
2, Add the upgraded contents( under//WANISYS.NET PM HACK2.0) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system2.0!!

<Change>

            • Ver1.5-------(2004/11/28)
              引用:

              some bug fixed.
              (Especially,in Ver 1.0, there was a bug that Poster's reading of message in OUTBOX resulted in read_msg=1(it means the receiver reads the PM or deletes it without reading)

              new functions added.
              (Paging function and Sorting function are added to each box^^Wow^^)


How to upgrade 1.0->1.5
0, No change on PM table^^No touch^^
1, Open this file(/html/language/{yourlanguage}/pmsg.txt)
2, Add the upgraded contents( under//WANISYS.NET PM HACK1.5) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system1.5!!

Umm...
暇を見てfiltering, Reject, Box Max Limit機能を追加して見ようと思ってますが…
素人なもんで…約束はできません(T_T)


3626 回のダウンロード  3626  ファイルサイズ 0バイト  利用可能なOS/ソフト等 XOOPS2  ホームページ http://www.wanisys.net/
評価: 9.00 (4 票)
このダウンロードを評価する | 投稿 | ファイル破損/リンク切れを報告 | 友達に教える | コメント (2)


投稿された内容の著作権はコメントの投稿者に帰属します。

投稿者 スレッド
Ujiki
投稿日時: 2006/10/5 10:26  更新日時: 2007/9/17 9:02
長老
登録日: 2005/3/20
居住地: Yokosuka
投稿数: 298
 日本語化してみました :-o

勝手に日本語化してみました。これで良いのかなあ〜?
ついでに、2.0.16a用のUTF-8コードを採用したアーカイブを設置しました。
http://hamster.fam.cx/modules/myalbum/photo.php?lid=25&language=ja

トップダウンロード

To Top