Open Credits [Free]

Beta Open Credits [Free] 0.13.1

No permission to download
Changelog

0.13.1

  • Inflation hardening — the daily faucet is now tracked in its own ledger, so duplicating, disabling, or deleting an event mid-day can no longer move anyone's allowance; redeem codes count against it too. Demurrage passes are resumable and race-safe (a second runner gets "busy" instead of double-burning).
  • Earning-event guardrails — saving an exact-duplicate active event (same trigger, currency, and scope) is refused, while scoped per-forum/per-group variants still work and deactivating always saves. Backfills and all earning paths skip banned, rejected, and disabled members.

0.13.0
  • Inflation control — an optional primary-currency money-supply toolkit: a balance cap, a daily faucet cap, and demurrage/decay. Caps apply to member earnings and redemptions; transfers and charges are unaffected, and admin adjustments remain trusted. Demurrage runs from a resumable cron (checked every 15 minutes, applied once per period), with a preview and "run now" in AdminCP → Credits → Tools.
Changelog

0.12.0

  • Premium posts — a new [charge=10]…[/charge] BBCode shows a locked box in place of the content until the reader pays credits; the author is credited and sees how many members unlocked it (and what it earned). One purchase unlocks the post, so the post's price is the highest charge block it contains. Authors, staff, and a bypass permission see it free. This is a credits-gated display, not content protection.
  • Wallet — the /credits page now holds the balance, redeem, transfer, and paged history (10/page by default, with 10/20/50 per-page links).
  • Profile Credits tab — per-member balances plus a Send credits form; on single-currency forums your own tab loads the wallet.
  • Display options — new toggles for the wallet redeem/transfer and the profile tab mode (auto/wallet/member), alongside the postbit, menu, profile-stat, and profile-tab toggles.
  • Editor button — a lock button in the rich-text toolbar inserts the charge tag.
Changelog

0.11.2
— patch release (includes the 0.11.1 fix).
  • Prune history now works on MySQL 8 — the tool page no longer errors (the preview query used a reserved word as a column alias). Pruning itself was unaffected.
  • Pruning now preserves reaction dedupe markers, never deletes rows from the current earning day, and prunes net-zero rows (the retention window now applies to everyone).
  • Profile wallet respects profile privacy, and hidden currencies no longer leak in the history switcher or the profile stat.
  • Leaderboard widget gains a Show to guests option.
  • Currency deletion is blocked while balances or pruned snapshots remain.
Changelog

0.11.0

  • Profile wallet — profile pages show balances, a transfer shortcut, and recent history in one place.
  • Configurable daily boundary — the daily-visit day follows UTC (default), board time, or a fixed UTC offset; registration-day skip uses the same boundary.
  • History pruning — summarize old ledger rows into balance snapshots and delete them; balances and rebuilds stay exact. New retention option and AdminCP tool; redeem/backfill rows are kept.
  • Top credit holders widget — a placeable leaderboard by balance, with a configurable count and currency.
  • Love
Reactions: CTS
0.10.1 — hardening patch, no new member features. Upgrade the usual way.
  • Reaction re-farming closed (one award per reactor per content).
  • Backfills run guarded and transactional, with per-member double-pay fixed.
  • Earning events support forum and user-group scoping.
  • Service layer fails closed on unknown users and inactive currencies.
  • Chunked, resumable balance rebuilds and backfills for large forums.
  • Full interface translation support (~110 new phrases).
  • Test harness (PHPUnit), stricter CI, dev-docs checklist.

0.10.0
  • Admin adjust/take tools — grant or remove any member's credits from AdminCP → Credits → Tools, fully logged with a note.
  • Earn alerts — notified on earn (posts, reactions, visits, transfers) with a history link. Per-event toggles, member opt-out, global kill switch.
  • Redeem codes — coupon codes at /credits/redeem: auto-generated or custom, single/multi-use caps, expiry, one redemption per member.
  • Decimal-correct amounts — all writes round to each currency's decimals, so 0-decimal currencies can't store misleading sub-unit values.
  • Review hardening — tampered transfer currencies error out, ghost-user writes refused, daily limits counted per currency, moderated content pays on approval.

Cross-addon integration​


  • Transact getBalance and documented adjust and transfer API in docs API reference
  • New oc_credits_adjust event fires on every committed change for other add-ons to hook

Admin tools​


  • One-shot historical backfill with per-event, per-member, and force modes
  • Unified Tools directory with at-a-glance counts; result pages link back to Tools
  • Earning events grouped by currency with friendly labels; clarified award caps

Display control​


  • Per-location toggles in Setup Options Credits: postbit, account menu, profile stat, profile tab
  • Public nav tab, permission-gated; history deep-links per currency

Correctness​


  • Transfers and adjustments enforce allow-negative and refuse unknown or inactive currencies
  • Daily award serialized; rebuild atomic; member views gated; history links check view permissions
  • Like
Reactions: CTS
  • Earning event cap is now labeled Max awards per day with an explicit per-member-per-day hint
  • Removed the redundant daily-visits note from the events list footer
Back
Top Bottom