Upgraded to Ver3.2
^^
<Change>
------Ver3.2-------(2004/12/17)
>>No more modification on common.php. Use your original common.php. Instead modify footer.php.
haha...Now footer.php is our new victim^^;;it's really perfect substitute!!
By inserting some codes(related with pop-up notification function) into footer.php instead of common.php, All annoying trouble's gone!!
>>Interface upgraded^^
You can easily figure out how full your receive_boxes and post_boxes are.
(ex: POST(outbox+sentbox+psavebox) 30/300 [10%]=> pbox_total/pbox_max [percentage]
RECEIVE(inbox+readbox+rsavebox) 30/300 [10%]=> rbox_total/rbox_max [percentage]
>>A little change in usersearch.php and configpmsg.php
User can confirm pbox_max and rbox_max in the pmconfig_form.
>>A little change in pmlite.php
Sender can confirm filtered words in subject or message of PM.
-----------------------------
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)
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 upgrade 3.1->3.2
0, No change on PM table^^No touch^^
1, Overwrite All files into proper directories!!
2, No more modification on common.php. Use your original common.php(or Remove wanipmhack section[ ////////////////WANIPMHACK3.0] in common.php)
haha...Now footer.php is our new victim^^;;it's really perfect substitute!!
(By inserting some codes(related with pop-up notification function) into footer.php instead of common.php, All annoying trouble's gone!! )
3, Open this file(/html/footer.txt)
Add the wanipmhack section(I mean ////////////////WANIPMHACK3.0) of footer.txt to footer.php.
4, That'a all! Enjoy this new PM system3.2!!
Demo:
http://kjw0815.codns.com/wanisys/japanese/xoops/html/modules/news/
Downloads:
-Stable Version => Ver2.85
http://www.wanisys.net/data/wanipmhack.zip
-Test Version => Ver3.2
http://www.wanisys.net/data/wanipmhack32.zip
Quote:
irmtfan wrote:
i upgrade to 3.1 and everything is ok. just show this error:
Errors
None
in front of the page
and i use original common.php
Umm...
In my case, No error, no warning, even no notice!!
Anyway...
To remove that error, Just comment out like this!!
// echo $pmconfigpopup->getHtmlErrors();
<ex>
if(!$pmconfig_handlerpopup->forcemake($pmconfigpopup,$xoopsUser->getVar("uid"))) {
// echo $pmconfigpopup->getHtmlErrors();
}
else {
$pmconfigpopup = & $pmconfig_handlerpopup->getbyuid($xoopsUser->getVar("uid"));
}
Umm..
In ver3.2,We modify footer.php instead of common.php.
Just try Ver3.2.
It works really well and all annoying trouble's gone!!!
( Real-time popup-notification-function is very cool.(I think so^^)..it sometimes works like Real-time chat...^^;;)
2004/12/17
From wani[wani@wanisys.net]