Hi, here is my method to make auto greeting for new members.
Open profile_activate.php (dolphin root derictory)
find:
sendMail($site['email_notify'], $aTemplate['Subject'], $aTemplate['Body'], $p_arr['ID']);
and after it add:
$sMessageBody = 'YOUR GREETING MESSAGE BODY HERE';
$sMessageSubject = 'YOUR GREETING MESSAGE SUBJECT HERE';
$sQuery =
"
INSERT INTO
`sys_messages`
SET
`Sender` = '1',
`Recipient` = {$p_arr['ID']},
`Subject` = '{$sMessageSubject}',
`Text` = '{$sMessageBody}',
`Date` = NOW(),
`New` = '1',
`Type` = 'letter'
";
$result = db_res($sQuery);
If you want to change the SENDER of your greeting, change digit in `Sender` = '1', to id what you want. '1' is id of admin.
I THINK THAT THIS METHOD WORKS ONLY WHEN E-MAIL CONFIRMATION IS ACTIVATED (AS ON MY SITE), BUT I'M NOT SURE, TEST YOURSELF.