* Kurzbeschreibung : Sendet Erinnerngen aus, damit die Profile *
* von den Mitgliedern aktuell gehalten werden *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Sendet Erinnerngen aus, damit die Profile *
* von den Mitgliedern aktuell gehalten werden *
* -------------------------------------------------------------------- *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2015 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 *
-} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
- // Do not execute when script is in CSS mode or no daily reset
+} elseif ((!isHtmlOutputMode()) || (!isDailyResetEnabled())) {
+ // Do not execute when script is in non-HTML mode or no daily reset
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
+ logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-profile disabled.');
- $result = SQL_QUERY("SELECT
- `userid`, `email`, `last_update`, `joined`
+ $result = sqlQuery("SELECT
+ `userid`,
+ `email`,
+ `last_update`,
+ `joined`
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']));
`{?_MYSQL_PREFIX?}_user_data`
SET
`last_profile_sent`=UNIX_TIMESTAMP(),
`{?_MYSQL_PREFIX?}_user_data`
SET
`last_profile_sent`=UNIX_TIMESTAMP(),