//-----UNACTIVATED USERS EMAIL NOTIFICATION-----//
require_once INCLUDES."sendmail_include.php";
$toname= "".$settings['siteemail']."";
$toemail = "".$settings['siteemail']."";
$fromemail = "".$settings['siteemail']."";
$site = "".$settings['sitename']." - ".$settings['siteurl']."";
$subject = "New member notification!";
$content = "There is a new member on your site which need to be activated. Click on the link to go to your website. ".$site." ";
sendemail($toname,$toemail,$fromemail,$site,$subject,$content);
//-----UNACTIVATED USERS EMAIL NOTIFICATION-----//
$locale['u162'] = "An administrator will activate your account shortly.";
if ($this->adminActivation) {
$this->_completeMessage = $locale['u160']."<br /><br />\n".$locale['u162']; // msq is shown to user
// send email to your self
// add your code here..
}
$result = dbquery(
"INSERT INTO ".DB_NEW_USERS." (
user_code, user_name, user_email, user_datestamp, user_info
) VALUES(
'".$userCode."', '".$this->_userName."', '".$this->_userEmail."', '".time()."', '".$userInfo."'
)"
);
private function _setUserDataInput() {
private function _setUserDataInput() {
global $locale, $settings, $userdata, $aidlink;
$result = dbquery("INSERT INTO ".DB_USERS." (".$this->_dbFields.") VALUES(".$this->_dbValues.")");
if ($this->adminActivation) {
$this->_completeMessage = $locale['u160']."<br /><br />\n".$locale['u162'];
require_once INCLUDES."sendmail_include.php";
$toname= "".$settings['siteemail']."";
$toemail = "".$settings['siteemail']."";
$fromemail = "".$settings['siteemail']."";
$site = "".$settings['sitename']." - ".$settings['siteurl']."";
$subject = "New member notification!";
$content = "There is a new member on your site which need to be activated. Click on the link to go to your website. ".$site." ";
sendemail($toname,$toemail,$fromemail,$site,$subject,$content);
}
//-----UNACTIVATED USERS EMAIL NOTIFICATION-----//
require_once INCLUDES."sendmail_include.php";
$toname= "".$settings['siteusername']."";
$toemail = "".$settings['siteemail']."";
$fromemail = "".$settings['siteemail']."";
$site = "".$settings['sitename']." - ".$settings['siteurl']."";
$subject = "New Member Notification";
$content = "There is a new member on your site which need to be activated. Click on the link to go to your website: ".$site." \n";
sendemail($toname,$toemail,$site,$fromemail,$subject,$content);
//-----UNACTIVATED USERS EMAIL NOTIFICATION-----//
Category Forum
User Administration - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions