Commit Graph

13 Commits

Author SHA1 Message Date
martbost b97a4db7ec Stack POL Pro: the member's LinkSpin Video Spin on their page ('Watch @user's videos', up to three Social Tube posters, every tap opens the spin link); Video Spins no longer listed among the plain spin links; My Stack POL says which Video Spin shows or how to make a first video (Marty 2026-11-23)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 07:38:30 -06:00
martbost 856dbcb8d3 Sign-in: InstantAdPay as the fallback when the hub has no sign-in for the browser (from: { iap }, NETWORK_SSO_SECRET set), so "Sign in with your network account" no longer bounces straight back to /my (Marty 2026-11-20)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:31:18 -06:00
martbost ffa0d74c70 My Stack POL: network sign-in through the hub + signed-in member area at /my (Marty approved 2026-11-19)
- networksso.js (shared file, same copy as IAP/LinkSpin/YPB): hub-only sign-in (HUB_SSO=on), silent check on /my, sign-out
- my.js: signed session cookie (keyed off HUB_SECRET), sign-outs in the my-signouts.json MySQL document; /my shows the page
  link + on/off, Pro, join links per program, share kit, own payout rows with Polygonscan links and totals from the ledger
- iapswitch.js: the page switch stays in IAP's stack-optin.json; Stack POL calls IAP POST /api/partner/stackpol/switch
  (signed, STACKPOL_SWITCH_KEY; spec in the file). Until IAP has it, /my links to IAP Promo tools
- tools/indexer.py: snapshot gains `my` (every paid member's rows, wallets, page flag, IAP switches, Pro list); public data unchanged
- header Sign in / My Stack POL entry; robots keeps /my and /sso/ out
- qa/my.test.mjs: 66 checks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 06:57:11 -06:00
martbost 9bc6e84f2d Public /network page (alias /how-it-works): the one-page 'How the Crypto Team Build Network Works' explainer, shareable (Marty 2026-11-17); in the sitemap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:58:33 -06:00
martbost 42b4e2edc0 Guides across the network (Marty 2026-11-17): each rebuilt program's evergreen Guides section linked from its /earn page and in a short block on the blog index (page 1); programs.js gets a guides URL for DLB, VBB, VAB, VAS, 5x, DH and PolHunter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:42:37 -06:00
martbost cbefb29863 Terms, Privacy and Earnings disclaimer pages + footer links + sitemap (network tidy-up 2026-11-17, TrustClickz, no street address)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:12:01 -06:00
martbost 18e9c5d56a Network Weekend (Marty 2026-11-17): ribbon + date-gated chatbot fact (any IAP $10+ pack unlocks Stack POL Pro)
netdeals.js + /assets/netweekend.js (/api/network-deals from the hub), loaded on every page by layout.js. FACTS line live
Fri 11-27 00:00 CT to Tue 12-01 00:00 CT (WEEKEND_NOW test clock).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:26:58 -06:00
martbost 96d6281e3e Stack POL data in MySQL (Marty 2026-11-16: payout totals wiped on every deploy)
The indexer snapshot (was /tmp/stack-index.json) and the chatbot KB (was memory)
are now MySQL documents via docstore.js (DOCSTORE_URL, Coolify stackpol-mysql),
loaded before the server listens so a deploy shows the last totals at once.
Snapshot split into stack-index.json + stack-index-at.json so a push with no new
payouts rewrites only the tiny doc (docstore skips unchanged bodies). Ingest API
unchanged. Tested on core: restart keeps totals, /programs, /earn, member pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 04:46:28 -06:00
martbost 7446df2f4f Site assistant (Marty 2026-11-15): chat widget in the Stack POL look on every page, CANNED + FACTS from this repo (the on-page FAQ, programs.js, the 5-minute indexer, opt-in member pages, holds nothing, no income promise), retrieval over the shared network knowledge base on the hub (netkb.js as hub site stackpol; another site named = its answer, with its tracked LinkSpin link), reasoning off, account problems hand off to network support. Static server now serves .js/.css; Dockerfile copies the chat modules. chatbot.test 125 pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:11:04 -06:00
martbost 349fa79643 Stack POL: Viral Banner Blitz program (Marty 2026-11-15 standing rule: every rebuilt network site joins Stack POL when it goes live)
- programs.js: 'vbb' entry (slug viral-banner-blitz, pop-art pink #ff2d87, Banner loop), join via the LinkSpin network link nwvbb?src=stackpol&s1=<member>; facts from the VBB app and VBBShop contract only
- /earn/viral-banner-blitz + sitemap entry (automatic from the registry); card image public/img/vbb.jpg (VBB og image, 800x420); also adds the missing public/img/dlb.jpg (DLB card image was a 404)
- server.js: per-program button verb (Join for the banner sites, not Play) and WebApplication JSON-LD for them; home description no longer calls every program a game
- layout.js: Pro personalization also swaps s1=martbost on LinkSpin network links and ?ref=martbost on downlinebanners.com / viralbannerblitz.com links
- tools/indexer.py: VBB member payouts read-only from Polygon (VBBShop Paid role 0 sponsor shares + Claimed, eth_getLogs from the deploy block, cache vbb-chain.json) plus weekly prize transfers from VBB prizes.json, each checked on chain (from the prize wallet, to the winner, succeeded); contract, prize, company and keeper wallets excluded. Decoder checked against the Downline Banners contract (same Paid signature): 70 logs, role-0 total matches its chain index exactly
- README: sources + the standing rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 07:49:59 -06:00
martbost 05f3514b9e Stack POL Pro pages (Marty 2026-11-09): a Pro member's page shows their own LinkSpin Banner Spins in the ad spots (a spot with no fitting size keeps the network zone), their spin links, a purple Polygon QR to the page (/qr/<username>.svg, qrcode module) and a "Want a personalized page like this?" panel (join under the member, or Unlock Pro in IAP). Every page opened with ?ref=<Pro member> credits them on every call to action (join links, game links, program pages, internal links carry the ref) and shows their banners; no ref or a non-Pro ref = the standard network pages and zones. Blog posts now carry an ad spot after the third paragraph, and personalized posts end with the member's links and the Pro panel. Member pages also get a network spot and the latest blog posts. Indexer reads pro[] from IAP stack-optin.json and adds each Pro member's active spins and spin links (matched by username in LinkSpin).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:31:39 -06:00
martbost e53565051b Ledger shows each payout's username (Marty 2026-11-09), linked only when the member has a Stack POL page; LinkSpin zone spots on the blog index, posts and ledger (one zone per screen size, the hidden size never loads)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:32:34 -06:00
martbost ad546660b9 Stack POL v1: live network totals, program pages, public ledger, opt-in member stacks, blog on the IAP/LinkSpin engine, full SEO (sitemap, robots, canonical, OG/Twitter, JSON-LD), branded share image; indexer on core pushes a snapshot every 5 min
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:14:16 -06:00