askbug raport for admins
Hello,
Does anyone made or know how to extract the followings from askbug, in order to build a raport:
- all the anspress participants email addresses
- total of new users registered during a week
- the total number of questions posted in a day
- average number of questions during a week
- top 3 viewed questions
I’ve tried something directly from mysql database, like:
select user_nicename, user_email, user_registered from wp_users;
select user_nicename, user_registered from wp_users WHERE user_registeredĀ > (DATE(NOW()) – INTERVAL 7 DAY);
but for the rest of them I’m a little bit confused because (eg. number 3) I got all the posts, not only the questions and so on.
Thanks,
Question is closed for new answers.
Rahul Aryan selected answer
Applying directly to the mysql is not a good idea. It is better to use the standard functions