Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Who's Online

135678

Comments

  • lech, i couldn't duplicate this myself. my assumption is that your php is running in some sort of strict mode. nevertheless, i added in some additional checking that *should* fix it.

    and i updated the version number. ;)

    let me know if that fixes it.

    http://www.thirty5.net/code/vanilla/whosonline/WhosOnline.phps
  • Awesome, I will have a go with it when I'm done mucking around with my server :D
  • I just loaded the who's online extension and I know there are two other poeple online using the board. Unfortunately the only member being shown as being online on my end is me. Bug?

  • scroll up.
  • edited August 2005

    I grabbed the "fix" and members still aren't showing. Would I have to do the toggle extension thing?

    Edit nvm... I guess 15 minutes later we all started showing up to one another.

  • just remeber, that unless you are an admin (then you see everything), but average users can choose whether to hide thier name in the Who's Online panel.
  • BenBen
    edited August 2005
    The fix didn't work for me, so I just manually added the string for everyone.
  • edited August 2005
    hello everyone! i have two users on the same IP address, and only one is showing up. is it possible to fix that? (at least, i assume the problem is their shared IP)

    FYI i'm running 10.0.3, and vanilla 0.9.2.2
  • ah... that could explain why mine doesnt work, for some reason almost every member comes in through the same IP
  • From what I can tell, this should have nothing to do with the IP table row, it should only be updating the users timestamp with each click and checking if the user ID with the options selected. providing the entry has been populated your users should be appearing, weird if they're not.
  • @lech - did the fix work for you?
  • I haven't tried it yet, david. I've either been too busy, or too drunk. Currently I am too damn tired lol. I'll set it up on the crash test tomorrow when I wake up. I've left myself a nice big post-it note to do so sometime durring the day. you shall know in the next 36 hours.
  • it works for me.
  • I really would like to see the number of guests online.
  • So what would be the best way to keep track of the number of guests? Its kinda essential for my board to have this functionality.
  • Raw Counting
    SELECT COUNT(userID) as userID FROM LUM_User WHERE LUM_User.userID > 0

    I suspect as an extension though it would be formatted much differently :D as well as safely.
  • edited August 2005
    Hmm, well, it doesn't look like I'd have idea on how to plug that in to the extension. I mean, I understand it, I just read over the extention and I see nothing even similar to that in the code.
  • lech, i don't think that will work. that will just count the number of registered users.
  • Oh, I read that before as number of total users. My bad.
  • Heh, I thought that looked like a really odd solution as to how to count guests.
This discussion has been closed.