Hi
Did you notice that "Unregistered Users" parameter of the counter module is always zero!
does the term "Unregistered Users" means "quests"? or it's sth else?
and why it's always zero?

Comments

danielb’s picture

Yeah it doesn't work for me either mate. :(

danielb’s picture

OK I see what's going on

		if ($counter_unregistered_user) {
		  $sql = " SELECT count(*) as total FROM {users} WHERE status=0 and uid<>0";
          $results = db_query($sql);
          $data    = db_fetch_object($results);
		  $total   = $data->total;
		  $output .= '<li>'.t('Unregistered Users: '). number_format($total).'</li>';
		}

"unregistered users" should actually be called "inactive users"
and "registered users" should be called "active users"

This is not displaying hits made these users, it is just displaying stats on how many of these types of users there are.
In the database there is only ever 1 unregistered user - so there is no point in displaying a stat on this.

drupalnesia’s picture

Status: Active » Closed (fixed)

To avoid any duplicate pots then please read this post http://drupal.org/node/357207