2005-04-24, 12:37 AM
2005-04-24, 02:20 AM
I think everyone is reluctant to make to make mods before gold comes out, cause they might require a re-coding.
2005-04-24, 04:48 AM
Open inc/integration.php
Find:
See if that works.
Find:
function accountCreated($uid)
{
// Called after an account is created
global $db;
}
Replace with:function accountCreated($uid)
{
// Called after an account is created
global $db;
$subject ="Subject of the private message";
$message = "This is the message to be sent to the user";
$time = time();
$db->query("INSERT INTO ".TABLE_PREFIX."privatemessages (uid,toid,fromid,folder,subject,icon,message,dateline,status,includesig,smilieoff,receipt,readtime) VALUES ($uid,$uid,-2,1,'$subject',0,'$message',$time,0,'no','no',0,0)");
}
See if that works.
2005-04-24, 02:00 PM
Thank you for reply.
I will try it and tell what is the result
I will try it and tell what is the result
2005-04-30, 02:58 AM
thank you very much.
it's working fine on localhost!
it's working fine on localhost!
2005-05-07, 01:33 PM
sorry to say that...it's not working. may be working in localhost...but not working in the web...