Fixes the upgrade from 1.0.x, which stopped on MariaDB with "Invalid default value for 'period_type'" or on an "invalid callback" during an archive upgrade.
fixedUpgrading from 1.0.x no longer stops with "MySQL query error [1067]: Invalid default value for 'period_type'" on MariaDB 10.2.7 and later. The step that tidies the spotlight table now goes through XenForo's own schema manager, which reads column defaults the same way on MySQL and MariaDB. Your spotlights, options and permissions are kept, and the table ends up exactly as on a fresh install.
fixedUpgrading from 1.0.x with "Install/upgrade from archive" no longer stops on "Callback XenSupport\Spotlight\Listener::criteriaUser is invalid (error_invalid_method)" on servers that keep PHP files in memory (OPcache). The two new event listeners of 2.0 now live in a class of their own.
fixedThe scheduled task and the API scope have a name in the Admin CP ("XenSpotlight: update the race and crown the spotlight" and "Covers reading spotlights, the current race and the hall of fame.") instead of showing their raw phrase keys.
changedIf your upgrade to 2.0.0 stopped on one of these errors, nothing is lost: install the 2.0.1 archive over it with "Install/upgrade from archive", or upload its files, then click Upgrade next to XenSpotlight in the add-on list. The upgrade picks up where it stopped and finishes.
Rebuilt on native XenForo: periods on your forum's clock, rewards paid once, an exact ranking, congratulations, a spotlight badge, a hall of fame and an Admin CP that explains each pick.
fixedPeriods follow your forum's time zone: days start at local midnight, weeks on Monday and months on the 1st, daylight saving included. They used to start at midnight UTC, an hour or two off for most European forums.
fixedThe selection now runs every hour instead of once a day at 02:15. A daily spotlight is no longer decided on two hours of activity, and a live race really moves during the week.
fixedRewards are paid once. In live mode, every change of leader used to send another alert, another forum-wide broadcast and more XenLevel XP. The race now runs for the whole period and the winner is crowned once at the end; locked and manual picks are crowned at once, as before.
fixedThe ranking is exact: solutions count for every member, not only for the top ten by posts, and posts in deleted or moderated threads no longer count.
fixedThe contenders list follows the current period and your settings. It no longer shows last week's race after the period changes, or old numbers after you change a weight or an exclusion.
fixedThe "Alert all members" broadcast respects alert preferences, skips banned and inactive accounts and members who cannot view the spotlight, and runs in batches of 1,000 instead of one large query.
fixedRenamed, merged and deleted members are handled: names stay in step, a merge moves the history to the account that stays, and a deleted member's spotlights read "Former member" instead of showing a broken link.
fixedChanging the period in the middle of a week no longer leaves two spotlights covering the same day, and period dates read the same for every visitor and in the Admin CP.
fixedThe featured member's message is censored and limited to 280 characters, and the accent color is checked and picked with a color picker.
addedCongratulations: members react to the spotlight with XenForo's reactions. The winner gets an alert, and the three spotlight alerts (featured, broadcast, reactions) can each be switched off in alert preferences.
addedYour standing: logged-in members see their score and rank in the race, how far they are from the top ten, or the exact reason they cannot be featured yet.
addedAn "In the spotlight" banner in posts, in the member tooltip and on the profile while the period lasts, at no extra query; a Spotlights count on profiles; Most featured in Notable members; a user criterion for trophies, promotions and notices.
addedA hall of fame with pages, a filter by member and the most featured members, and widget options to show the score and the top three contenders.
addedAdmin CP: an overview with a live ranking that explains who is eligible and why, a list of every spotlight with edit, recalculation and deletion, an admin permission, a Rebuild XenSpotlight tool, style properties and a read-only REST API.
addedNew options for the badge and the contenders cache. Excluded groups, forums and members are picked from lists instead of typed IDs (your current values are converted), and a weight can be set to 0 to ignore a type of activity.
changedEvery page is built from XenForo's own components (member header, tabs, lists, reactions) and follows your style in light and dark. The stylesheet went from 22 KB to 5 KB, and the widget loads less than 1 KB.
changedUpgrade: install the archive over any 1.0.x from the Admin CP, after a backup. Spotlights, options and permissions are kept and nothing is paid twice. If the upgrade stops with an "invalid callback" error, your data is safe: wait two minutes (some hosts keep PHP files in memory) and click Upgrade again.
XenSpotlight 1.0.15 keeps one Spotlight per period, counts solutions on MySQL 8 again, and fixes the missing icons, the broken options link and the default permissions.
fixedThe Spotlight is now picked once per period and stays for the whole day, week or month, however many times the cron runs. It no longer flips between two members on each run.
fixedA member set manually from the manager now stays in place until the next period instead of being replaced by the next cron run.
changedBy default the winner is chosen from the activity of the period that just ended. The live mode, which follows the current leader, is still available by turning off "Lock the winner for the whole period". Boards left on the default setting are moved to the locked mode by the upgrade.
fixedSolutions are counted again on MySQL 8. They are now read from XenForo's question table.
fixedThe history icon and the "Run selection now" button icon now display on XenForo 2.3.
fixedThe "Open XenSpotlight options" button in the manager no longer leads to a 404 page.
fixedGuests and registered members can now view the Spotlight page right after install or upgrade. Existing permission choices are kept.
changedThe Spotlight page and widget now respect the "View the spotlight page" permission.
fixedBroadcast alerts now light up the alert badge and show the period correctly.
fixedThe "you're in the spotlight" alert now shows the member's avatar instead of a blank one.
fixedThe accent color field no longer shows a raw phrase key when XenStaff is not installed.
The public page is no longer a flat profile card. The featured member steps onto a full-bleed stage with wash, orbs, beam, accent rail, avatar ring, optional quote, a stats dock, and CTAs that follow the active theme.
Contenders now use a masthead plus a top-3 podium and a ranked list from #4 onward, in the same visual language as Staff and Ping. History cards and the sidebar widget follow the same rules: a custom accent only when one is set, otherwise native XF tokens.
In the ACP, XenSpotlight is a standalone menu entry (no XenSupport parent dependency), with Manager and Options as sub-items for manual selection and add-on settings.
changedThe public page is no longer a flat profile card. The featured member steps onto a full-bleed stage with wash, orbs, beam, accent rail, avatar ring, optional quote, a stats dock, and CTAs that follow the active theme.
changedContenders now use a masthead plus a top-3 podium and a ranked list from #4 onward, in the same visual language as Staff and Ping. History cards and the sidebar widget follow the same rules: a custom accent only when one is set, otherwise native XF tokens.
changedIn the ACP, XenSpotlight is a standalone menu entry (no XenSupport parent dependency), with Manager and Options as sub-items for manual selection and add-on settings.
changedCurrent stable release, matching the version sold on xen-support.com today.
Every line here comes from the release itself, not from a page somebody remembered to update.
Want to be told when something ships? Watch the announcements forum.