Commit Graph

8 Commits

Author SHA1 Message Date
martbost c053fedbd1 Tutorial video: 2.5-minute narrated walkthrough on /how (Watch how it works) + 'Watch the 2-minute walkthrough' link under the home hero; /art/how-it-works.{mp4,jpg} served, video with byte ranges (sendMedia); chatbot fact; site.css?v=3 (Marty 2026-11-18: tutorial explainer videos for each rebuilt site)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 08:15:09 -06:00
martbost 6313bbf719 Network Weekend (Marty 2026-11-17): ribbon + date-gated chatbot fact (gift a spot), no price or split change
netdeals.js + /assets/netweekend.js (/api/network-deals from the hub), loaded by common.js (not admin, never in a frame),
common.js?v=20261117nw. 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:25:58 -06:00
martbost 387997864a 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:52:41 -06:00
martbost a428075330 Spot edits: unlimited, full link check on every one, every one logged; admin takedown and restore (Marty 2026-11-16)
Edits (POST /api/my/spot/<id>, /api/my/default, uploads): still any number of times. Every change now gets the full check:
checkLink, then (LINK_PROBE on) the link must answer (safety.probeLink, up to 3 redirects each checked) and an image address must
download as a real 468x60 image of 150 KB or less (safety.probeImage; the address is kept, a Banner Spin image rotates). The
Banner Spin image + click link LinkSpin just handed the member are not fetched (that would count a LinkSpin click). safety.js gains
privateIp + safeLookup with the Node 20 fix VBB/ViralAdBlitz needed (honors opts.all, answers an array). Every real change is
logged on the spot (or the default): old and new link and image, time, via edit/upload; the owner sees the newest 10. 120 changes
an hour per connection (each one fetches the link).

Admin takedown (the Viral Banner Blitz way, 8e6d2f9): /admin (new page) finds a spot by #number, wallet or network username;
POST /api/admin/spots/<id>/takedown {reason (required, the owner sees it), credit}. Hidden everywhere at once: the board shows a
house tile in its place (nobody else moves), the gate gives its step to a house site, /go/<id> goes home, its Network Ad Space
banner is paused (approved = 0) and no new one is placed. No views or clicks count while down. My Spots shows "Taken down" with
the reason and no edit controls. Restore (POST .../restore) reverses it (NAS resumed). Admin ledger: GET /api/admin/actions (who,
when, reason, credit decision). The contract is never touched.
CREDIT BACK IS NOT BUILT: a spot is a $5 on-chain purchase and this site has no free replacement spot or post credit, so
credit: "back" is refused with a note until Marty decides what it means here; takedowns are "no credit".
Chatbot: CANNED takedown + banner answer (unlimited checked, logged edits) + FACTS EDITS/TAKEDOWN lines, KNOWLEDGE_DATE 2026-11-16.
line.css?v=9, my.js?v=z3.
Tests: smoke section 10 (the lookup shape, edit log, unlimited edits, refusals: unreachable, 404, private address, http redirect,
shortener, bad image size/404/unreachable; redirect followed; same link logs nothing; upload logged; default checked + logged;
takedown: token, reason, credit choice, credit back refused, held house tile, image nowhere, /go home, gate, no views, owner view,
no edits while down, ledger, restore, /admin) against a stand-in internet preloaded into the app (qa/out/probe-stub.cjs, nothing
leaves the machine), plus phone renders of My Spots taken down and /admin: 193/193 with UI. chatbot.test 181/181.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 05:23:54 -06:00
martbost 0aaea45a5c Site assistant (Marty 2026-11-15): chat widget in the Downline Banners ultraviolet + lime look on every page, CANNED + FACTS from this repo's code and the BannerLine contract ($5 spot, 300 views in 30 days, 30% sponsor + 55% as $0.275 x 10 + 10% company + 5% momentum fund, fund buys after 4 h quiet, max 12 a day, 7-day gift cooldown, look-around tour, buy for someone, refuel spots, 468x60 up to 150 KB), retrieval over the shared network knowledge base on the hub (netkb.js, home entries boosted, another site named = its answer), reasoning off, account problems hand off to network support. Chat admin routes use a constant-time ADMIN_TOKEN check. chatbot.test 165, smoke 131/131
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:07:32 -06:00
martbost 6d277171ca Footer network links carry a referral username (Marty 2026-11-15): the signed-in member's own network username, else the sponsor the visitor came in on. /api/me now also answers username (signed in) and refName (the sponsor's network username via nameOf; never the wallet, so the bl.ref cookie is not read client side). Tracked links get it as s1 (LinkSpin sends it on as ?ref=), plain links as ?ref=, none for Earners Corner. Same approach as VBB 6798503. common.js?v=20261115nr. Smoke 127/127
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:03:31 -06:00
martbost e4a7fa64c1 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"). netsites.js: /api/network-sites adds go = the LinkSpin network link for each site with ?src=<this site> (linkspin.app/r/nwiap|nwls|nwdlb|nwvbb|nwsp|nwec, fixed codes on Marty's LinkSpin account), this site found by NETWORK_SITE_ID or the request host; the footer uses go (rel nofollow), plain url as fallback. Promo kit: every link gets a tracked twin (linkspin.app/r/nwdlb?src=dlb&s1=<member>&s2=<page>, lands on the same page with ?ref=<member>), trackedTemplate; /promote shows both with one plain line. Same netsites.js in all five sites. common.js?v=20261114ns, kitpage.js?v=2. Smoke 123/123
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:38:01 -06:00
martbost da16bfaf4d Trust pack (Marty 2026-11-14): legal pages, network footer, Telegram image + week stats.
- /terms, /disclaimer (Earnings Disclaimer), /privacy: TrustClickz, 615 Green Valley Drive, Moody, AL 35004; written from the real mechanics: a $5 spot buys advertising (300 guaranteed views + a place in the line), same-transaction split 30/55/10/5, the contract holds only the momentum fund, paid only when later spots sell, nothing held or withdrawn, no refunds on-chain, one-time purchases, crypto risk, data (wallet, username from the hub, hashed visit checks, cookies, no email stored) and one account across the network through the hub. No earnings cap shown. Sitemap.
- Footer: Terms, Earnings Disclaimer, Privacy, Contract, Ledger, Support, company line, 'Part of the network' from the hub (netsites.js, GET /api/network-sites, 10 min cache, fallback list), Downline Banners marked current.
- tgproof.js: each sale message adds this week's spot numbers (Central-time week, bought vs gifted) and shows a large kit image above the text via link_preview_options (rotated, no caption length limit); TG_API for the test stand-in.
common.js?v=20261114t, line.css?v=8. Smoke 122/122 (stand-in Telegram: one message per sale, never two per tx; stand-in hub serves the list; legal pages; footer on phone).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:50:37 -06:00