Commit Graph

13 Commits

Author SHA1 Message Date
martbost 117bb47273 Remove street mailing address from public pages (Marty 2026-11-16)
Pages, footers and the site assistant now name only TrustClickz; the footer
reads "(c) 2026 TrustClickz". Contact stays the network support link.
QA checks updated to assert no street address is shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:46:20 -06:00
martbost 760bee72f1 Network hub hook (Marty 2026-11-16): sign out everywhere, hub blocks and erases end sessions here; "Sign out everywhere" button
hubevents.js (new, byte-identical in VBB, DLB, ViralAdBlitz, DownlineHydra, 5xYourTeam): POST /api/hub/events, signed by the hub
with HUB_SECRET (same hook InstantAdPay and LinkSpin take). member.signedout and member.blocked: the person is looked up by hub id
(/v1/resolve, signed as viraladblitz) and their sessions here end (by the main wallet or any contract wallet). member.erased: matched by the wallet SHA-256s
(and email SHA-256) the hub now sends with the event. Only sessions made before the event end (a replay never signs anyone out
twice); a failed hub lookup answers 503 so the hub resends. Off with HUB_HOOK=0. Admin status: hubEvents (counts only).
My Ads: "Sign out everywhere" next to Sign out (POST /api/auth/logout-everywhere -> networksso.signOutEverywhere, then every
session of this member here ends).
Smoke: section 17 (same cases as the other wallet sites): 231/231 with UI. my.js?v=8 (the spin-link check now expects v=8).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 05:05:38 -06:00
martbost 4dd1e5a07f "Use one of my spin links" on the text-ad form (Marty 2026-11-15): a member picks one of their own LinkSpin spin links as the ad link, so one free ad rotates clicks across every page they promote. Listed live from LinkSpin (GET /api/my/spins -> lstrack.spins, /api/partner/vab/links op 'spins'). A LinkSpin /r/<code> link on any LinkSpin host is accepted ONLY when LinkSpin confirms it is the signed-in member's own (lstrack.checkSpin): someone else's, a paused one, one with no active pages, or any while LinkSpin is not answering is refused; the network's fixed nw* links and /r/ links on other sites stay ordinary links; other shortener rules unchanged. A spin-link ad (ad.spin) never gets the "Track with LinkSpin" wrapper: /go/<ad> sends straight to the spin link, the checkbox is greyed with a note. LinkSpin hosts learned from every spins answer (warmed hourly by the sweep). Chatbot: CANNED spin-link + FACTS. my.js?v=7. Smoke 217 pass (14b2: foreign refused, own accepted), chatbot 206 pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:37:18 -06:00
martbost 8630c9aa9a Link check: safeLookup answers in the shape Node 20's https agent asks for (opts.all -> an array; every address checked for private ranges). Answering with one address made every probe fail as 'could not reach', so no text ad / banner link could be saved (Marty 2026-11-15). The status note scrolls into view when it shows (it sits at the foot of the page, so a refused post looked like a dead button). Smoke all green.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:15:05 -06:00
martbost 2957fa7999 Chat widget: #scPanel[hidden]{display:none} so closing always wins over the panel's display:flex (Stack POL's widget could not close without it; this site was fine because its own stylesheet hides [hidden], the rule keeps it so).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:56:58 -06:00
martbost 1c72c0db3d Site assistant widget: plain divs instead of header/section (a site stylesheet that styles every header pushed the panel title down on Downline Banners), chat.js cache tag bumped; the shared chatbot test runs without a config.js or data volume (Stack POL)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:26:41 -06:00
martbost d6e36a65bc Site assistant (Marty 2026-11-15): chat widget in the ViralAdBlitz look on every page, CANNED + FACTS from this repo's code (Boost $5/500 views, 10% x 5 + 50% company, 20 places, 30-day delivery, ad limits, verified views), retrieval over the shared network knowledge base on the hub (netkb.js publishes this site's entries and reads the others', home entries boosted), OpenRouter deepseek-v4-flash with reasoning off, account problems hand off to network support. kb.json is a MySQL document. qa/chatbot.test.mjs 195 pass, smoke 198/198
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:40:33 -06:00
martbost 3920e53db2 How it works page /how (Marty 2026-11-15: "a How It Works section with maybe a diagram"): three accessible inline SVG diagrams in the daylight look (your ad spreading five levels down with YOUR ad in the matching LEVEL row; what a member page shows; where a $5 Boost goes with the pass-up skip over a non-buyer and the 50% company share), What counts as a view cards, 500-view delivery (ticker star, Boosted places, Network Ad Space after 30 days), Start in 3 steps with CTAs, FAQ with FAQPage schema. Linked from the nav, the footer and the front page ("How a Boost works", "See how it works"); /how reserved from usernames, in the sitemap; css v6, common v7. Smoke 194/194 (new: /how content, links, sitemap, desktop + phone render, no dashes, no console errors).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:54:37 -06:00
martbost 72f4eb664f PolHunter mission prep (every rebuilt network site gets one, Marty 2026-11-14): the front page's How it works steps carry the PolHunter embed (data-selector ".steps .step", 3 slots); CSP admits https://polhunter.com in script-src and connect-src only. Hunters never count: a page with a ?ph= / #ph= token (or PolHunter's tab token in sessionStorage) asks /api/wire with hunt=1, and a visit from polhunter.com is treated the same, so no visit ticket is issued (no ad views, no Boost delivery, no verified-click token); daily counter huntVisits. Smoke 186/186.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:23:24 -06:00
martbost 4efc1239b0 LinkSpin tracked links for text ads (Marty 2026-11-15): lstrack.js asks LinkSpin (POST LS_URL/api/partner/vab/links, net.v1 with NETWORK_SSO_SECRET, by network username) for a tracked link on the member's own LinkSpin account when they save their ad; /go/<ad> sends through it while it points at the ad's current link. "Track with LinkSpin" toggle on the ad form (default on), {clickid}/{placement} links not tracked, LinkSpin clicks on My page, counters in admin status. Fails soft (plain link) until LinkSpin ships the endpoint; a 2-minute sweep retries. Smoke 179/179 (17 new LinkSpin checks against a stand-in that starts down).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:20:32 -06:00
martbost 13d9cd7955 Network ad zones wired (2026-11-15): 6 LinkSpin zones on Marty's account for viraladblitz.com (footer 728x90 ls-766b4a, phone 320x50 ls-66e157, ledger 468x60 ls-a5c68c, Boost 300x250 ls-754307, My page 468x60 ls-f880d2, 404 300x250 ls-c6c515), common.js ?v=5; smoke 162/162
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 05:38:25 -06:00
martbost d611c4b251 Restyle ViralAdBlitz to the approved "daylight cyberpunk" look (Marty 2026-11-14)
Replaces the dark ink-green/amber newsroom look Marty rejected as too dark.
Look only: routes, ids, copy facts and the trust pack are unchanged.

- vab.css rewritten around CSS variables: #EAF0FF ground, white clipped
  cards, royal #0A1F6B bands/ticker, #0A2FA8 hero panels with network
  lines, red pill CTA, gold Boost/boosted, Barlow Condensed / Chakra Petch /
  Inter / JetBrains Mono. [hidden] now always wins over display rules.
- Front page: slanted hero, ribbon, green-check list, rising bars, three
  YOUR AD screens, gold chips; board tabs (verified clicks / on the wire /
  boosted, from data the page already has); Boost band; ledger chips.
- Member page: own ad as a hero panel, level rows with LEVEL chips, royal
  join bar. Rows are now labelled LEVEL 1 to LEVEL 5 in display order
  (Marty's decision); the real place is kept in the API as depth.
- My page becomes the dashboard: side menu, stat cards, my-ad card with
  LIVE/BOOSTED badges and a folded editor, line bars, Boost ring, recent
  activity, payouts. All figures from /api/my, nothing estimated.
- Boost, ledger, contract, promote, legal and admin pages restyled; 404 too.
- Default JOIN_URL is now https://instantadpay.com/join/{ref} (no ref
  falls back to the InstantAdPay home page).
- New mark, icon, OG image, 21 kit creatives and 3 proof cards
  (royal/daylight/navy) rendered by tools/art.mjs; asset tags bumped to v=4.
- smoke.mjs: new headline, level/depth and join URL checks, UI_FONTS=1.

Tests: qa/smoke.mjs 162/162, qa/chain.mjs 20/20 (local anvil).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:17:30 -06:00
Marty Bostick 001878bdae ViralAdBlitz v1 (viraladblitz.com rebuild, Marty approved 2026-11-14): the network's text-ad home, local build, not deployed
- Free text ad for network members (InstantAdPay / LinkSpin sign-in or wallet, membership through the hub), one per member
- Member pages viraladblitz.com/<username>: own ad + the first 5 people above in the hub line with a live ad (by place) + 2 Boosted places
- Front page: amber ticker (Boosted starred), Top ads this week by verified clicks, today's numbers, ledger, contract proof
- Verified visitors / views / clicks (ticket + dwell + per-visitor dedupe + per-connection cap + bot filter, owner excluded)
- Boost $5 = 500 guaranteed views through VABShop: keeper-signed EIP-712 line voucher from the hub line, watcher, delivery
  counted per verified view with an audit row each, Network Ad Space text-ad finishing after 30 days (vabnas.js)
- Trust pack: /ledger, /contract, toasts, Telegram card per Boost (once), Terms / Earnings Disclaimer / Privacy (TrustClickz),
  network footer from the hub with tracked links, promo kit (21 creatives) + /promote, LinkSpin zone placeholders, hub report
- Old YFW links via the oldrefs map (admin load route); docstore MySQL documents + row tables
- qa/smoke.mjs 162/162 (stand-in hub, chain, Telegram, NAS; Playwright desktop + phone), qa/chain.mjs 20/20 (real VABShop on anvil)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:52:03 -06:00