Upgraded to Ver4.2
<Change>
------Ver4.2-------(2005/1/21)
>>PDF PM function added.(pdfpmsg.php)
Now,you can make your PM PDF easily.
[Notice]
This function uses fpdf of newbb2.0. So it's dependent on the directory,"~/newbb/fpdf/".
but For this function,you don't have to install newbb2.0...because it needs just "~/fpdf" ...not all newbb system.
>>PM System-Policy function/interface upgraded!(configpmsg.php, pmhackconfig.php and others related.)
#PM System-Policy#
=> ON/OFF(or Selection) of each function prepared for PM-users in this PM system.
(9, PM PDF Function -> OFF(0), ON(1) //To disable PM PDF Function [No PDF button,No access to pdfpmsg.php]
(11, PM Post/Receive Box -> OFF(0), ON(1) //To prevent users from accessing PM-boxes(viewpmsg.php) [Exception:Admin]
(#10, PM Buddy Function -> OFF(0), ON(1) -- I will not add this function to this PM-Hack because I notice it just make this PM-hack more complicated!
>>A small bug fixed in configpmsg.php
Thank you^^Krobi
>>A small bug fixed in readpmsg.php
----------------------------------
How to upgrade 4.1->4.2
1, No change on PM DB^^No touch^^
2, Open this file(/html/language/{yourlanguage}/pmsg.txt[or pmsg_upgrade3x-42.txt])
Add the upgraded contents( under//WANISYS.NET PM HACK4.2) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
[Exception] No change on pmhackconfig.php
- You don't have to overwrite pmhackconfig.php[/html/pmhackconfig.php and /html/cache/pmhackconfig.php])
[Notice]
- We need /html/modules/newbb/fpdf/ for PM PDF function.(using fpdf of newbb2.0)
but you don't have to install newbb2.0...because it needs just "~/fpdf" ...not all newbb system.
So...
(1)If you have already installed newbb2.0, you don't have to copy it(/html/modules/newbb/fpdf/).
(2)If you're using newbb1.0, Just add ~/fpdf to newbb1.0..(I mean,just copy it)
(3)If you don't have/use newbb, Just make the directory,"/html/modules/newbb/". and Copy it!!
4, That'a all! Enjoy this new PM system4.2!!
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, Copy/Overwrite All files into proper directories!!
(You must back-up original files...before this hack!!!!)
[Notice]
- We need /html/modules/newbb/fpdf/ for PM PDF function.(using fpdf of newbb2.0)
but you don't have to install newbb2.0...because it needs just "~/fpdf" ...not all newbb system.
So...
(1)If you have already installed newbb2.0, you don't have to copy it(/html/modules/newbb/fpdf/).
(2)If you're using newbb1.0, Just add ~/fpdf to newbb1.0..(I mean,just copy it)
(3)If you don't have/use newbb, Just make the directory,"/html/modules/newbb/". and Copy it!!
3, Open this file(/html/language/{yourlanguage}/pmsg.txt[and pmsg_upgrade3x-42.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, pdfpmsg.php)
(html/cache/ pmhackconfig.php)
(html/include/ pm_functions.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, xoopspm_slogo.png)
(html/images/icons/ backuppm.gif, forwardpm.gif, gforwardpm.gif, printpm.gif, pmuserkey.gif, pmcheck.gif, pdfpm.gif)
(html/images/pmsubject/icon1.gif, 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.2(+pmconfig+GroupPM+etc)
http://www.wanisys.net/data/wanipmhack42.zip
-DB-toolkit for DB-novice(only for New install/uninstall)
http://www.wanisys.net/data/wanipmhack_dbtoolkit42.zip
[Notice]
If you use XOOPS Japanese or Korean Version...and download XOOPS2_mod_newbb_2.0Final at Module Dev Forge(http://dev.xoops.org)
Please fix this files. It has an error!!
/html/modules/newbb/fpdf/language/korean.php
--before fix
class PDF_language extends FPDF
--after fix
class PDF_language extends PDF_Korean
--------------------------------------------
/html/modules/newbb/fpdf/language/japanese.php
--before fix
class PDF_language extends FPDF
--after fix
class PDF_language extends PDF_Japanese
2005/1/21
From wani[wani@wanisys.net]
the most educational site, wanisys.net [
http://www.wanisys.net ]