Jump to content

Entrippy

Clients
  • Posts

    7
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Entrippy

  1. @Weber, as Mike mentioned I think this is a problem of process as opposed to a bug, due to summaries being calendar based instead of goal based (if I understand your problem and Mikes reply properly) II am trying to handle the same issue as yours (server upkeep costs) by instead allowing a goal to go into surplus, until it resets on its scheduled date. I chose this way as it lets the group see that they have exceeded the goal in a clear manner, and avoids goals creeping forward over several months of exceeded expectations. It also has the upside that once @Mike John releases a fix for a reset issue, it will be totally hands off as it will be handled by the plugins current reset capabilities.
  2. Hi @Mike John, any word on how that next release is coming along?
  3. @Mike John, thats great news. I appreciate the quick action. Do you have an indication of when the next release might be? If its likely to be soon then I'm happy to wait, otherwise a patch would be handy. I haven't tried implementing a fix myself as I've only got a production instance to test against.
  4. Hi Mike, So with force open disabled, the donation goals widget disappeared once the goal was reached. The only way to make it reappear was to re-enable force open. I did some further testing around the auto reset and i think i have nailed down the specific problem area. To recap the intended outcome : Show goal progress, and donors via the "Donation Goals" and "Donation List" Blocks respectively. Upon reaching the intended Goal amount, hold the goal open, and retain the list of donors, until the goal reset date is reached. In short have a recurring goal, with a set reset date, and allow donors to see that the goal has been exceeded until the donation period resets. Actual outcome: Goal and reset date are set as intended. With "Force Open" enabled, the "Donation Goals" progress bar will exceed the goal amount, but will not reset once the reset date is reached. The auto reset function can be seen to (partially?) work, as the "Donation List" block does clear the list of Donors on the intended reset date. Disabling Force Open has the expected behavior of removing the Donation Goal block once the amount is reached, the "Donation List" block stays present and populated until the reset date is reached, at which point it resets to blanks. Expected behaviour: Both "Donation Goal" and "Donation List" blocks work in the same manner, that is, both remain present past the goal target (force open), but both reset to 0.00 and Blank once the auto reset date is reached. Further testing notes: Moving the reset date back and forth will make the list of donors to reset, and then reappear, suggesting that logic similar to "Select donors from donations where donation-date => resetdate" is used to filter the block. Possible cause: "Donation Goal" does not use the same logic to filter progress as the "Donation List" block. Looking at the code for the frontend components, i can see that "Donations List" donateDonations.php does contain a filter function: /* Automatic reset? */ if( \IPS\Settings::i()->dt_donation_reset ) { $where[] = array( 'date>?', (int) \IPS\Settings::i()->dt_donation_reset ); } donateGoals.php however does not.
  5. I think i might have fixed this by disabling force open. The goal reset automatically at that point but is still open. If that is the case it would suggest that holding a goal open after its reached and resetting doesnt play well together. I'll report back when the tick over date comes back around.
  6. Cronjob, but to be honest I hadn't looked in to that aspect at all until now. The task list shows automaticreset as enabled, and the log is empty (no errors). A manually triggered run also returns success.
  7. Having some problems setting up a goal to reset properly on a schedule. My aim is to have a $240 goal, that resets on the 24th of each month Ideally it wont close the goal if number is met, as I'd prefer to show a surplus instead of having no goal until the reset date. Currently the goal stays open in a surplus, but does not reset on the 24th. Any advice would be appreciated. Let me know if i missed anything Settings as follows: Goal * Target: $240 * Start/finish: 02/03/2018 - dd/mm/yyyy * checked options - Show Goal, Force Open Setup - Automatic Reset * Choose reset date 03/25/2018 * Choose Automatic Settings 24 day of each month.
×
×
  • Create New...