2005-10-22, 12:51 AM
2005-10-22, 01:32 PM
Change
Change:
'uid' => $uid,
'fromid' => $fromuid,
'toid' => $uid,
to 'uid' => 1,
'fromid' => 0,
'toid' => 1,
If your uid is 1. fromid you can change to 1 aswell if you like to get PM's from yourself =) .Change:
$db->query("INSERT INTO ".TABLE_PREFIX."settings (name,title,description,optionscode,value,gid) VALUES ('pmonreg_subject', 'PM Subject', 'Enter the subject of the automated private messages.', 'text', 'Hello there!', $group)");
$db->query("INSERT INTO ".TABLE_PREFIX."settings (name,title,description,optionscode,value,gid) VALUES ('pmonreg_message', 'PM Message', 'Enter the message of the automated private messages.<br /><br />{username} will be replaced with the username of the recipient', 'textarea', 'Hello {username}, and welcome to my MyBB forum!', $group)
to: $db->query("INSERT INTO ".TABLE_PREFIX."settings (name,title,description,optionscode,value,gid) VALUES ('pmonreg_subject', 'PM Subject', 'Enter the subject of the automated private messages.', 'text', 'Hello there!', $group)");
$db->query("INSERT INTO ".TABLE_PREFIX."settings (name,title,description,optionscode,value,gid) VALUES ('pmonreg_message', 'PM Message', 'Enter the message of the automated private messages.<br /><br />{username} will be replaced with the username of the recipient', 'textarea', 'An new User has regged, {username}. Welcome him/her', $group)
This you can change in the Admin settings anyways tho. (not the first but the second)