Stack POL pages ON by default (Marty 2026-11-09: "Everyone's should be enabled by default"): every paid member has stackpol.com/<username>; only an explicit switch-off hides it. Promo tools copy, note and chatbot updated; my.js ?v=20261109pro3; qa/stackpro expects on by default. Pro features stay Pro-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-09 15:41:21 -06:00
parent bafeff9bf4
commit 054ce10985
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -2798,7 +2798,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
// Stack POL page switch (2026-11-09): GET/POST /api/my/stackpol, the opt-in the stackpol.com indexer reads every 5 minutes
function showStackPol(d) {
$('spOn').checked = !!d.on; $('spLinkRow').hidden = !d.on; $('spUrl').textContent = d.url || ''; $('spOpen').href = d.url || '#';
$('spNote').textContent = d.on ? (d.wallet ? 'Your page goes live within 5 minutes, then updates every 5 minutes.' : 'Link a wallet (Wallet tab) so your payouts can be added up on your page.') : '';
$('spNote').textContent = d.on ? (d.wallet ? 'Your page is live once a payout reaches your wallet and updates every 5 minutes.' : 'Link a wallet (Wallet tab) so your payouts can be added up on your page.') : '';
const pv = d.pro || {}; $('spProOn').hidden = !pv.pro; $('spProWait').hidden = !!pv.pro || !pv.waiting; $('spProOff').hidden = !!pv.pro || !!pv.waiting;
}
async function stackPolPost(body) { const r = await fetch('/api/my/stackpol', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body) }); const d = await r.json(); if (!r.ok) throw new Error(d.error || 'Could not save that.'); return d; }
+2 -2
View File
@@ -854,7 +854,7 @@
<!-- Stack POL page switch (2026-11-09): stackpol.com/<username> shows every POL payout to the member's wallets across the network -->
<div class="card promo-sec" id="promo-stackpol" hidden>
<div class="card-head"><h3>📈 Your Stack POL page</h3><span class="sub">every POL payout you have received across the network, on one page</span></div>
<p class="muted small" style="margin:0 0 12px">Stack POL adds up what InstantAdPay, LinkSpin and the network games have paid to your wallet, with a Polygonscan link for every payment. Switch it on and you get a public page at stackpol.com/your-username with your total, where it came from, and your own referral link on every program. It updates every 5 minutes. Switch it off any time and the page goes away.</p>
<p class="muted small" style="margin:0 0 12px">Stack POL adds up what InstantAdPay, LinkSpin and the network games have paid to your wallet, with a Polygonscan link for every payment. Your public page at stackpol.com/your-username is on by default once payouts reach your wallet: your total, where it came from, and your own referral link on every program. It updates every 5 minutes. Switch it off any time and the page goes away.</p>
<label style="display:flex;gap:10px;align-items:center;font-weight:700;cursor:pointer"><input type="checkbox" id="spOn"> Show my Stack POL page</label>
<div class="promo-strip" id="spLinkRow" style="padding:12px 0 0" hidden><div><span class="eyebrow" style="margin:0 0 4px">Your page</span><div class="mono small" id="spUrl" style="overflow-wrap:anywhere"></div></div><div style="display:flex;gap:8px;flex-wrap:wrap"><button class="btn small sec" type="button" id="spCopy">Copy link</button><a class="btn small" id="spOpen" href="#" target="_blank" rel="noopener">Open</a></div></div>
<p class="muted small" id="spNote" style="margin:10px 0 0"></p>
@@ -1292,7 +1292,7 @@
<script src="/assets/wallet.js?v=20260911a"></script>
<script src="/assets/promo.js?v=20261103gp"></script>
<script src="/assets/support.js?v=20261101th"></script>
<script src="/assets/my.js?v=20261109pro2"></script>
<script src="/assets/my.js?v=20261109pro3"></script>
<script src="/assets/fuel.js?v=20261025ff"></script>
<script src="/assets/engine-room.js?v=20261101th"></script>
<script src="/assets/chat.js?v=20261016n"></script>