// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// //
// ------------------------------------------------------------------------ //
// ------------------------------------------------------------------------ //
// XOOPS - PM(Private Message) Hack2.85 //
// Just enjoy! Internet for everyone!! //
// //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
---XOOPS - PM(Private Message) Hack2.85
This is a XOOPS PM(Private Message)-Hack^^
I hope this hack helpful and useful to XOOPS-users^^
---With this hack,
You can use some PM-Boxs to manage your PMs^^
INBOX( For New PMs[delete button])
READBOX(for PMs already read[delete button,save button])
RSAVEBOX(for saved PMs[delete button])
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.)
OUTBOX(Posted PMs, not read or not deleted without reading by your partner[delete button])
SENTBOX(Posted PMs, read or deleted without reading by your partner[delete button,save button])
PSAVEBOX(saved PMs[delete button])
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.)
This hack is still a beta-version^^
So..maybe..a few bugs^^??If you find bugs,please inform to me( wani@wanisys.net)
planing to add some other functions to this hack^^(someday..Maybe...^^)
filtering,reject, Max-limit for each box etc^^
------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!
-----------------------------
------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)
-----------------------------
------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-Keyword Search supported with AND and OR^^Wow^^)
- separator=> (white)space
ex)happy news morning
-----------------------------
------Ver2.5-------(2004/12/1)
>>some bug fixed and language-file upgraded.
>>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^^
-----------------------------
------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^^)
-----------------------------
------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 read the PM or delete it without reading)
>>new functions added.
(Paging function and Sorting function are added^^Wow^^)
-----------------------------
How to install[new 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_])
2, Overwrite All files into proper directories!!
(You must 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.
5, That's all!! Enjoy this new PM system!!
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!!
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!!
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!!
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!!
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!!
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!!
2004/12/5
Demo:
http://kjw0815.codns.com/wanisys/japanese/xoops/html/modules/news/
Support Forums:
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
From wani[wani@wanisys.net]
the most educational site, wanisys.net [ http://www.wanisys.net ]
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
^^//...(^^)...