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!
Where can I find the list of Active Members?
Collapse
X
-
Tags: None
-
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 -
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
-
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.comComment
-
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
-
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)
");
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
-
Thank you! The only thing I didn't understand is: what is a difference between lastvisit and lastactivity?Comment
-
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment