Stack POL Pro: ANY $10+ package unlocks it automatically (Marty 2026-11-09: "Any $10 package or higher unlocks it"). No Get Pro order step; the member's own on-chain package of $10+ switches Pro on for good, rides along with a Game Pass or hero order the same package fulfils (never takes it from them), only packages from the Pro launch (21:30 UTC) count, credits never. Promo tools shows Buy a $10+ package; chatbot updated; my.js ?v=20261109pro4; qa/stackpro rewritten (11 pass).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-3
@@ -2799,7 +2799,7 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
||||
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 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;
|
||||
const pv = d.pro || {}; $('spProOn').hidden = !pv.pro; $('spProOff').hidden = !!pv.pro; // any $10+ package unlocks Pro (2026-11-09): no order to wait on
|
||||
}
|
||||
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; }
|
||||
async function loadStackPol() { try { const r = await fetch('/api/my/stackpol'); const d = await r.json(); if (!r.ok) { $('spNote').textContent = d.error || ''; return; } showStackPol(d); } catch (e) {} }
|
||||
@@ -2811,8 +2811,6 @@ function shareLink(ref) { return SHARE_DOMAIN && /^[A-Za-z0-9_]{1,40}$/.test(Str
|
||||
showStackPol(d); IAP.status(on ? 'Stack POL page switched on.' : 'Stack POL page switched off.', 'ok');
|
||||
} catch (e) { $('spOn').checked = !on; IAP.status('Could not save that. Try again.', 'bad'); }
|
||||
});
|
||||
$('spProBuy').addEventListener('click', async () => { try { const d = await stackPolPost({ pro: 'buy' }); showStackPol(d); if (d.buy && d.buy.message) IAP.status(d.buy.message, 'ok'); } catch (e) { IAP.status(e.message, 'bad'); } });
|
||||
$('spProCancel').addEventListener('click', async () => { try { showStackPol(await stackPolPost({ pro: 'cancel' })); IAP.status('Pro order cancelled.', 'ok'); } catch (e) { IAP.status(e.message, 'bad'); } });
|
||||
$('spCopy').addEventListener('click', async () => { try { await navigator.clipboard.writeText($('spUrl').textContent); IAP.status('Link copied.', 'ok'); } catch (e) { const r = document.createRange(); r.selectNodeContents($('spUrl')); const sel = getSelection(); sel.removeAllRanges(); sel.addRange(r); } });
|
||||
}
|
||||
document.querySelectorAll('.promo-pills [data-promo]').forEach(b =>
|
||||
|
||||
+3
-4
@@ -860,9 +860,8 @@
|
||||
<p class="muted small" id="spNote" style="margin:10px 0 0"></p>
|
||||
<div style="margin-top:16px;padding-top:14px;border-top:1px solid var(--line)">
|
||||
<h4 style="margin:0 0 6px">⭐ Stack POL Pro</h4>
|
||||
<p class="muted small" style="margin:0 0 10px">Pro puts your own LinkSpin Banner Spins and spin links on your Stack POL page, so the people who visit it see your offers, and adds a shareable stack card. One time, yours for good: it switches on with your next ad package of $10 or more. You keep every credit of that package for your ads, and your sponsor line is paid on chain as usual.</p>
|
||||
<div id="spProOff"><button class="btn small" type="button" id="spProBuy">Get Pro with a $10+ package</button></div>
|
||||
<div id="spProWait" hidden><p class="small" style="margin:0 0 8px"><b>Waiting for your package.</b> Pro switches on the moment your next package of $10 or more settles on chain.</p><a class="btn small" href="/my?from=stackpro#buy">Buy a package</a> <button class="btn small sec" type="button" id="spProCancel">Cancel</button></div>
|
||||
<p class="muted small" style="margin:0 0 10px">Pro puts your own LinkSpin Banner Spins and spin links in the ad spots of your Stack POL page, adds a QR code that opens it, and makes every blog article opened from your page use your referral links. One time, yours for good: any ad package of $10 or more unlocks it automatically. You keep every credit of that package for your ads, and your sponsor line is paid on chain as usual.</p>
|
||||
<div id="spProOff"><a class="btn small" href="/my?from=stackpro#buy">Buy a $10+ package to unlock Pro</a></div>
|
||||
<p class="small" id="spProOn" hidden style="margin:0">✅ <b>Pro is on.</b> Your LinkSpin Banner Spins and spin links show on your page within 5 minutes of any change.</p>
|
||||
</div>
|
||||
<p class="muted small" style="margin:10px 0 0">Your page shows your own results only. Nothing on it is a promise of what anyone else will earn.</p>
|
||||
@@ -1292,7 +1291,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=20261109pro3"></script>
|
||||
<script src="/assets/my.js?v=20261109pro4"></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>
|
||||
|
||||
Reference in New Issue
Block a user