Before I upload it to the addons I would love some feedback on it and if you have any suggestions for improvements or changes.
Who's Online Enhanced Version 1
Created & Tested on CE Phoenix v1.1.0.6
This addon is an enhancement to the standard Phoenix Cart Who's Online
** Note this addon modifies a core file - YOU HAVE BEEN WARNED!
This addon also uses CrawlerDetect https://github.com/JayBizzle/Crawler-Detect which is a PHP class for detecting bots/crawlers/spiders via the user agent
All credits to the author https://github.com/JayBizzle
This addon detects and displays if the visitor is a guest, customer or search engine bot.
It also has a unique feature which allows you to 'kick' a session if required.
The page will also refresh every 30 seconds.
It will also display
- Total Visitors
- Total Customers
- Total Guests
- Total Bots
- Top Countries with flags
Unlike the original who's online this enhanced version has a dropdown arrow that will show
- Visitor type
- IP address with IP address lookup and a link to AbuseIPDB to check for malicious IP addresses
- Country
- Device type
- Browser/OS
- Referrer
- Entry date & time
- Last click date & time
- Session ID
Installation
Step 1
Backup your database and store files!
Step 2
Upload all files to your store
Step 3
Run this SQL to add the extra required fields to your whos_online table
ALTER TABLE whos_online
ADD COLUMN user_agent varchar(255) NULL AFTER ip_address,
ADD COLUMN http_referer text NULL AFTER user_agent;
Step 4
Go to admin/tools/Who's Online to see your updated Who's Online