Closed (won't fix)
Project:
User One
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2012 at 09:55 UTC
Updated:
27 Aug 2012 at 17:39 UTC
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
Comment #1
ki commentedAfter 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