Social Proof Popups — Version 1.4.0 Beta
This update introduces several major improvements to real-time engagement tracking, frontend visuals, and event coverage across XenForo. Version 1.4.0 Beta significantly expands how activity is detected and displayed, introduces theming options, and enhances the overall polish of the popup system.

New Features
1. Light / Dark Theme Support (New Admin Option)
A brand-new theming system allows admins to choose between:
Dark theme (default)
Light theme
The option is located in the add-on’s settings and updates the popup UI instantly.
Both themes feature:
Custom color palettes
Adjusted pill badges
Theme-specific icons, shadows, and contrast
Full template + CSS integration
This makes the popup blend better with any XenForo style.
2. New Registration Tracking (user_register)
When a new user creates an account, the system now logs a registration event and displays messages like:
Mitch just joined the community.
Perfect for showcasing growth and making new members feel welcome.
3. New Thread Tracking (thread_create)
Whenever a member starts a new thread, a social proof event is logged:
Mitch just started a new thread: “Example Title”.
This promotes content discovery, encourages participation, and keeps your community feeling active.
4. Improved Template System (Automatic Popup Injection)
A new template modification automatically inserts the popup into:
PAGE_CONTAINER
This means:
No manual template edits required
The popup works out-of-the-box for all fresh installs
Compatible with all themes and child styles
This addresses the most common installation issue from earlier releases.

Enhancements
5. Cleaned-Up Event Messaging Framework
Additional event types were added and existing message logic was refined:
Clearer, more natural-sounding activity lines
Better username handling (anonymous mode supported)
Randomized rotation to prevent repetition
Stronger fallback logic when no events exist
6. DBTech Shop Integration Improvements
Shop tracking continues to improve:
Shop browsing (shop_view) refined
Better distinction between purchases and browsing
More stable self-tracking system independent of XenForo session activity
Fewer false positives and cleaner output
7. Popup Animation & Visual Polish
Subtle UI refinements:
Smoother motion
Cleaner shadows
Improved pill design
Better small-screen responsiveness
Tweaked typography for readability
Both dark and light themes were individually tuned.

Bug Fixes
Fixed entity extension conflicts with third-party add-ons (XFCP compatibility)
Resolved _postSave() signature mismatch issues
Corrected template include issues for new installs
Improved JS error handling for fetch failures
Fixed duplicated or empty messages when activity data was sparse
Smoothed out timing between refresh intervals and hide timers

Upgrade Notes
Safe to install over 1.2.x and 1.3.x
No database changes required
If upgrading from 1.2.0, manual template edits can now be removed
Refresh your browser cache to ensure CSS updates load
Review the new “Popup Theme” option under Social Proof settings

Summary
Version 1.4.0 Beta delivers the most polished and feature-complete update yet:
Clean, beautiful dark/light popup themes
Expanded event tracking for registrations and new threads
Improved shop integration
Better UX and message generation
Automatic template injection for effortless setup
This release brings your social proof system closer to a full real-time engagement engine for XenForo.