I need a plugin that shows how many users are currently online. The problem is I have a WP-Cache installed as well so I can't show things in real time. Is there a plugin that maybe uses AJAX or something of the like to get around this problem?
I need a plugin that shows how many users are currently online. The problem is I have a WP-Cache installed as well so I can't show things in real time. Is there a plugin that maybe uses AJAX or something of the like to get around this problem?
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
okie noted.
thanks ;)
This topic has been closed to new replies.