Login ads: flat 30-day slot, same as InstantAdPay
- Engine (JSON + MySQL twin): login ads are a slot buy (loginSlotCredits 1000,
loginSlotDays 30, loginSlotsMax 3, dwell 10 s). createCampaign pins the budget
to the slot price, sets the 30-day expiry and charges it once, purchased credits
only (credited purchased grade first, the rest burns on-chain; viewing credits
never pay). countLoginSlots counts live member slots (house never counts); a 4th
is refused while 3 are live. Sign-in pick prefers member slots over the house.
The per-day charge loop only runs for legacy login ads with no expiry.
- Day keys on Central time (ctDay / dayKeyNow / today) instead of UTC toISOString,
incl. login lastShownDay, the daily sweep, claim streak and sign-in bonus.
- Beyond IAP: resuming a paused slot obeys the same cap, top-up is refused on a
slot, the audit's days-charged check skips slots, JSON grantWelcome keeps the
purchased grade.
- Ads screen: slot wording, loginSlots { max, used, free } from the API, chip and
cost line show open slots, Launch disabled with an explanation when full; no Top
up on slots; classic dashboard, earning page, admin rate labels and chatbot
(canned answer + FACTS, KNOWLEDGE_DATE 2026-10-18) updated. Cache tags bumped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -792,7 +792,10 @@
|
||||
bannerBatch: ['Banner: views per batch', 'impressions counted before a banner campaign is charged'],
|
||||
bannerCreditsPerBatch: ['Banner: credits per batch', 'charged to the advertiser per batch'],
|
||||
textBatch: ['Text ad: views per batch', ''], textCreditsPerBatch: ['Text ad: credits per batch', ''],
|
||||
loginCreditsPerDay: ['Login ad: credits per day', 'flat daily charge while active'],
|
||||
loginSlotCredits: ['Login ad: slot price (credits)', 'one flat buy, purchased credits only, unlimited sign-in impressions'],
|
||||
loginSlotDays: ['Login ad: slot length (days)', 'the slot ends and frees its place after this many days'],
|
||||
loginSlotsMax: ['Login ad: member slots at once', 'a new slot is refused while this many are live; house ads do not count'],
|
||||
loginCreditsPerDay: ['Login ad: legacy credits per day', 'only for old login ads with no end date (none since slots)'],
|
||||
loginDwellSeconds: ['Login ad: seconds shown', 'full-screen interstitial after sign-in'],
|
||||
burnBatchMin: ['On-chain burn batch (credits)', 'accrued spend is burned once it reaches this'],
|
||||
welcomeCredits: ['Welcome credits', 'granted after the welcome tour'],
|
||||
|
||||
Reference in New Issue
Block a user