please help, i wanna change the automated welcome inbox so that it will go into inbox 2, can anybody tell me how to do this
function autopm2($msg, $who)
{
mysql_query("INSERT INTO inbox2 SET text='".$msg."', byid='1', toid='".$who."', unread='1', timesent='".time()."'");
}
addonline(getuid_nick($name),"Just Registered","");
$delonline=mysql_query("DELETE FROM online WHERE uid='".getuid_nick($name)."'");
$msg="Hello Welcome from everyone here at ".sitename()." hope you have a great and friendly time at our site any problems pm myself or my team anytime[br/] You are awarded 100 points for joining you can gain points by using forums,Games and chat which will unlock other site parts enjoy yourself and have fun :o)[small][i][br/]p.s: this is an automated pm[/i][/small]";
$msg=mysql_escape_string($msg);
[B]autopm($msg,getuid_nick($name));[/B]
return 0;
}else{
return 2;
}
}
}
Comment