Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Points tally for week/month/interval

+5 votes
Is is possible, possibly through a plugin, to keep track of points for a given interval, either a week or month?  I'm interested in using Q2A and to drive interest I'm considering having prizes based on points tallies.
asked Jun 28, 2011 in Q2A Core by bikedorkseattle

1 Answer

0 votes
It's not easily possible currently, because the voting table does not store the date with each vote.

With a plugin you would need to first log the date with each vote in a separate table. Use an event plugin to hook into a voting action. Then a page plugin to display results.
answered Jun 28, 2011 by DisgruntledGoat
I think instead of logging each vote you could just log the total at the beginning of the interval and then the difference at the end.
That could work. You'd need to set up a cron job to run daily/weekly and run through all the users.