This update no longer hooks into the posting process to add +1 to the goal counter, and instead adds a cron job that runs every 10 minutes to count how many posts have been made today based on their timestamps. Therefore, it should fix all known issues, and even include posts made before the addon was installed.
It also adds a permission for viewing the counter.
This is a hotfix to quickly address some issues that were discovered yesterday. The only known funkiness now is that the counter could decrease by -1 any time a post is deleted, including a post from say 10 years ago.
With this in mind, I feel the best approach for the future will actually be to run a cron entry every 30 minutes or so that queries what posts have dates for that day, and to readjust the counter accordingly. But, I still wanted to get this addon at least decently usable, thus this hotfix. Note that until the addon is revamped to query those post dates, posts made before this version of the addon was installed will not be counted.
Stop increasing the counter when a post is edited
Fix broken phrase in admin panel (option.ap_goal)
Remove useless title attribute from Cron entry
No longer increases goal count when a post is made in a node with message counts disabled