Who's Online

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CorbinH
    Senior Member
    • May 2009
    • 232
    • 4.0.0

    Who's Online

    We have just completed the upgrade from 5.2.1 to 5.4.3. without any major drama.
    But we do have some questions, one at a time.
    For the first time we are now getting an accurate account of who's online when activating the tab, however the first page does not show 10 visitors. Can anyone think of a reason why this is happening?

    Click image for larger version

Name:	Online.jpg
Views:	385
Size:	152.1 KB
ID:	4397576
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Go to AdminCP > Maintenance > Clear System Cache
    Then reload the online page.
    Does it show all ten now?
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment


    • CorbinH
      CorbinH commented
      Editing a comment
      No, still showing only 2 visitors.

    • CorbinH
      CorbinH commented
      Editing a comment
      Even shut down and restarted forum, still only showing 2 visitors on the first page.

    • CorbinH
      CorbinH commented
      Editing a comment
      This is really weird for the first 16 pages it cycles through the same members on showing different members each time. It doesn't start showing 10 visitors until page 17 when it starts showing guests.
  • CorbinH
    Senior Member
    • May 2009
    • 232
    • 4.0.0

    #3


    Click image for larger version

Name:	P1.jpg
Views:	291
Size:	151.7 KB
ID:	4397584

    Click image for larger version

Name:	P2.jpg
Views:	295
Size:	163.0 KB
ID:	4397585

    Click image for larger version

Name:	P3.jpg
Views:	266
Size:	157.8 KB
ID:	4397586

    Attached Files

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 74132

      #4
      Edit the module and what is the number of users per page set to? Maybe increase this value to be higher than 2.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • CorbinH
        Senior Member
        • May 2009
        • 232
        • 4.0.0

        #5
        Where do I edit this module. I tried to edit via edit the navigation bar, but there was nowhere to set number of users per page

        Click image for larger version

Name:	Edit-Module.jpg
Views:	258
Size:	160.0 KB
ID:	4397624

        Comment

        • glennrocksvb
          Former vBulletin Developer
          • Mar 2011
          • 4021
          • 5.7.X

          #6
          It's not in Navigation Bar. Go to the Online page and then click Edit Page, then click the Pencil icon in the Online module.

          Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

          Comment


          • CorbinH
            CorbinH commented
            Editing a comment
            Thanks, will do.
        • CorbinH
          Senior Member
          • May 2009
          • 232
          • 4.0.0

          #7
          Number of users is set to 10.

          Click image for larger version

Name:	Online-1.jpg
Views:	261
Size:	161.1 KB
ID:	4397632

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74132

            #8
            Are these people marked as invisible? Do you have yourself set to see invisible users (the default setting for administrators)?

            You can adjust whether someone can set themselves as invisible in the Usergroup Permissions. Usergroups -> Usergroup Manager. Being able to see invisible users is set in the same location.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment


            • CorbinH
              CorbinH commented
              Editing a comment
              Yes, being an Admin I have set myself to see invisible members. That doesn't account for the strange results shown in post #3.
          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24287
            • 6.0.X

            #9
            Been a while since I saw this issue on a site, but whenever I did, emptying the session table seemed to fix it.

            You can run this query:
            Code:
            DELETE FROM session
            This will remove EVERYONE from the Who's Online list, and then as people start to browse the site they will gradually reappear.
            What I found was that at this point it started showing ten per page again.

            NOTE: Never run this query on any other table unless instructed to by us. You will permanently break your site if you do.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment


            • CorbinH
              CorbinH commented
              Editing a comment
              How and where do I run this code?

            • Mark.B
              Mark.B commented
              Editing a comment
              You can run queries within the vBulletin Admin Control Panel by going to Maintenance -> Execute SQL Queries.

              To run Queries in the Admin Control Panel you need to edit your /core/includes/config.php file and add your user ID to the Can Run Queries section. It looks like:

              // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
              // The users specified here will be allowed to run queries from the control panel.
              // See the above entries for more information on the format.
              // Please note that the ability to run queries is quite powerful. You may wish
              // to remove all user IDs from this list for security reasons.
              $config['SpecialUsers']['canrunqueries'] = '';

              Place your user id between the single quotes.

            • CorbinH
              CorbinH commented
              Editing a comment
              I ran DELETE FROM session and it ran perfectly.
              Thank you very much Mark.
          • CorbinH
            Senior Member
            • May 2009
            • 232
            • 4.0.0

            #10
            We have just done a massive upgrade from 5.2.1 to 5.4.3. I suspect that we will have to run some of the maintenance programs to clean everything up.

            Could you suggest what maintenance programs we should run and in what order, including the recommended ones at the top of the AdminCP page.

            Click image for larger version

Name:	Housekeeping.jpg
Views:	278
Size:	170.0 KB
ID:	4397647

            Comment


            • Mark.B
              Mark.B commented
              Editing a comment
              None of these will have any effect on Who's Online.
              You may need to rebuild the search index but again that doesn't affect Who's Online and I'd get that sorted first...one issue at a time.

            • CorbinH
              CorbinH commented
              Editing a comment
              Exactly baby steps, and backup, backup, backup.
          • Carrfixr
            Senior Member
            • May 2017
            • 1369
            • 5.5.x

            #11
            All these issues are a common occurrence on my site. I have made support tickets for the members shown, but nothing was confirmable even with my screen shots. The page number error shown above also happens in thread view.

            Comment

            • CorbinH
              Senior Member
              • May 2009
              • 232
              • 4.0.0

              #12

              "You can run queries within the vBulletin Admin Control Panel by going to Maintenance -> Execute SQL Queries.

              To run Queries in the Admin Control Panel you need to edit your /core/includes/config.php file and add your user ID to the Can Run Queries section. It looks like:

              // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
              // The users specified here will be allowed to run queries from the control panel.
              // See the above entries for more information on the format.
              // Please note that the ability to run queries is quite powerful. You may wish
              // to remove all user IDs from this list for security reasons.
              $config['SpecialUsers']['canrunqueries'] = '';

              Place your user id between the single quotes."


              I suspected as much, unfortunately even though I have Admin privileges they do not extend that far. I will have to contact the site owner and ask him to do it, or get a higher clearance.

              Click image for larger version  Name:	SQL.jpg Views:	1 Size:	89.8 KB ID:	4397654
              Last edited by CorbinH; Tue 4 Sep '18, 2:43pm.

              Comment

              • Carrfixr
                Senior Member
                • May 2017
                • 1369
                • 5.5.x

                #13
                I’m on the cloud with a support ticket. They could have easily have ran that on their own back when I was addressing it. Right now I have so many other more important pressing issues I gave up. I hope you can get further with it at some point

                good luck

                Comment

                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24287
                  • 6.0.X

                  #14
                  Originally posted by CorbinH
                  "You can run queries within the vBulletin Admin Control Panel by going to Maintenance -> Execute SQL Queries.

                  To run Queries in the Admin Control Panel you need to edit your /core/includes/config.php file and add your user ID to the Can Run Queries section. It looks like:

                  // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
                  // The users specified here will be allowed to run queries from the control panel.
                  // See the above entries for more information on the format.
                  // Please note that the ability to run queries is quite powerful. You may wish
                  // to remove all user IDs from this list for security reasons.
                  $config['SpecialUsers']['canrunqueries'] = '';

                  Place your user id between the single quotes."


                  I suspected as much, unfortunately even though I have Admin privileges they do not extend that far. I will have to contact the site owner nad ask him to do it, get a higher clearance.
                  FTP access is what's needed to effect the change.

                  Or if you have access to the host's control panel, they generally have a tool for running database queries in there. Usually phpMyAdmin.
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment


                  • CorbinH
                    CorbinH commented
                    Editing a comment
                    What are the consequences of entering the wrong user ID? The ID I need to enter is either 1 or 2.
                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24287
                  • 6.0.X

                  #15
                  Originally posted by Carrfixr
                  I’m on the cloud with a support ticket. They could have easily have ran that on their own back when I was addressing it. Right now I have so many other more important pressing issues so I dropped it
                  They probably did, and it probably didn't fix it. I'm not suggesting it's a magic fix, but I know of at least three sites that ran into this and it did fix it. At least for a time. I would hazard a guess that even if it fixes it, it could recur later.
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment

                  Related Topics

                  Collapse

                  Working...