http://wordpress.org/extend/plugins/wp-useronline/ it uses ajax, but I have not tested it with WP-Cache
I tried that one actually, and it doesn’t work with WP-Cache.
okie guess not. Most of the plugins have problem working once wp-cache is used.
Try this FAQ and look in the middle where it tells you how to keep certain functions dynamic:
http://dev.wp-plugins.org/browser/wp-cache/trunk/README.txt?format=raw
Thanks ck, but I want to use this on my homepage, and as far as I know there’s no way to tell WP-Cache to not cache the homepage, because it rejects pages based on a list of keywords that it matches up with the page’s URI.
it will not cache the output that is generated by useronline if you use the mfunc as stated above
Oh, ok. Well it says I need to use this code:
<!--mfunc function_name('parameter', 'another_parameter') -->
<?php function_name('parameter', 'another_parameter') ?>
<!--/mfunc-->
Do you mind explaining what parameters I should use?
<div id="useronline-count">
<!--mfunc get_useronline() -->
<?php get_useronline() ?>
<!--/mfunc-->
</div>
BTW GamerZ, that plugin uses a TON of CPU, and my host told me to disable it, because it was taking my site down lol
What is your site traffic like? I am getting about 500 hits daily and it works fine for me.
I think this is my one of my lighter plugin
1000 uniques + when I had to disable it, so a few thousand pageviews