
Mitch Referrals 1.2.0 — Feature Release

New Features
Member Referral System
Automatically generates a unique referral code per user
Simple ?ref=CODE links — no pretty URLs required
Prevents self-referrals and duplicate attribution
Click Tracking
Tracks total clicks
Tracks unique clicks (24-hour IP window)
Logs landing page, IP, and user agent
Registration Attribution
Referral credit is awarded only on successful registration
Attribution stored securely via cookie
One referral per registered user (no gaming the system)
Member Affiliate Page
Dedicated page showing:
Referral code
Referral link
Total clicks
Unique clicks
Total registrations
Latest referred members
Copy-to-clipboard referral links
Sidebar Widget (Optional)
Displays referral stats anywhere widgets are supported
Shows:
Referral code
Referral link for the current page
Click and registration totals
Automatically adapts if the user has not generated a code yet
Admin Control Panel
Dedicated admin page for referral oversight
Clean admin navigation entry
Fully exportable, dev-mode-friendly add-on structure
Configurable Options
Admin-configurable referral cookie lifetime
Built to support future expansion (commissions, rewards, etc.)

Technical Highlights
Built specifically for XenForo 2.3.x
No core file edits
No pretty URLs required
Uses native XenForo:
Entities
Widgets
Templates
Event listeners
Safe for live sites
Clean uninstall (no orphaned data)