* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
// Do not execute when script is in CSS mode or no daily reset
return;
} elseif (!isExtensionActive('profile')) {
// Do not execute when script is in CSS mode or no daily reset
return;
} elseif (!isExtensionActive('profile')) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
+ logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-profile disabled.');
if ((isSendProfileUpdateEnabled()) && (getProfileUpdate() > 0) && (getResendProfileUpdate() > 0)) {
// Load personal data
$result = SQL_QUERY("SELECT
if ((isSendProfileUpdateEnabled()) && (getProfileUpdate() > 0) && (getResendProfileUpdate() > 0)) {
// Load personal data
$result = SQL_QUERY("SELECT
if (!SQL_HASZERONUMS($result)) {
// We need to send-out notifications...
while ($content = SQL_FETCHARRAY($result)) {
// Translate timestamp
if (!SQL_HASZERONUMS($result)) {
// We need to send-out notifications...
while ($content = SQL_FETCHARRAY($result)) {
// Translate timestamp
if (round($content['last_update']) == '0') {
// Has never changed his accont
$content['last_update'] = '{--MEMBER_PROFILE_NEVER_CHANGED--}';
} else {
// Has changed his account
if (round($content['last_update']) == '0') {
// Has never changed his accont
$content['last_update'] = '{--MEMBER_PROFILE_NEVER_CHANGED--}';
} else {
// Has changed his account
}
// Load email template and send mail away
$message = loadEmailTemplate('member_profile', $content, bigintval($content['userid']));
}
// Load email template and send mail away
$message = loadEmailTemplate('member_profile', $content, bigintval($content['userid']));