I just found a little bug and a fix in the file pms.mypmspro.php when use myPMS OS 2.5. When you send a new message, you will get a fatal error.
i changed the line: 59-60
$sql="INSERT INTO #__pms (username,whofrom,date,time,readstate,subject,message) VALUES('"
.$to."','".$from."',CURDATE(),CURTIME(),0,'".$sub."','".$msg."');";
into:
$sql="INSERT INTO #__pms (username,whofrom,date,readstate,subject,message) VALUES('"
.$to."','".$from."',NOW(),0,'".$sub."','".$msg."');";
Problem was that myPMS II used two fields: 'date' and 'time'. The new myPMS Open Source 2.5 uses a unique field for datetime(), and it's called 'date'. Here the SQL query in the original 2.5 pms.xml:
CREATE TABLE `#__pms` (
`id` int(10) unsigned NOT NULL auto_increment,
`username` varchar(20) NOT NULL default '',
`whofrom` varchar(20) NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`readstate` smallint(1) unsigned NOT NULL default '0',
`subject` varchar(255) NOT NULL default '',
`message` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
After the change I shown, you will use myPMS OS 2.5, but you can't use myPMS II anymore.