As said earlier in the thread, according to your log files this happened 4 or 5 times on December 21, between 6:06 AM to 6:51 AM
- what is happening:
your happy birthday emails being resent to each user having their birthday set to that day each time you clear your forum cache in the control panel.
- the cause and how to reproduce:
clearing cache from the control panel will clear all forum caches along with today's "sent birthday mail" marker cache. after the marker's cache is cleared, it is rebuilt when the next user/guest logs in or logs out, and users with birthdays on the current date will be sent a happy birthday mail.
note that because ubbt does not use server cron jobs and instead ubbt relies on certain natural actions to happen on the forum (such as logins or forum listings). also note that the account name who triggers the event job is listed in the log for this item. this natural trigger task is invisible to the users and has lived in the forum software this way since its early release.
- the desired solution:
prevent the "today's birthday sent" marker cache from being cleared.
- the fix:
in admin/doclearcache.php around line 18
and in scripts/mycookies.inc.php around line 17
find
WHERE CACHE_FIELD not in ('max_online', 'max_online_timestamp')replace both with
WHERE CACHE_FIELD not in ('max_online', 'max_online_timestamp', 'birthdays')you can manually apply this modification to your forums now, or wait until the next version of UBB.threads is released when it will be included.