Upgraded to Ver4.0
<Change>
------Ver4.0-------(2005/1/12)
>>PM System-Policy function added!(configpmsg.php, pmhackconfig.php and others related.)
With this function,you(Admin) can set the PM System-Policy of your system.
#PM System-Policy#
You can set the followings.
=> the default values of PM-Policy,GroupPM-Policy.
(It means new member has these as his/her default PM-Policy,GroupPM-Policy.)
=> ON/OFF(or Selection) of each function prepared for PM-users in this PM system.
(1, PM partner search mode -> Old User-Select-Mode(0), PM Partner Search Popup(Not ReadOnly)(1), PM Partner Search Popup(ReadOnly)(2)
(2, PM Config Function -> OFF-Mode(Not Use)(0), ON-Mode(Use)(1) //To prevent users from accessing PM Config Page(configpmsg.php). [Exception:Admin]
(3, GroupPM(GPM) Function -> OFF (0), ON (1) //To disable GroupPM(GPM) Function [No G-send,GFW button, No access to pmgrouplite.php ]
(4, PM UserKey(PKI) Function -> OFF(0), ON(1) //To disable PM-UserKey(PKI) Function [No Public Key,UserKey button, No access to userkeysearch.php ]
(5, PM Type Function -> OFF(0), ON(1) //To disable PM Type Function [No PM Type Selection in pmlite.php and pmgrouplite.php]
(6, PM Backup Function -> OFF(0), ON(1) //To disable PM Backup Function [No Backup buttons and links, No access to pmbackup.php ]
(7, PM Print Function -> OFF(0), ON(1) //To disable PM Print Function [No Print button, No access to pmprint.php ]
(8, PM Help Function -> OFF(0), ON(1) //To disable PM Help Function [No Popup-Help(overlib_mini.js) ]
(9, PM PDF Function -> OFF(0), ON(1) --not supported yet, maybe next version
(10, PM Buddy Function -> OFF(0), ON(1) --not supported yet, maybe next version
(11, PM Post/Receive Box -> OFF(0), ON(1) --not supported yet, maybe next version
(12, PM Send -> OFF(0), ON(1) --not supported yet, maybe next version
(13, PM Policy(something related with filtering) -> OFF(0), ON(1) --not supported yet, maybe next version
(14, PM-Group Policy -> OFF(0), ON(1) --not supported yet, maybe next version
#How To Set#
1, Access the menu,"Set PM System Policy(Admin Only)" [configpmsg.php?op=editpmsystempolicy]
2, Set Each value in every field and Click Save-Button.
(This will make or upgrade html/cache/pmhackconfig.php. ) [configpmsg.php will include-once this file.]
3, Copy(Not Move) pmhackconfig.php to Root directory( ex: /html/pmhackconfig.php ) [Others(except for configpmsg.php) will include-once this file.]
4, set /html/pmhackconfig.php ReadOnly. [To prevent attacker from overwriting it.]
(I recommend you set also html/cache/pmhackconfig.php ReadOnly. But when edit/set, it must be Writable^^;;)
>>PM Help Function Added.(overlib_mini.js and others related.)
This Function will provide users with Popup-Help[Tip] like Mambo CMS.
(You can/have to write your own Help/Tip...[Sorry^^for my laziness.please edit pmsg.php]
>>Image-Files(related with PM type) redisposed (to prevent collision with other modules such as newbb)
( /html/images/subject ==> /html/images/pmsubject )
-----------------------------
How to upgrade 3.9->4.0
1, No change on PM DB^^No touch^^
2, Open this file(/html/language/{yourlanguage}/pmsg.txt[or pmsg_upgrade3x-40.txt])
Add the upgraded contents( under//WANISYS.NET PM HACK4.0) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
[Notice]
-You must copy pmhackconfig.php to both directories[/html and /html/cache])
-Image-Files(related with PM type) redisposed (to prevent collision with other modules such as newbb)
( /html/images/subject ==> /html/images/pmsubject )
4, That'a all! Enjoy this new PM system4.0!!
------------------------------
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[and pmsg_upgrade3x-40.txt if it exists])
Add the contents of pmsg.txt to pmsg.php.
4, Open this file(/html/footer.txt)
Add the wanipmhack section(I mean ////////////////WANIPMHACK3.0) of footer.txt to footer.php.
5, That's all!! Enjoy this new PM system!!
-----------------------------
How to uninstall
1, Replace all changed files with your original files.
(html/viewpmsg.php,readpmsg.php,pmlite.php,footer.php)
(html/kernel/privmessage.php)
(html/language/{yourlanguage}/pmsg.php)
2, Delete all new files.
(html/ configpmsg.php, printpmsg.php, backuppmsg.php, pmgrouplite.php, usersearch.php, userkeysearch.php, pmhackconfig.php, overlib_mini.js)
(html/cache/ pmhackconfig.php)
(html/kernel/ privmessageconfig.php, pmuserkey.php)
(html/images/ inbox.gif, readbox.gif, rsavebox.gif, rtrashbox.gif, outbox.gif, sentbox.gif, psavebox.gif, ptrashbox.gif, pmhelp.png)
(html/images/icons/ backuppm.gif, forwardpm.gif, gforwardpm.gif, printpm.gif, pmuserkey.gif, pmcheck.gif)
(html/images/pmsubject/pm_normal_u.gif, pm_normal.gif, pm_normal_e.gif, pm_re_u.gif, pm_re.gif, pm_re_e.gif, pm_fw_u.gif, pm_fw.gif, pm_fw_e.gif, pm_gpm_u.gif, pm_gpm.gif, pm_gfw_u.gif, pm_gfw.gif)
3, Open this file(/html/wanipmhack_uninstall.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
4, That's all!! Very simple^^;;
----------------------------
Demo:
http://kjw0815.codns.com/wanisys/japanese/xoops/html/modules/news/
Downloads:
-Stable Version => Ver2.85(default)
http://www.wanisys.net/data/wanipmhack.zip
-Test Version => Ver4.0(+pmconfig+GroupPM+etc)
http://www.wanisys.net/data/wanipmhack40.zip
-DB-toolkit for DB-novice(only for New install/uninstall)
http://www.wanisys.net/data/wanipmhack_dbtoolkit40.zip
2005/1/12
From wani[wani@wanisys.net]
the most educational site, wanisys.net [
http://www.wanisys.net ]