You are here

function advanced_forum_statistics_users in Advanced Forum 6

Same name and namespace in other branches
  1. 5 advanced_forum.module \advanced_forum_statistics_users()
  2. 6.2 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_advf_forum_statistics in ./advanced_forum.module
Preprocesses template variables for the forum statistics template.

File

./advanced_forum.module, line 1778
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'));
}