Reset most users online number.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • accyroy
    Senior Member
    • Nov 2003
    • 102
    • 2.3.2

    Reset most users online number.

    I'd like to reset this number as I think a spider totally messed it up as it is reading over 100 on line and the most i usually get is about 20-30..
    Accrington
    Land Rover Forum
    PLC Forum
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    To reset this back to 0 in vB3, run this query:

    UPDATE datastore SET data = '' WHERE title = 'maxloggedin'
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • accyroy
      Senior Member
      • Nov 2003
      • 102
      • 2.3.2

      #3
      That worked a treat, thanks!
      Accrington
      Land Rover Forum
      PLC Forum

      Comment

      • Jimmy D. Giles
        Senior Member
        • Aug 2003
        • 211

        #4
        Originally posted by accyroy
        That worked a treat, thanks!
        Speaking of users online, I notice a 'wake' effect as I watch users online. That is, one IP appears to create multiple visitors?

        Comment

        • conqsoft
          Senior Member
          • Jul 2003
          • 3803
          • 3.6.x

          #5
          Originally posted by Jimmy D. Giles
          Speaking of users online, I notice a 'wake' effect as I watch users online. That is, one IP appears to create multiple visitors?
          More than one user can show up as being from one IP if they are behind a firewall/proxy.
          vBulletin v3.8.0's Implementation of Google Adsense Should Be Avoided At All Costs - Do Your Own Adsense Implementation

          Comment

          • Don Z.
            New Member
            • Mar 2004
            • 12

            #6
            Originally posted by Steve Machol
            To reset this back to 0 in vB3, run this query:

            UPDATE datastore SET data = '' WHERE title = 'maxloggedin'
            Steve, sorry to restart this old thread but when I run the query I get this error:

            "An error occurred while attempting to execute your query. The following information was returned.
            error number: 1146
            error desc: Table 'photopost.datastore' doesn't exist"

            I'm running 3.0.0

            Can you help?

            Comment

            • Steve Machol
              Former Customer Support Manager
              • Jul 2000
              • 154488

              #7
              Run this script to fix your datastore table:

              This may be redundant by the time I wake up tomorrow, since it may possibly be the host doing some upgrading. But figure I should post this here incase it isn't, and see if any of you can give information. The board is currently showing the following: Upgraded to vB3 Gamma the other day, and everything was working fine


              You should also upgrade to 3.0.3.
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment

              • Don Z.
                New Member
                • Mar 2004
                • 12

                #8
                Originally posted by Steve Machol
                Run this script to fix your datastore table:

                This may be redundant by the time I wake up tomorrow, since it may possibly be the host doing some upgrading. But figure I should post this here incase it isn't, and see if any of you can give information. The board is currently showing the following: Upgraded to vB3 Gamma the other day, and everything was working fine
                Thanks Steve but when I run it I get this error:

                "Rebuilding options
                Fatal error: Call to undefined function: build_datastore() in /home/.sites/28/site1/web/forums/includes/adminfunctions.php on line 1785"

                Could it be because I'm using the vb3 prefix on the table names?

                You should also upgrade to 3.0.3.
                I have so many tweaks and customizations that I can't possibly upgrade with every version. I usually wait for the big ones.

                Thanks for your help.

                Comment

                • Steve Machol
                  Former Customer Support Manager
                  • Jul 2000
                  • 154488

                  #9
                  You need to reupload the original adminfunctions.php file from the vB 3.0.0 zip file. This function is defined in that file. Make sure you upload in ASCII and overwrite the one on the server.
                  Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                  Change CKEditor Colors to Match Style (for 4.1.4 and above)

                  Steve Machol Photography


                  Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                  Comment

                  • globalbuzz
                    Senior Member
                    • Jan 2004
                    • 141
                    • 3.6.x

                    #10
                    We have just been visited by the spiders from hell

                    is there no way we can reset the most online to say a figure we had originally .. say 70 for example?

                    any assistance appreciated

                    G
                    Travel Information

                    Comment

                    • Steve Machol
                      Former Customer Support Manager
                      • Jul 2000
                      • 154488

                      #11
                      Run this query:

                      UPDATE datastore SET data = '70' WHERE title = 'maxloggedin';
                      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                      Change CKEditor Colors to Match Style (for 4.1.4 and above)

                      Steve Machol Photography


                      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                      Comment

                      • user 1-2-3
                        Senior Member
                        • Oct 2002
                        • 210
                        • 4.2.x

                        #12
                        I have the same problem (spiders, errors etc.). I'm running version 3.01. I don't want to upgrade now. How can I reset this counter?

                        Comment

                        • Steve Machol
                          Former Customer Support Manager
                          • Jul 2000
                          • 154488

                          #13
                          Same query, except change the data number.
                          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                          Change CKEditor Colors to Match Style (for 4.1.4 and above)

                          Steve Machol Photography


                          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                          Comment

                          • user 1-2-3
                            Senior Member
                            • Oct 2002
                            • 210
                            • 4.2.x

                            #14
                            Same error

                            An error occurred while attempting to execute your query. The following information was returned.
                            error number: 1146
                            error desc: Table 'name.datastore' doesn't exist

                            Comment

                            • user 1-2-3
                              Senior Member
                              • Oct 2002
                              • 210
                              • 4.2.x

                              #15
                              Sorry, forget to add prefix. Now everything is Ok. Thanks.

                              Comment

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