Mitch - Xenforo Social Proof

xF2 Eklenti Mitch - Xenforo Social Proof 1.7.0

indirmek için izniniz yok
Fixed Template not updating
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

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.
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.
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.
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

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
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
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.
This update introduces major improvements to event tracking, admin customization, and new integrations — especially with DBTech Shop. It also includes several refinements that make social proof messaging smarter, more accurate, and more flexible.

New Features

DBTech Shop Integration (Self-Tracking System)

DBTech Shop does not register activity in XenForo’s session tracker, so a custom tracking layer has been built:

Automatically logs shop browsing activity (shop_view events)

Accurately counts recent visitors to the shop

New popup messages:
  • “Mitch is browsing the shop.”
  • “X users are browsing the shop right now.” (admin-toggle soon)
  • Fully independent of session activity — works reliably for all shop pages
  • This makes the shop section a highly visible and socially engaging part of the forum.
Expanded Social Proof Event Types

The add-on now detects and displays a wide range of actions:
  • New resource posted
  • Resource downloaded
  • Resource reviewed
  • Product or shop item purchased
  • Shop browsing session (new)
  • Generic fallback: “Someone just did something on the site.”
Each event is turned into a naturally worded popup message, improving user engagement.

New Admin Options
  • A new structured options group allows full control over the add-on:
  • Enable / Disable Add-on
  • Toggle the entire system without uninstalling.
  • Show Usernames vs Anonymous Mode
  • Decide whether popups reveal usernames or display neutral “Someone…” messages.
Credit Cashout Tracking

Two settings:

  • Show credit cashout total
  • Editable total value (manually updated by the admin)
  • Adds a persistent message such as:
  • “Over 11,000 credits have been cashed out to date.”
Great for communities that reward users through points/credits.

Event Visibility Controls

Admin options allow enabling or disabling:
  • Resource-based events
  • Purchase events
  • Shop browsing events
  • Sitewide engagement fallback messages
(If you want more granular toggles, we can add them in 1.2.1.)

Improved Backend Architecture

New Event Repository Logic

The event system now includes:
  • logEvent() for logging any social action
  • getRecentEvents() for popup display
  • getSitewideOnlineCounts() for total visitors
  • countRecentShopViewers() for custom shop sessions
Each method was rebuilt for accuracy, performance, and extensibility.

New DBTech Shop Controller Extension

A lightweight extension hooks into the Shop’s ItemController:
  • Logs shop_view on every visit
  • Avoids unnecessary database load
  • Zero interference with DBTech code
  • Fully compatible with future DBTech updates
Smarter Popup Messaging System

The popup now supports:
  • Fallback rotation (avoids repetitive messages)
  • Event message priority handling
  • Clean display formatting
  • Optional inclusion of username
  • Integration with admin-controlled credit totals
Messages feel more authentic, dynamic, and engaging.

Bug Fixes
  • Fixed entity loading error (Mitch:SocialProofEvent → Mitch\SocialProof:Event)
  • Fixed class signature mismatch in DBTech controller extension (: void)
  • Improved reliability of JSON API output for frontend requests
  • Standardized switch-case logic for all event types
  • Fixed namespace consistency throughout add-on files
Summary

Version 1.2.0 Beta makes the Social Proof Popup add-on significantly more powerful and more integrated:

  • Full custom tracking of DBTech Shop visitors
  • Cleaner and more intelligent popup content
  • New admin-configurable messaging
  • Better, more reliable event processing
  • Far more engaging real-time activity indicators across the entire site
This update lays the foundation for future enhancements, such as:
  • Delayed message cycles
  • Weight-based event prioritization
  • Per-event enable/disable toggles
  • Popup themes & animation options
  • Resource Manager & Shop deep-title tracking
Geri
Üst