You are here

function advanced_forum_statistics_users in Advanced Forum 6.2

Same name and namespace in other branches
  1. 5 advanced_forum.module \advanced_forum_statistics_users()
  2. 6 advanced_forum.module \advanced_forum_statistics_users()
  3. 7.2 advanced_forum.module \advanced_forum_statistics_users()

Count total amount of active users.

1 call to advanced_forum_statistics_users()
advanced_forum_preprocess_advanced_forum_statistics in includes/theme.inc
Preprocesses template variables for the forum statistics template.

File

./advanced_forum.module, line 759
Enables the look and feel of other popular forum software.

Code

function advanced_forum_statistics_users() {
  return db_result(db_query('SELECT COUNT(uid) FROM {users} WHERE status = 1'));
}