Version 4.3.6

This commit is contained in:
Neo committed 2025-12-19 05:49:12 -08:00
1 parent fe1acf984a
commit 1a0c7fd3c2
609 files changed
+14707 -5726

No files matched your search

-12
View File
@@ -102,19 +102,7 @@ class _stats extends \IPS\Widget\StaticCache
$stats['most_online'] = $mostOnline;
/* Last Registered Member */
$exclude = array();
$where = array( array( "name IS NOT NULL AND name != '' AND temp_ban != -1 AND email != ''" ) );
foreach( \IPS\Member\Group::groups() as $id => $group )
{
if ( $group->g_hide_online_list )
{
$exclude[] = $group->g_id;
}
}
if ( count( $exclude ) )
{
$where[] = array( '( ! ( ' . \IPS\Db::i()->in( 'member_group_id', $exclude ) . ' ) )' );
}
$where[] = array( '( ! ' . \IPS\Db::i()->bitwiseWhere( \IPS\Member::$bitOptions['members_bitoptions'], 'bw_is_spammer' ) . ' )' );
$where[] = array( 'member_id NOT IN(?)', \IPS\Db::i()->select( 'member_id', 'core_validating', array( 'new_reg=1' ) ) );