Commit Graph

28 Commits

Author SHA1 Message Date
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 b6e020e025 Chat widget would not close (Marty 2026-11-15): #scPanel's display:flex beat the hidden attribute and Stack POL has no global [hidden] rule; add #scPanel[hidden]{display:none}. chat.css?v=20261115e, chat.js?v=hide1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:57:26 -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 3a6ac0a81e Stack POL: DownlineHydra program (standing rule: every rebuilt network site joins Stack POL when it goes live): programs.js dh /earn/downlinehydra (join via LinkSpin nwdh), netsites downlinehydra nwdh, layout ref swap for downlinehydra.com, indexer HydraPro Paid level 1-5 + Claimed (dh-chain.json; house = contract, Tangem, keeper), img dh.jpg. Dry scan OK (0 logs). LOCAL, push at the downlinehydra.com go-live after LinkSpin has nwdh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:58:55 -06:00
martbost ab07ffebe2 Stack POL: 5xYourTeam program (standing rule: every rebuilt network site joins Stack POL when it goes live). LOCAL, push at the 5xyourteam.com go-live
- programs.js: 'fx' entry (slug 5xyourteam, gold #ffc93c, Team draft), join via the LinkSpin network link nw5x?src=stackpol&s1=<member>; facts from the 5x app and DraftPosition only
- netsites.js: fivex in the fallback list, CODES fivex: nw5x
- layout.js: Pro personalization swaps ?ref=martbost on 5xyourteam.com links
- tools/indexer.py: vab_rows generalized (k, shop, start, house, cache); 5x member payouts read-only from DraftPosition 0x83Bb...bc74 (Paid level 1-5 + Claimed, from block 97363529, cache fx-chain.json); company, keeper, contract and the Best Coach pot wallet excluded
- public/img/fx.jpg: the 5x og image, 800x420

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:50:44 -06:00
martbost 793354ea80 Footer network links carry the referral (Marty 2026-11-15): on a page opened with ?ref=<Pro member> (and the member's own /<who> page), personalize() gives every LinkSpin network link that has no member yet s1=<who> (LinkSpin sends it on as ?ref=); Earners Corner (nwec) takes none. Stack POL has no sign-in or ref cookie, so the ?ref= that personalize already carries page to page is the referral. Same rule as VBB 6798503.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:05:53 -06:00
martbost 0805c1bcb4 Stack POL: ViralAdBlitz program (Marty 2026-11-15 standing rule: every rebuilt network site joins Stack POL when it goes live)
- programs.js: 'vab' entry (slug viraladblitz, royal blue #0a2fa8, Viral text ads), join via the LinkSpin network link nwvab?src=stackpol&s1=<member>; facts from the VAB app and VABShop contract only
- /earn/viraladblitz + sitemap entry (automatic from the registry); card image public/img/vab.jpg (VAB og image, 800x420)
- netsites.js: same file as ViralAdBlitz (CODES viraladblitz: nwvab, fallback list entry)
- layout.js: Pro personalization also swaps ?ref=martbost on viraladblitz.com links
- tools/indexer.py: VAB member payouts read-only from Polygon (VABShop Paid level 1-5 + Claimed, eth_getLogs from deploy block 97324419, cache vab-chain.json); level 0 (company), contract, company and keeper wallets excluded. Dry run on core: scanned to head, 0 logs (no Boost sold yet)
- README: sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:04:37 -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 1735748ee6 Tracked network links (Marty 2026-11-14: "make sure each of these sites is its own traffic source and link spun so we can track it"): the footer's Part of the network links go through the LinkSpin network link for each site with ?src=stackpol (linkspin.app/r/<code>, rel nofollow), so LinkSpin Reports show Stack POL as the source. netsites.js gains tracked() + go on /api/network-sites (same file in all five sites). Footer render checked locally.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:38:03 -06:00
martbost 275a5a48bc Dockerfile copies netsites.js (the 6cc1c6d deploy rolled back on MODULE_NOT_FOUND)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:14:15 -06:00
martbost 6cc1c6d366 Footer: 'Part of the network' column from the network hub (netsites.js: GET HUB_URL/v1/network-sites, 10 min cache, built-in fallback; Stack POL marked as current), company line TrustClickz, 615 Green Valley Drive, Moody, AL 35004, Support link; All games moves to Explore (never in the network list). Marty 2026-11-14 trust pack
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:12:59 -06:00
martbost 8bde289c39 Stack POL: Downline Banners program (member payouts = contract Paid events to sponsors and line spots, company + fund excluded); indexer reads LinkSpin/InstantAdPay data from MySQL (docstore docs table, via each app's DOCSTORE_URL) since those files moved there 2026-11-13: LinkSpin accounts, Banner Spins, spin links and InstantAdPay stack-optin (switch-offs + Pro)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 10:37:52 -06:00
martbost 3d74fa8195 PolHunter embed on every Stack POL page (mission: find your code on one of the program cards; silent without a hunter token)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:02:37 -06:00
martbost 8abd442984 Earners Corner on Stack POL (Marty 2026-11-10): program card + /earn/earners-corner (join via instantadpay.com/forum/join/<member>), indexer reads the forum reward service's /payouts over WireGuard (10.100.0.2:18950, Stack POL ingest key), attribution by wallet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:10:57 -06:00
martbost 137dc6a09a PassiveDrip on Stack POL (Marty 2026-11-10): program card (join via instantadpay.com/g/passivedrip, sponsor kept), card art in the set's style, indexer reads the PassiveDrip payout engine ledger on core (live passivedrip.com rows paid on chain only; staging tests and dry runs out; attribution by wallet).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:41:47 -06:00
martbost 31709ff051 Indexer: docker exec never reads the caller's stdin (it swallowed a remote script's remaining lines)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:43:22 -06:00
martbost 5b0ef24378 Indexer: every paid member gets a page by default; an explicit switch-off in IAP hides it (Marty 2026-11-09)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:41:24 -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
martbost 3f8ac7dfbb Mockup: LinkSpin card (pays the sponsor line in POL in the same transaction)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:49:40 -06:00
martbost 443d7789b3 Mockup: every network game in the stack (SpellWheel, ClutterHunt, Road Agent, PolyBreak, POL Miner, PolyWarriors) and Turkey Drop as the seasonal feature (Spooky Doors ended Oct 31)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:48:39 -06:00
martbost a4cf4bcc12 Zone wrapper class renamed (EasyList hides .adzone)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 14:59:59 -05:00
martbost 8fcba30a34 LinkSpin zone ls-9c2a52 (728x90) near the bottom: Marty's first zone embed test
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 14:28:18 -05:00
martbost 0eba8bd1b3 Drip Runner link on its own domain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 06:05:11 -05:00
martbost 5d21dfd507 Hero video: try sound on load, fall back to muted, first tap or key anywhere turns sound on and restarts the clip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 05:41:14 -05:00
martbost 0325b87e0b Hero video on the coming-soon page: coins stacking with amounts and chip sounds, autoplay muted with Tap for sound, OG poster
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 05:39:48 -05:00
martbost f9531e1939 Stack POL placeholder: coming-soon page (static, nginx)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 05:20:45 -05:00