When using the module Advanced Forum, user one shows up under "currently active users" list under the forum section when logged in. There are 23000 sites report using Advanced Forum module: http://drupal.org/project/advanced_forum
I think it is essential to protect user one from displaying when using Advanced Forum. Thanks.

Comments

ki’s picture

Status: Active » Closed (won't fix)

After reviewing the code of advanced_form, it is likely theme's job to alter the output.

The theme could implement HOOK_preprocess_advanced_forum_statistics() -- original preprocessor is in advacned_form/theme.inc:319 -- to check for "admin" in the list. More efficient method would be to alter the result set and count in advanced_forum_statistics_online_users(). If the function puts an identifiable tag to the database query, it would be easy for UserOne to alter the result.

Ki