Page 1 of 3

Who's Online Enhanced

Posted: Sat Nov 29, 2025 11:05 am
by tessthepup
I enhanced the who's online page to have more function and show more info.

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

Re: Who's Online Enhanced

Posted: Sat Nov 29, 2025 4:15 pm
by azpro
Hi Mark,

This add-on is awesome! Tested and works lik a charm!

If it was possible to show the contents of a guests Shopping Cart (like logged-in costomers) that would really be great!

And maybe - discard the ext/modules/pulse/collect.php (now always shown as Last URL) ...

Then this add-on would be (f***ing) close to perfection :D

Again - Thank you Mark for your great work!

A

Re: Who's Online Enhanced

Posted: Sat Nov 29, 2025 5:51 pm
by tessthepup
azpro wrote: Sat Nov 29, 2025 4:15 pm Hi Mark,

This add-on is awesome! Tested and works lik a charm!

If it was possible to show the contents of a guests Shopping Cart (like logged-in costomers) that would really be great!

And maybe - discard the ext/modules/pulse/collect.php (now always shown as Last URL) ...

Then this add-on would be (f***ing) close to perfection :D

Again - Thank you Mark for your great work!

A
@azpro
Thank you very much for the kind words :D

I would probably need feedback from a certain a core team member @burt as I am not sure how the guest cart side of things would be handled but willing to give it a go when time permits

I will have to dig deeper into the pulse collect module as well as I don't know a great deal about how it works.

Re: Who's Online Enhanced

Posted: Wed Dec 03, 2025 12:58 pm
by rupruprup
there is no download link or did I miss something?

Re: Who's Online Enhanced

Posted: Wed Dec 03, 2025 1:29 pm
by Dan Cole
rupruprup wrote: Wed Dec 03, 2025 12:58 pm there is no download link or did I miss something?
You did...have a look at the bottom of the first post.

Dan

Re: Who's Online Enhanced

Posted: Wed Dec 03, 2025 6:09 pm
by burt
tessthepup wrote: Sat Nov 29, 2025 5:51 pm I am not sure how the guest cart side of things would be handled but willing to give it a go when time permits
It's not an area I have worked in, ecartz last worked there and changed some stuff. You might look back through any posts of Matts or see if anyone has updated the whos_online to show `not logged in` carts.

Re: Who's Online Enhanced

Posted: Fri Dec 05, 2025 10:52 am
by radhavallabh
Hi dear;
Thanx @tessthepup for this wonderful addon;
I tried uploading and visiting whosonline.php;
It keeps loading the page without further moving, followed all steps but still does not load.
Any guidance pls??
Thabk you again in advance ;
Very Warm Regds./
radhavallabh

Re: Who's Online Enhanced

Posted: Fri Dec 05, 2025 11:08 am
by tessthepup
radhavallabh wrote: Fri Dec 05, 2025 10:52 am Hi dear;
Thanx @tessthepup for this wonderful addon;
I tried uploading and visiting whosonline.php;
It keeps loading the page without further moving, followed all steps but still does not load.
Any guidance pls??
Thabk you again in advance ;
Very Warm Regds./
radhavallabh
Hi, what version of Phoenix are you using?

Also have you checked your error log for any errors?

Re: Who's Online Enhanced

Posted: Fri Dec 05, 2025 11:12 am
by radhavallabh
tessthepup wrote: Fri Dec 05, 2025 11:08 am
radhavallabh wrote: Fri Dec 05, 2025 10:52 am Hi dear;
Thanx @tessthepup for this wonderful addon;
I tried uploading and visiting whosonline.php;
It keeps loading the page without further moving, followed all steps but still does not load.
Any guidance pls??
Thabk you again in advance ;
Very Warm Regds./
radhavallabh
Hi, what version of Phoenix are you using?

Also have you checked your error log for any errors?
Hi dear;
Using 1.1.0.6, yes checked error logs nothing there. In chrome it loaded in around 5 minutes but hung and keeps loading showing refreshing on the top right.
Also i noticed the entries are not sorted by time of entry dear...
Very Warm Regds./
radhavallabh

Re: Who's Online Enhanced

Posted: Fri Dec 05, 2025 12:40 pm
by tessthepup
radhavallabh wrote: Fri Dec 05, 2025 11:12 am
tessthepup wrote: Fri Dec 05, 2025 11:08 am
radhavallabh wrote: Fri Dec 05, 2025 10:52 am Hi dear;
Thanx @tessthepup for this wonderful addon;
I tried uploading and visiting whosonline.php;
It keeps loading the page without further moving, followed all steps but still does not load.
Any guidance pls??
Thabk you again in advance ;
Very Warm Regds./
radhavallabh
Hi, what version of Phoenix are you using?

Also have you checked your error log for any errors?
Hi dear;
Using 1.1.0.6, yes checked error logs nothing there. In chrome it loaded in around 5 minutes but hung and keeps loading showing refreshing on the top right.
Also i noticed the entries are not sorted by time of entry dear...
Very Warm Regds./
radhavallabh
@radhavallabh
Leave it with me and I will try and replicate the problem over the weekend