diff --git a/coach.js b/coach.js index 3db61d3..5dd705a 100644 --- a/coach.js +++ b/coach.js @@ -211,6 +211,7 @@ let ticking = false; const NUDGE_GAP = 5 * DAY; async function nudgeTick() { if (ticking || !mailer || !mailer.hasKey()) return { nudges: 0, digests: 0 }; + if (X.siteConfig && String(X.siteConfig().coachMail || '1') === '0') return { nudges: 0, digests: 0, off: true }; // site switch: pre-launch, nobody gets a stall nudge ticking = true; let nudges = 0, digests = 0; try { diff --git a/server.js b/server.js index 78dbcfe..f997a9f 100644 --- a/server.js +++ b/server.js @@ -466,6 +466,7 @@ function siteConfig() { snapshotEnabled: '1', snapshotHourUtc: '14', snapshotTargets: 'feed,echo', // daily growth snapshot: 14 UTC = 9 AM Central; feed = proof channel, echo = shared payments topic pipelineMode: 'off', // Pipeline board: off = 'coming soon' card, preview = only the admin account sees the live board, on = everyone (Marty, 2026-09-15) pipelineEta: 'Sep 28', // what the coming-soon card and the roadmap promise + coachMail: '1', // 0 = stall-nudge emails off (pre-launch: imported shell accounts must not be nudged) memberWeeklyEmail: '0', // 1 = the weekly 'Your week on LinkSpin' email goes to every active member, not only sponsors with a line noPayoutIds: '25', // positions kept for linkage only (compromised wallets): no buys signed from them, no new joins routed under them or their upline chain (Marty, 2026-09-14) leaderboardWeeklyPrize: '', leaderboardMonthlyPrize: '', leaderboardWeeklyCredits: '1000,500,250', leaderboardMonthlyCredits: '5000,2500,1000', leaderboardAnnounceGeneral: '1', // referral contest prizes (text shown on /leaderboard; credits granted to the winner automatically at rollover)