Hello Morbus Iff,
I just wanted to tell you that your module is a very good way to provide a good achievement system. I sometimes feel a bit overextended with looking up all sorts of drupal things in various api documentations, but your module provides just the right amount of knowledge to make things up with just a little bit of drupal knowledge, and much more understanding of php and SQL.
As you stated, it surely can do retroactive updating on achievements using db-queries.
There's only one thing I miss: I'd like to have some sort of progress bar, to display how near a user is to a certain achievement. I think it should be optional in hook_achievements_info() within the achievement-array, and users should be able to specify a callback function to generate the progress value.
Besides, would it be disrespectful to interchange some custom achievement code here? So people have some examples to work on.
Comments
Comment #1
morbus iffYeah, progress display is on my mental roadmap, but will likely be just a drupal_alter() - there are lots of different ways to do progress display, and I'd rather it be loose than formally defined (counters, meta-achievements, did-you-kill-these-23-unique-monsters, etc.). As for exchanging custom achievement code, that'd likely be better handled in the Drupal.org book/help system, not as a "non-issue" that remains forever open in this queue. I don't think it's "disrespectful" (and I couldn't stop you even if you cared little for respect, of course), but there's certainly a nebulous "within reason" somewhere in there ;)