DGD Race Tracker
DGD Race Tracker is a WordPress plugin designed to track drivers and lap times during a 24-hour bike race. It features:
- Race session management with planned start/end times
- Multiple driver tracking with editable planned lap times
- Driver switch tracking with manual second-accurate time corrections
- Queue-based change prognosis with quick edit controls
- Dark theme optimized for outdoor/night use
- Public read-only live dashboard for blog readers
- Real-time statistics, rolling averages, and race-end buffer forecast
- CSV export after a race has ended
Public Dashboard
The plugin creates a public read-only dashboard page for blog readers:
https://example.com/dgd-race-tracker-live/
The page uses the [dgd_race_tracker_public] shortcode and is created automatically on plugin activation. Readers can view the live race dashboard there, but editing remains limited to WordPress admins.
Quick Start
- Create a Race: Enter race name, start/cutoff time, first-lap offset, target offset, and driver names.
- Review the Queue: The forecast shows upcoming stints and can be adjusted quickly with the
-buttons. - Start or Correct the Race Start: Before the first switch, the correction field adjusts the race start.
- Switch Drivers / Next Lap: Use the main action button to log a driver change or another lap for the same driver.
- Track the Forecast: Watch current/next driver, change countdown, queue, driver stats, and race-end buffer.
Features
- Night-Proof UI: Dark theme with high contrast for outdoor visibility
- Queue Prognosis: Forecasts future driver changes through the race cutoff
- Quick Queue Editing: Remove upcoming stints directly from the forecast
- Manual Time Corrections: Correct race start or driver switch times to the second
- Multi-Driver Support: Track unlimited drivers per race
- Driver Statistics: Completed laps, remaining projected laps, rolling 3-lap average, and next ride countdown
- Public Dashboard: Read-only live view for blog readers
- Race Export: CSV export after the race is ended
- Responsive Design: Works on desktop, tablet, and mobile devices
Technical Details
The plugin creates the following database tables:
– wp_rar_race_sessions: Race events
– wp_rar_drivers: Driver information
– wp_rar_lap_times: Individual lap records
– wp_rar_driver_rotations: Driver switch history
Requirements
- WordPress 5.0+
- PHP 7.4+
- MySQL 5.6+
Future Enhancements
Most originally planned race-management features are now implemented: queue prognosis, first-lap offset, target offset, public dashboard, quick queue editing, dark mode, and export.
Possible future additions:
- [ ] Offline/PWA support for unreliable network conditions
- [ ] More export formats if needed
- [ ] Dedicated mobile app integration
Support
For issues or feature requests, contact the plugin author.