@juan_stephano
13 years, 8 months ago
you’ve probably figured this out by now but if not (and for any other readers) you need $count = $wpdb->get_var("SELECT COUNT(*) FROM $bp->groups->table_name"); I think.
$count = $wpdb->get_var("SELECT COUNT(*) FROM $bp->groups->table_name");
doh! – figured it out – it was settings in bp registration options plugin’s privacy options section