Announcement

Collapse
No announcement yet.

[Release v2] Who's Online

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    One nice feature I would really like to see is to link the names of users online to their profile.

    I think it a must have!

    Other than that the hack is great, and together with the first who's online it's exactly what I was looking to add to my site.

    I also removed the part that shows what guests are doing because on my board it is not uncommon to have over 150 (I have 170 guests right now) guests at a time and the list gets really long.

    Also I read in your previous post about the idea to add more intelligence to the hack as far as guessing what users are doing.
    'beta tester'

    Comment


    • #77
      [QUOTE]Originally posted by Mitrofan
      I also removed the part that shows what guests are doing because on my board it is not uncommon to have over 150 (I have 170 guests right now) guests at a time and the list gets really long.[QUOTE]

      To me that completely defeats the point of the hack. If you just want a list of who's online then there is a list on the main page (the names are linked to their profiles). The whole point of this hack is to provide info about where they are.

      Comment


      • #78
        I only removed the part for guests

        I still have the part that shows what members are doing.

        Right now I have 68 members and 280 guests on my board. Imagine how long the list of who's online would be if I show what guests are doing in addition to what members are doing.

        Still, how about linking the usernames to their profiles?
        'beta tester'

        Comment


        • #79
          Sorry misread your first post.

          Looking into it.

          Comment


          • #80
            Hey Kevin

            I have to confess:
            I'm the one who emailed you twice list night about the IP and stuff.
            And as if it was not enough I'm writing here as well

            Firs of all - THANK YOU KEVIN, nice job!

            Second: I'm comparing how it works with the one from UBB, and couple of things look ...different.
            Whole thing is working a little slow: you can try these experiments: close all your browsers after being on WOL page, and go back to that page, - the chances are - you'll see your self printed twice there.
            Close your browser again (or just click quickly to different parts of the forum, or open cp and change smtn) and most likely you'll see your self 3 times being printed there, e.t.c.
            I've had 5 instances of my self on that WOL page , and it showed that I was at different pages at the same time.
            Third: If you are inactive for a while and then click on refresh, you might find that there's nobody on (even you are not there).
            My question is: has anyone else observe this kind of problems?
            Thank you.

            Comment


            • #81
              Its normal to see some people more than once in whose online and it was not intended to be a exact real-time statistics of where the users are.

              If you don't log-out, the session table has no way of updating itself.

              If you don't logout and just close the browser, you still going to be listed in users online on forum home page for the duration of the time-out set in admin CP

              The same with who's online, if user closed the browser, then comes back to forum it will list him twice for some time untill his first session times out.

              There must be the way to improve this hack to only show the latest session info for the user.

              I think this hack needs at least one or two more improvement, Kevin knows what it is.
              'beta tester'

              Comment


              • #82
                Unfortunately I'm not entirely sure how to fix this. I'm already pulling the records as distinct from the session table, so it should only pull one record per userid.

                The other thing you mentioned,
                If you are inactive for a while and then click on refresh, you might find that there's nobody on
                this can happen if you are inactive for 15 minutes (or however long the cookie timeout is set in the Admin CP) and then refresh the page. Your session has expired and when your refresh the page, it creates a new session for you, however it happens while the page is loading so it won't find that session and display it. That also applies to the other things you mentioned (being seen as other places). This does not apply to the problem of appearing multiple times.

                I'll keep looking into it.

                Comment


                • #83
                  I have released the latest version (v0.2.2) of Who's Online. You can download it from the first post in this thread. To upgrade, just reupload online.php to your server.

                  Comment


                  • #84
                    Hey Kevin

                    It's me again, your critic
                    No, actually I'm your admierer. I just want this thing to work perfectly, therefor I think I'm helpful.
                    BTW, thank you very much for your email, I think you are an exceptionally nice guy.
                    Another problem: If you leave the Who's Online window open and your IP (I think this is the reason) changes, because of re-connecting a dile-up, for example,
                    refreshing of the page will show that you are not there.
                    It is kinda important for me, and I hope there is a solution to that.
                    Thank you in advance.

                    Comment


                    • #85
                      Javascript refresh.....for Wol

                      Not sure if anyone is interested, but I've installed a javascript that will allow for manual and automatic page refresh that can be set to a certain number of seconds. This pretty much solves the refresh as far as I'm concerned. Not that most people wouldn't refresh by their browser anyhow, but.....some won't.



                      Javascript Code: for auto refresh..

                      <head>
                      <title></title>
                      <script language="JavaScript">
                      <!--

                      var sURL = unescape(window.location.pathname);

                      function doLoad()
                      {

                      setTimeout( "refresh()", 60*1000 );
                      }

                      function refresh()
                      {

                      window.location.href = sURL;
                      }
                      //-->
                      </script>

                      <script language="JavaScript1.1">
                      <!--
                      function refresh()
                      {

                      window.location.replace( sURL );
                      }
                      //-->
                      </script>

                      <script language="JavaScript1.2">
                      <!--
                      function refresh()
                      {

                      window.location.reload( false );
                      }
                      //-->
                      </script>
                      </head>
                      <body onload="doLoad()">
                      </body>
                      </html>

                      Javascript code for manual refresh:..

                      <html>
                      <head>
                      <script language="JavaScript">

                      var sURL = unescape(window.location.pathname);

                      function refresh()
                      {
                      window.location.href = sURL;
                      }
                      //-->
                      </script>

                      <script language="JavaScript1.1">
                      <!--
                      function refresh()
                      {
                      window.location.replace( sURL );
                      }
                      //-->
                      </script>

                      <script language="JavaScript1.2">
                      <!--
                      function refresh()
                      {
                      window.location.reload( false );
                      }
                      //-->
                      </script>
                      </head>

                      <body>

                      <p><a href="javascript:refresh()"><img src="images/wolbutton.gif" border="0"
                      align="middle" width="71" height="70"></a>image as a button</p>

                      </body>
                      </html>


                      I have both manual and auto installed. Both work fine together. I would install the auto above the manual in the header. And of course be sure to put everything in its proper place.
                      This is installed in the online template. Also I wouldn't advise installing a metatag refresh. These can cause problems.

                      If you decide to use this for your WOL and have problems with it, PM me instead of posting in here unless Kevin states otherwise.

                      SeeYa....
                      Last edited by Hooper; Thu 17 May '01, 2:16am.

                      Comment


                      • #86
                        Hey Hooper

                        Very helpful script,
                        Thanks a lot

                        Comment


                        • #87
                          Hey Tubedogg

                          As far as I've noticed, the visitors are not doubled in the small table version of Who's Online in a front page.
                          I don't really know how it's done, but hope this observation might help.

                          Comment


                          • #88
                            Kesha: Yes, that's why I'm at such a loss. The code that pulls the records from the database is basically identical to the code that is used on the front page. I'm going to continue trying various things. Hopefully I'll get it worked out soon.

                            Comment


                            • #89
                              Hey Tubedogg

                              2 things:
                              1. The IP displayed in Who's Online is the one that belongs to the person who's looking at it. All the users have the same IP. So, I believe that variable $ipaddress is not the one that should be used there.
                              2. How can I change the title underneath the boards name from Who's Online to Who's On or Who's Alive, and place a pic to the right from it.
                              Thank you in advance

                              Comment


                              • #90
                                Couple of 'bugs'

                                1) I'm still listed twice

                                2) Some links are displayed as: Viewing post #128099#post128099 in thread "Dudek bedankt" and the url is then:

                                htp://feyenoord.messagebase.nl/showthread.php?postid=128099#post128099post128099post128099

                                (with http instead of htp ofcourse, otherwise he wouldn't printed the whole url)
                                Last edited by Mas*Mind; Mon 21 May '01, 5:20pm.

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X