View Issue Details

IDProjectCategoryView StatusLast Update
4960Composrpointspublic2022-10-02 01:01
ReporterChris Graham Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary4960: Incorporate earning gift points onto the ledger
DescriptionGift points are given to members based on how many days they are a member and the best quota specified by any of their usergroups they are in. It is calculated on-the-fly.

This is not ideal, because if they switch to a usergroup with a different quota, the number of gift points available will jump (could even go negative).

We could make it work via the system scheduler, assigning them nightly via updating a hidden CPF. However, at that point it becomes less transparent, as there is no single/simple calculation to see why someone has the number of gift points they do. Things would therefore need to then be handled on the ledger, accounting for each nightly transaction on the ledger. For this to happen, the ledger would need to support giving gift points as gift points, which it currently does not. Patrick tells me that is not as bad as it sounds, but it would need special consideration in the code as a special case, loading up the system with extra complexity.

As gift points are no longer enabled by default, and are highly inflationary, and as the problem is mitigated by gift points not being necessary to make a transaction, it is arguable that this is a non-issue. People who care about the sanctity of the economy won't want gift points enabled so won't miss the lack of a ledger for them.

However, ideally we would add the nice ledger support, and add good automated testing for it.

The following sections of tut_points would be removed or simplified:
"Gift Points and Groups (advanced)"
"The only time a member can have a negative gift points balance (...)"
"Gift Points are calculated dynamically"
TagsNo tags attached.
Attach Tags
Time estimation (hours)6
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2022-10-02 01:01 Chris Graham New Issue