Fork me on GitHub

Users Online Admin Doohicky...  Bottom

  • So, I'm working on a users online module for admins only (not a general public user module)...

    It seems attachments aren't allowed on the forum here, so hold on while I FTP the screeny up to my site...

    http://www.reptilerooms.com/stuff/whos_online_screeny4.jpg

    Yeah, kinda big screeny, but you get the idea... I got sick of the regular who's online modules showing me total guests online but not being able to distinguish between who's real and who's a bot... Plus, I wanted to be able to see what they were looking at.. Sure, a nice big high users online count looks good to the tourists, but it's no good to me when I find out that Inktomi & AltaVista are hitting my site every 30 seconds, and I don't really have 200 guests online ;)

    So I started on this a few days ago..

    The "Page" link takes you to the last page that was loaded for that user's session. When you put your mouse over the "Page" link, it comes up with that browser's user-agent (this was just a dev thing for me so I could spot the bots as they hit, but I think I'll keep it in there)... The hostname links to the whois database, and the IP links to arin.net..

    The "Profile" link sends you to where you can view the user's profile (if they're a reg'd user)...

    The search engine names are links to either that particular search engine, or a specific page describing that search engine's bot (what it does, how to stop it, etc.)

    Would this module be useful for any of you out there? What sort of features would you require in something like this?

    Right now it does about all I need it to do, and I don't know how useful it'd be to the rest of you, so just let me know, throw me some ideas.
  • Looks like a good module that would help admins in looking at visitors to their sites. For sites that have large active user counts (be they bots or otherwise) it may be useful to have some kind of pager for the data should the user count get above a certain (configurable) threshold. In addition a configurable list of bots and associated descriptions would be useful for longer term usefulness of the module.

    Good work all round though....

    -Mark

    --
    Visit My homepage and Zikula themes.
  • That is the perfect modules I have been looking for. I havent finished searching through them yet but so far that is the only one I see that I would like to have. Do you plan on submitting it to the pnModules area?

    Moving Target
  • Yeah, eventually.. I've been developing this for a .713 site, and it seems .713 modules don't work too well in .72x, so I'm going to have to re-write it... Also, there's a few bugs with the way it gathers the extra data that it does. With having a block to write the details to the database (last URL, user-agent, etc..) it only works for pages that block displays on. For other pages, there's no stats (backend.php, "Print view" of news articles, forum posts, knowledgebase articles, etc.).

    So, it looks like I might have to hack the sessions file a lil bit. But it should just be a case of adding a few lines to the part where it updates the pn_lastused bit in nuke_session_info.

    But yeah, I will probably release it eventually.
  • What I am looking for is something just liek the phpBB2 Admin screen. Where is shows you who is online and their IP and what page they are on. Members and GUests. Just liek that but for Postnuke. Thats all I really looking for.

    Moving Target
  • have either of you tried the postnuke Advanced Stats module.
    It looks like it does what you are trying to have your module do..

    It gives what users were/are on and at what times. Also tells the paths that they took through the site, last 10 visitors, last time a particular member was on the site, top site pages, etc.

    It was easy to install, though I think yours looks much prettier. Nice job Axe, just sounded like it might be a while til you had the kinks worked out and though that maybe this could hold over Moving Target.
  • Nope, not seen it, you got a URL handy?
  • That would be great. I'm going to try and look for that but give us a link jsut in case i cant find it. Thanks

    Moving Target
  • sorry, meant to put it in the post.. but forgot. icon_rolleyes


    AdvStats: http://www.henner.eu.org/index.php?newlang=eng
  • What about a URL where I can actually see it up and running? :)
  • well it is an admin only feature and once installed the link and control panel are all found in the admin section... so I really don't know of a site that you can preview it on.

    It's simple to install though. Should take you less than 5 minutes, so my advice would be- just try it. if you don't like it- get rid of it or just don't use it.
  • I installed it on mine. It looks ok but I have to look on two different pages to view what each users IP address is. One page gives me the usernames that visited and how many time they visited, how many pages viewed, and when. Anther page gives you the IP addresses but without the usernames.

    Its not exactly what I am looking for. I also dont care for the part that everybody is shown. The block jsut hides the User Details Link if they are not an Admin but it shows how many times the site was viewed today and how many pages. It also shows you the size of the cache.

    I wish I could configure the permissions and get it to where only the admin can see the block but im not real good about the Permissions with Postnuke.

    Moving Target
  • I second the notion that this is exactly what I am looking for. Please pass it on if you submit it. I would love to get this working on my site.

    Thanks,

    Scott

This list is based on users active over the last 60 minutes.