I am currently maintaining some Wordpress MU installations ( v2.9.x )
I want to create a report ( outside of wordpress ) to count the number of users that I have, and the number of blogs that I have. Each blog gets it's own tables.
I have 4 questions:
First question, do you know of a plugin that does this already? I couldn't find one.
How can I get an accurate count of active users? Using this SQL?:
SELECT count(*) FROM wp_users WHERE deleted = 0
How can I get an accurate count of active blogs? Using this SQL?
SELECT count(*) FROM wp_blogs WHERE deleted = 0
I plan to do this outside of Wordpress. Is there any advantage to creating these reports from within Wordpress? The SQL seems straight forward, I'm wondering if there is a benefit to using the Wordpress codex to generate these reports.
Thanks