Commit Graph

20 Commits

Author SHA1 Message Date
martbost 7aa6bb6ed1 Old referral links: check before the home page is served (/?<old username> was served as home)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:27:07 -06:00
martbost 81c6123275 Old site links (2026-11-13): /?<old username> referral links map to that person's network username (oldrefs.json, 1,993 matched by email) as ?ref=; old *.php page addresses go home
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:22:14 -06:00
martbost 27d784136d Returning-member results (2026-11-13): /w/<code> opens counted per code (welcome-visits.json, MySQL document), GET /api/admin/welcome-stats: codes opened, total opens, new members since the first open with their sponsors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:15:58 -06:00
martbost 5d148a5b3b Board: no repeated banners (Marty 2026-11-13): a member whose spot is on the board gets no Banner Spin fill tile, and no image or Banner Spin code appears twice on one board
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:57:25 -06:00
martbost 62985840f7 Network Ad Space + board fill (Marty 2026-11-13 'proceed'): dlbnas.js keeps one standing 468x60 house banner in NAS (25k views, refilled when low, link ?src=nas) and places any spot past 30 days with fewer than 300 views in NAS for exactly the views owed; NAS-served views count toward the spot's 300 (My Spots). Empty board slots show members' own LinkSpin Banner Spins (one active 468x60 per member, refreshed every 10 min) before house ads. art/house-strip-nas.png. Smoke 76/76.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:14:30 -06:00
martbost 76d9bc0b21 Returning members (Marty 2026-11-13): /w/<code> personal links remember each old member's sponsor line (network sponsor first, then the old Downline Banners upline, network usernames, nearest first; welcome.json in MySQL via docstore, loaded with POST /api/admin/welcome). When they open the buy page, the sponsor is the first in that line who has a wallet linked AND already owns a spot (the contract only binds a sponsor who is a member); nobody qualifies -> no sponsor, never the company. Plain ?ref= links are used only without a personal code. Smoke 76/76.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 11:13:44 -06:00
martbost 093464d11b Network zones: centered, small 'Network' label (the styles were missing from the last deploy); line.css?v=7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 10:53:19 -06:00
martbost d5fdddd5af Network ad zones in seven subtle places (Marty 2026-11-13: 'do all seven'), LinkSpin zones on Marty's account, each mounted once with a small 'Network' label: ledger after the 10th sale (468x60), above the footer on every page (728x90 wide / 320x50 phone), after a purchase (300x250), My Spots under the stats (468x60), How it works between cards (300x250), contract proof (468x60), 404 (300x250). CSP admits linkspin.app (script + serve call). SEO: per-page descriptions, canonical, Open Graph + Twitter cards with a 1200x630 preview (art/og-share.png), JSON-LD on home, /sitemap.xml, robots Sitemap line, My Spots noindex. common.js?v=4, line.css?v=6. Smoke 76/76.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 10:52:10 -06:00
martbost d559c1cf26 Ledger: 'POL paid out by the contract' (the total includes the company share)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 10:36:06 -06:00
martbost 87354e29b6 Payment proof + transparency (Marty 2026-11-13): every spot sale posts ONE message to the group's payments topic (tgproof.js: buyer, each member paid with POL and $ at the contract's price, company + fund line, Polygonscan verify + live ledger links; once across app copies via docstore.claim; never older than 2 h). New /ledger (every sale and payout, live, verify links) and /contract (verified source, owner, keeper, fee wallets, price feed, live reads, fixed split, how to check). Live sale toasts bottom-left on every page (real ledger rows only, newest 30 min). Nav + footer links. common.js?v=3, line.css?v=5. Smoke 76/76.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 10:35:08 -06:00
martbost c6ca40a241 Downline Banners data in MySQL (Marty 2026-11-13: database is the standard): docstore.js (same file as LinkSpin/InstantAdPay) keeps store.json, refuel spots, hub report and sign-in nonces in MySQL (DOCSTORE_URL), one writer at a time; startup waits for the store before loading anything. chain-index.json stays a rebuildable cache, art/ uploads stay files. Smoke 76/76.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 09:38:51 -06:00
martbost 9408b7af8b My Spots: 'Use a LinkSpin Banner Spin' (two taps: pick a 468x60 spin, image + tracking link fill and save). Refuel spots: /api/partner/refuel-spot (signed) queues one buyFor per $50+ counted refuel tx, bought from the engine wallet with a 3 POL reserve, every cost recorded (refuelspots.js); never sends at the same time as the keeper. my.js?v=5, line.css?v=4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 08:55:44 -06:00
martbost 34ffe2eb78 One address (Marty 2026-11-13): www. and new. redirect 301 to downlinebanners.com (SITE_HOST), path and query kept
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 08:34:52 -06:00
martbost 289fcaf2c8 Click macros (Marty 2026-11-13): a spot's Target link can carry {clickid}, {spot} and {type} (gate/organic), filled on every click, for LinkSpin's Downline Banners source; hint on My Spots, my.js?v=4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 08:25:54 -06:00
martbost bdb2aacf27 Network hub shadow mode (Marty 2026-11-13): hubreport.js reports every on-chain member to the hub as a contract bind by wallet (one way; unknown wallets kept and re-asked every 6 h), visible in /api/admin/status; off unless HUB_ENABLED
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 08:00:18 -06:00
martbost 0507c1a815 Downline Banners (Marty 2026-11-13: keep the name): renamed everywhere members see it, new stacked-banner logo + favicon; network sign-in (arrive signed in from InstantAdPay/LinkSpin as your wallet); share links, sponsor and directs use network usernames (?ref=username resolves through InstantAdPay)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 07:35:22 -06:00
martbost 63199e767a After a buy, Open My Spots signs in with the already-connected wallet and goes straight there (Marty 2026-11-13)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 07:00:23 -06:00
martbost fddd08fbad Own look for Banner Line (Marty 2026-11-13): ultraviolet-black ground, acid-lime primary + violet accent, Bricolage Grotesque/Inter, gradient headline, house banner recolored; hero headline centered (line.css had reset its auto margin); site.css/line.css ?v=2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 06:51:10 -06:00
martbost ceaef62121 Compose: expose 3000 to Coolify's proxy instead of binding the host port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 06:41:00 -06:00
Marty Bostick 1c203eba8a Banner Line web app v1: gate, board, buy, My Spots, dashboard, chain index, keeper, local smoke test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 06:35:32 -06:00