Where can I find the list of Active Members?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • user 1-2-3
    Senior Member
    • Oct 2002
    • 210
    • 4.2.x

    Where can I find the list of Active Members?

    In the "What's Going On?" section we can see "Active Members" and its counter. Where I can see thier nics? If there is no such place in AdminCP I don't mind to get it from the table, just I need its name. Thank you in advance!
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    There's no list as such, it's simply a 'count' made according to the this setting:
    AdminCP > Settings > Options > Forum Home: Options > Active Members Time Cut-Off

    You can however go to /memberlist.php and sort the list by last activity, which will effectively give you the same list, just extended to cover all members. Just look at the top of the sorted list and count down as far as the number in the setting above.
    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

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

      #3
      What the member should do to be counted as an Active Member? Should he/she just visit the forum or he/she need to post something?

      Comment

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

        #4
        Originally posted by user 1-2-3
        What the member should do to be counted as an Active Member? Should he/she just visit the forum or he/she need to post something?
        It's explained in that setting above:

        Active Members Time Cut-Off
        Enter a number of days here that represents a threshold for 'active' members. If a user has visited the board within the past number of days you specify, they are considered 'active'.
        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

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

          #5
          Something is wrong with this section. I have a new forum for testing purpose. I've logged 4 users and it show me 2 Active. Which table for this function sowtware takes data from?

          Comment

          • BirdOPrey5
            Senior Member
            • Jul 2008
            • 9613
            • 5.6.3

            #6
            In VB4 this is the code:

            PHP Code:

                
            if ($vbulletin->options['activememberdays'] > 0)
                {
                    
            $sumsql "SUM(IF(lastvisit >= " . (TIMENOW $vbulletin->options['activememberdays'] * 86400) . ", 1, 0)) AS active,";
                }
                else
                {
                    
            $sumsql '';
                }

                
            // get total members
                
            $members $vbulletin->db->query_first("
                    SELECT
                    
            $sumsql
                    COUNT(*) AS users,
                    MAX(userid) AS maxid
                    FROM " 
            TABLE_PREFIX "user
                    WHERE
                    usergroupid NOT IN (3,4)
                "
            ); 
            It's in the functions_databuild.php file in the /includes/ directory. It counts any users besides those in usergroups 3 and 4. (Users Awaiting Email Confirmation and Users Awaiting Moderation.)


            I suppose it's possible it may be cached somewhere and update at some regular interval.
            Last edited by BirdOPrey5; Fri 24 Mar '17, 5:18am.

            Comment

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

              #7
              Thank you! The only thing I didn't understand is: what is a difference between lastvisit and lastactivity?

              Comment

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

                #8
                The question is still here: what is the difference between lastvisit and lastactivity?

                Comment

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