Announcement

Collapse
No announcement yet.

Visitors in the Last X Hours Module

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by glennrocksvb View Post
    Or are you only adding the secondary Administrators usergroup to Bot users and not to all Registered Users? If so, then you're good.
    I have added the secondary administrators user group only to the two bot user ids of course.

    You have PM.

    Frank

    Comment


      I have fixed the issue reported by flohse and released v1.15. The latest version also added support for module title translation which was introduced in vB 6.1.2.

      All customers who purchased this mod will receive an email confirmation containing the download link.
      Buy me a coffeePayPal QR Code
      My Amazon Affiliate Link
      Fast vBulletin VPS Host:
      This site is hosted by IONOS

      Comment


        Any news on being able to exclude invisible users yet?

        Comment


        • glennrocksvb
          commented
          Editing a comment
          Sorry, I haven't figured that out yet.

        Hi Glenn,

        Thank you for this great, easy to install mod. I had a similar mod on my old VB 3.0.7 and missed having it once I upgraded to 6.x.

        What determines the order of the user listing shown by default? Can it be adjusted to sort by name, latest visitor, etc?

        Comment


          Ltvscout, thanks for your puchase.

          The list is ordered by the latest visitor.
          Buy me a coffeePayPal QR Code
          My Amazon Affiliate Link
          Fast vBulletin VPS Host:
          This site is hosted by IONOS

          Comment


            Originally posted by glennrocksvb View Post
            Ltvscout, thanks for your puchase.

            The list is ordered by the latest visitor.
            Is there currently a way to sort by username? If not, could that be added in a future update?

            Comment


              Currently, there is no such option. I can add it to the next update.
              Buy me a coffeePayPal QR Code
              My Amazon Affiliate Link
              Fast vBulletin VPS Host:
              This site is hosted by IONOS

              Comment


                Ltvscout, if you want to change it now, you could update the PHP file /includes/vb5/frontend/controller/lastvisitorsthatrock.php.

                Change this line:
                PHP Code:
                'orderby' => $options['orderby'], 
                
                to:
                PHP Code:
                'orderby' => 'username', 
                
                Buy me a coffeePayPal QR Code
                My Amazon Affiliate Link
                Fast vBulletin VPS Host:
                This site is hosted by IONOS

                Comment


                • Ltvscout
                  commented
                  Editing a comment
                  Thank you, Glenn!

                Ok, with the code you gave me it does sort by username, but backwards. It goes from Z to A. How can I make it sort A to Z?

                Comment


                  Change:
                  PHP Code:
                  'direction' => $options['direction'], 
                  
                  to:
                  PHP Code:
                  'direction' => 'ASC', 
                  
                  Buy me a coffeePayPal QR Code
                  My Amazon Affiliate Link
                  Fast vBulletin VPS Host:
                  This site is hosted by IONOS

                  Comment


                  • Ltvscout
                    commented
                    Editing a comment
                    Those two code changes did what I needed. Thank you, Glenn! Would be cool if it was user configurable in the settings at some point.

                  • glennrocksvb
                    commented
                    Editing a comment
                    Thanks for confirming the suggested PHP changes work. I will add them as options in the next update.

                Latest Posts

                Collapse

                Working...
                X
                Searching...Please wait.
                An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                Please push the back button and reload the previous window.'
                An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                Please push the back button and reload the previous window.'
                An internal error has occurred and the module cannot be displayed.
                There are no results that meet this criteria.
                Search Result for "|||"