Forums / General Questions / Disable Whos Online?

Disable Whos Online?

Views: 1,492

Results 1 to 3 of 3
18 Aug 2011, 5:58 PM
#1
hey_you avatar

hey_you

New Zenner

Join Date:
Sep 2009
Posts:
49
Plugin Contributions:
0

Disable Whos Online?

Is there any way to disable the Who's online tracking?

I've been having troubles with the table crashing and a large query that is causing mysql to become non-responsive. I don't look at the who's online report in admin nor use the side box.

Wondering if this is possible or if it's critical to any functions.

Thanks

19 Aug 2011, 12:32 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Disable Whos Online?

It's not critical to anything.

You can disable it by editing /includes/functions/whos_online.php as shown:
Around line 15, insert a "return" statement like this:```
function zen_update_whos_online() {
[B][B]return;[/B][/B]
global $db;

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Aug 2011, 1:16 AM
#3
hey_you avatar

hey_you

New Zenner

Join Date:
Sep 2009
Posts:
49
Plugin Contributions:
0

Re: Disable Whos Online?

Thanks!!