User Online for WordPress 1.5 and higher
Greg Perry addressed a WordPress option we are searching for quite some time:
What I really want is a sidebar section that displays visitors and a little technical information, such as IP address and useragent. I like the useronline division into members, guests and bots, but find fault with its implementation…Of course, if I want visitors to register as users, I have to offer something worth registering for, and don’t have anything yet. I’d settle for a pattern recognition system that identified repeat visitors, which would hopefully allow me to identify friends and family as they dropped in, but pattern recognition is really cutting-edge programming.
I have been searching for ages for a plugin that just shows the current number of logged-in members and the number of visitors in the sidebar of this WordPress weblog, the rest is just unnecessary crab.
I don’t get though why such a thing does not exist for WordPress 1.5.2 “Strayhorn”. There used to be the WordPress User Online plugin but that does not work in the latest versions of WordPress. Jennifer from www.scriptygoddess.com wrote something but I think that is too much work and I do not see her counter in any sidebar.
I would be very grateful if anyone can help me and my friends out.
Update: Greg Perry from Ramblings fixed the User Online plugin, he is going to write the documentary how he solved the problems.
Update 2: Greg Perry – I have to wonder whether it’s more efficient to just start my own plugin. I guess I’ll wait for the masses to weigh in on that issue. Holy Crap!
Update 3: Greg Perry – This evening I printed out the code and followed it step by step. I can see that, although I have learned from the way the author wrote the plugin, I would do it sort of differently…When I get the time, I’ll start on a new plugin from scratch that I will publish under the GPL. Hovering
Update 4: Greg Perry – I’m sure the author had a good motivation for choosing to use the comment_author_ cookie, and I’m sure it was because he didn’t expect visitors to routinely register when they go to blogs, even ones that they visit a lot. But if someone was interested enough to leave a comment, he or she got a cookie that identified them later. That strategy isn’t perfect, but I think it’s a lot more practical than expecting visitors to register when they visit your blog. Personally, I hate registering, and I’ll only do it if it gives me a distinct advantage. Logging In
Update 5: Greg Perry – I’ve compared my hacked versions of the WP-UserOnline plugin to the released versions and compiled the differences in a text file. I put the file, called “Instructions.txt”, in my online folders. WP-UserOnline Hacks
Update 6: There is a new version of Useronline for wp 1.5.2 (with some minor bug, but it works). The version for WordPress 2.0 works fine. I want to thank Greg for all his efforts and help. You are always welcome to visit us or ask for help, Greg.