A major update focused on performance, reliability, and raffle management! This release modernizes the add-on with database and architecture improvements, new permissions, enhanced raffle tracking, and numerous fixes to make raffles more stable and easier to manage.
New Features
Added a permission to view raffle winners.
Added last entry date tracking for raffles.
Added paginated loading for public raffle entries overlays.
Added pagination for public active and closed raffle lists.
Added a share block to the public raffle sidebar
Improvements
Refactored the codebase.
Replaced raffle winner user upgrade rewards with temporary user group promotions, including migration of existing user_upgrade_id records.
Improved the active raffle list and raffle view layouts.
Improved the ACP raffle entries screen layout.
Migrated serialized arrays to JSON arrays.
Renamed raffle and entry database tables.
Added cached unique raffle user entries.
Updated the Entry and Raffle entity shortName values.
Moved the raffle copy hard-coded text to an XF phrase.
Moved the raffle entries refund hard-coded text to an XF phrase.
Removed the duplicate raffle route.
Bug Fixes
Fixed incorrect Entries relation mapping for raffles.
Fixed a potential infinite loop when drawing multiple winners with duplicate winners disabled.
Fixed validation for raffle entry quantities and remaining entry limits.
Fixed validation for raffle maximum entry limits.
Fixed cron draw processing so an invalid raffle no longer prevents later raffles from being processed.
Fixed widget visibility to prevent hidden or non-viewable raffles from being displayed to unauthorized visitors.
Fixed unsafe widget color parsing for unexpected style property formats.
Fixed raffle winner display when a draw completes without any winners.
Fixed raffle entity date and time output to use XenForo formatting.
Fixed admin announcement thread creation when invalid forum or poster data is provided.
Stopped storing placeholder text in the winner column when a raffle has no winners.
Fixed public raffle list queries to load only active or closed raffles.
Fixed active raffles list showing already drawn raffles.
Fixed closed raffle visibility checks to respect raffle view permissions.
Fixed: A bug where users could view or enter a raffle if it hasn't started yet. Fixed: A version mismatch on some of the templates causing outdated template warnings.
An update to Raffles for XenForo 2.x has been released. Those that have purchased this add-on, please log into your account on my site to download this update.
Fix - Time display not following language time setting
Add - DBTech Credits transaction logging - Thanks to @DragonByte Tech for assistance
Add - Image now copied from original raffle when copying a raffle
Change - Filter display limit now 5000 when displaying raffle entries in admin area
An update to Raffles for XenForo 2.x has been released. Those that have purchased this add-on, please log into your account on my site to download this update.
Add - Check for existence of error PC sender/receiver names when raffle is created
An update to Raffles for XenForo 2.x has been released. Those that have purchased this add-on, please log into your account on my site to download this update.