Fuel Your Offers member guide at /refuel (Marty, 2026-10-24): LinkSpin-first wording (Credits, Ads, Banner Spin), same rules as InstantAdPay's refuel.js, flow drawn in HTML/CSS (works at 390 px), pub.css look, hero og:image banners/fuel-your-offers-1200x675.jpg, refuel-guide.js opens join/member/off-site links in a new tab (with ?ref) when framed. Route + TRAFFIC_PAGES + sitemap; Training entry (catalog/training.json "refuel-guide"); "How the Refuel streak works" link on the Monthly Refuel panel and in the Engine Room.

Fixes: Engine Room streak line no longer asks for the other site once both are refueled (engine.js + engine-room.js copied from InstantAdPay, byte-identical). Ads-screen Monthly Refuel rows had no spacing ("InstantAdPay+30%"): own flex row style. Load into my Banner Spin: size checkboxes, pre-ticked to what fits the tier (728x90 + 300x250 on an empty Starter), and kitspin.js returns one plain message: what loaded, what did not and why (tier holds N Banner Spins), and what to do; /api/my/kits adds spinRoom. Test added (refuel-kit 6/6).
Chatbot CANNED + refuelFact point to /refuel. fuel.js + engine-room.js ?v=20261024rg.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-24 08:07:32 -05:00
parent fee138bbc1
commit e5fb985c6b
14 changed files with 379 additions and 22 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ function rss(posts) {
return '<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>LinkSpin blog</title><link>' + SITE + '/blog</link><description>Coaching and teaching articles from Marty Bostick.</description>' + items + '</channel></rss>'; return '<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>LinkSpin blog</title><link>' + SITE + '/blog</link><description>Coaching and teaching articles from Marty Bostick.</description>' + items + '</channel></rss>';
} }
function sitemap(posts) { function sitemap(posts) {
const pages = ['/', '/blog', '/whats-new', '/leaderboard', '/ledger', '/contract', '/plays', '/wallets', '/earning', '/partners', '/publishers']; const pages = ['/', '/blog', '/whats-new', '/leaderboard', '/ledger', '/contract', '/plays', '/wallets', '/earning', '/partners', '/publishers', '/refuel'];
const u = pages.map(p => '<url><loc>' + SITE + p + '</loc><changefreq>weekly</changefreq></url>').join('') const u = pages.map(p => '<url><loc>' + SITE + p + '</loc><changefreq>weekly</changefreq></url>').join('')
+ posts.map(p => '<url><loc>' + SITE + '/blog/' + p.slug + '</loc><lastmod>' + new Date(p.updated).toISOString().slice(0, 10) + '</lastmod><changefreq>monthly</changefreq></url>').join(''); + posts.map(p => '<url><loc>' + SITE + '/blog/' + p.slug + '</loc><lastmod>' + new Date(p.updated).toISOString().slice(0, 10) + '</lastmod><changefreq>monthly</changefreq></url>').join('');
return '<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + u + '</urlset>'; return '<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + u + '</urlset>';
+8
View File
@@ -5,5 +5,13 @@
"title": "Banner Spin: one banner slot, a whole campaign", "title": "Banner Spin: one banner slot, a whole campaign",
"desc": "Banner Spin gives you one image address and one click address that rotate up to 25 banners, each with its own target page or spin link. Put it in one banner slot on a traffic exchange, a safelist, a forum signature or your own site once, then change the banners from your Control Room whenever you like. Nobody has to update anything on their side.\n\nWho gets it. It is a free add-on that opens with your own package of $25 or more. Starter holds 2 Banner Spins with 5 banners each. Builder (level 2 open, 2 qualifying buyers) holds 5 with 15 each. Leader (level 3 open, 5 qualifying buyers) holds 10 with 25 each. If you drop below a tier, everything you built keeps serving; you just cannot add more until you are back.\n\nStep 1, name and size. Open Links, switch to Banner Spins and press New Banner Spin. Pick one size: a slot on an exchange has one size, so every banner in a Banner Spin should be that exact size (468x60, 728x90, 300x250, 125x125, 160x600, 120x600, 336x280, 250x250 or 320x50). Set a fallback page: that is where a click goes when we cannot tell which banner the visitor saw.\n\nStep 2, add banners. Upload a JPG, PNG or GIF (animated is fine, 150 KB at most) or paste an https image address. The builder previews it at real size and warns you when it is the wrong size. Pick where a click goes: any page, or one of your own spin links, so a banner can rotate pages behind it too.\n\nStep 3, weights and mode. A banner with weight 20 shows twice as often as one with 10. Random by weight picks again on every view. One per visitor shows the same person the same banner all day, which keeps a split test clean on exchanges that reload pages. You can also give the whole Banner Spin, or one banner, its own hours.\n\nStep 4, get the code. Open Get the code and copy the embed that fits the place: the image address plus click address for exchanges, safelists and downline builders; the HTML snippet for your own site or blog; the script tag wherever scripts are allowed (it writes the banner and its own link together, so every click lands on the right target); the forum code for signatures. Every link domain answers every code, so if one domain ever has trouble you swap only the domain.\n\nWhere it will not rotate. Paid ad networks copy your image to their own servers when you upload a creative, so it freezes on one banner there: upload real banners to them instead. Gmail and some mail apps fetch images once through their own proxy, so most email readers see one banner and their clicks go to the fallback. For email, use a Banner Spin with a single banner (still tracked) and swap it when you want a change.\n\nReading the numbers. The Stats tab and the Reports screen show views, unique viewers, clicks, click rate, match rate and conversions for every banner and every placement (the page your banner sits on), by day, country and device. Bots, link previews and servers are never counted as views; they are shown on their own line. A WINNER badge appears once two or more live banners have 1,000 views each and one leads on click rate. LinkSpin never changes your weights for you: raise the winner or pause the rest when you are ready. A placement marked CACHED copies banners to its own server, so the rotation is frozen there; spend your credits elsewhere.\n\nHealth checks. Every 30 minutes LinkSpin checks each live banner: the image must load as an image of the right size, and its target must not be dead or parked. Three failures in a row pause that banner and it comes back on its own after two clean checks. The last live banner in a Banner Spin is never paused. You see the status on every banner row.\n\nTeach it forward. When someone in your line buys their first $25 package, show them this lesson and help them build their first Banner Spin with two banners for the same offer. Two weeks of numbers tell them which banner to keep.", "desc": "Banner Spin gives you one image address and one click address that rotate up to 25 banners, each with its own target page or spin link. Put it in one banner slot on a traffic exchange, a safelist, a forum signature or your own site once, then change the banners from your Control Room whenever you like. Nobody has to update anything on their side.\n\nWho gets it. It is a free add-on that opens with your own package of $25 or more. Starter holds 2 Banner Spins with 5 banners each. Builder (level 2 open, 2 qualifying buyers) holds 5 with 15 each. Leader (level 3 open, 5 qualifying buyers) holds 10 with 25 each. If you drop below a tier, everything you built keeps serving; you just cannot add more until you are back.\n\nStep 1, name and size. Open Links, switch to Banner Spins and press New Banner Spin. Pick one size: a slot on an exchange has one size, so every banner in a Banner Spin should be that exact size (468x60, 728x90, 300x250, 125x125, 160x600, 120x600, 336x280, 250x250 or 320x50). Set a fallback page: that is where a click goes when we cannot tell which banner the visitor saw.\n\nStep 2, add banners. Upload a JPG, PNG or GIF (animated is fine, 150 KB at most) or paste an https image address. The builder previews it at real size and warns you when it is the wrong size. Pick where a click goes: any page, or one of your own spin links, so a banner can rotate pages behind it too.\n\nStep 3, weights and mode. A banner with weight 20 shows twice as often as one with 10. Random by weight picks again on every view. One per visitor shows the same person the same banner all day, which keeps a split test clean on exchanges that reload pages. You can also give the whole Banner Spin, or one banner, its own hours.\n\nStep 4, get the code. Open Get the code and copy the embed that fits the place: the image address plus click address for exchanges, safelists and downline builders; the HTML snippet for your own site or blog; the script tag wherever scripts are allowed (it writes the banner and its own link together, so every click lands on the right target); the forum code for signatures. Every link domain answers every code, so if one domain ever has trouble you swap only the domain.\n\nWhere it will not rotate. Paid ad networks copy your image to their own servers when you upload a creative, so it freezes on one banner there: upload real banners to them instead. Gmail and some mail apps fetch images once through their own proxy, so most email readers see one banner and their clicks go to the fallback. For email, use a Banner Spin with a single banner (still tracked) and swap it when you want a change.\n\nReading the numbers. The Stats tab and the Reports screen show views, unique viewers, clicks, click rate, match rate and conversions for every banner and every placement (the page your banner sits on), by day, country and device. Bots, link previews and servers are never counted as views; they are shown on their own line. A WINNER badge appears once two or more live banners have 1,000 views each and one leads on click rate. LinkSpin never changes your weights for you: raise the winner or pause the rest when you are ready. A placement marked CACHED copies banners to its own server, so the rotation is frozen there; spend your credits elsewhere.\n\nHealth checks. Every 30 minutes LinkSpin checks each live banner: the image must load as an image of the right size, and its target must not be dead or parked. Three failures in a row pause that banner and it comes back on its own after two clean checks. The last live banner in a Banner Spin is never paused. You see the status on every banner row.\n\nTeach it forward. When someone in your line buys their first $25 package, show them this lesson and help them build their first Banner Spin with two banners for the same offer. Two weeks of numbers tell them which banner to keep.",
"docUrl": "/links#b" "docUrl": "/links#b"
},
{
"id": "refuel-guide",
"group": "Fuel Your Offers",
"title": "Fuel Your Offers: how the Monthly Refuel streak works",
"desc": "Refuel your ads every month and the bonus climbs. A new package of $25 or more under Credits (or $20 or more on InstantAdPay) starts your streak and sets your own refuel day. Each monthly refuel inside your window (5 days before to 5 days after your refuel day) adds bonus ad credits: +10%, +15%, +20%, then +25% from month 4. Refuel both sites in the same cycle and both get +15%, +20%, +30%, then +40%. Either site alone keeps the streak going.\n\nThe guide walks through the whole flow with a diagram: Pit Stops, the one free miss a year, the Refuel Kit that loads into your Banner Spin, the Engine Room on Ads, and the reminders. Bonus credits buy ad delivery only; they are never cash.",
"docUrl": "/refuel",
"docLabel": "Read the guide"
} }
] ]
+2 -2
View File
@@ -41,7 +41,7 @@ const SUPPORT_RE = /(contact|reach|email|e-mail|message|talk to|speak (to|with)|
const CANNED = [ const CANNED = [
{ id: 'refuel', title: 'Monthly Refuel streak and Pit Stops', q: ['What is my refuel day?', 'How does the refuel streak work?', 'What is a Pit Stop?', 'How much should I spend each month?'], tags: ['refuel', 'streak', 'pit stop', 'twin engine', 'bonus credits'], { id: 'refuel', title: 'Monthly Refuel streak and Pit Stops', q: ['What is my refuel day?', 'How does the refuel streak work?', 'What is a Pit Stop?', 'How much should I spend each month?'], tags: ['refuel', 'streak', 'pit stop', 'twin engine', 'bonus credits'],
re: /(refuel(ing)? (day|streak|bonus|window)|my refuel|monthly refuel|pit ?stop|twin engine|both engines|refuel streak|streak bonus|free miss)/i, re: /(refuel(ing)? (day|streak|bonus|window)|my refuel|monthly refuel|pit ?stop|twin engine|both engines|refuel streak|streak bonus|free miss)/i,
a: 'The Monthly Refuel streak rewards members who refuel their ads every month. A counted refuel is a new package of $20 or more on InstantAdPay, or $25 or more on LinkSpin, bought by one of your own positions. Your first one sets your refuel day; the next is due 30 days later, the window opens 5 days before that day and there is a 5-day grace after it (Central time). Each refuel adds bonus ad credits on the site where you bought: month 1 +10%, month 2 +15%, month 3 +20%, month 4 and up +25%. Refuel BOTH sites in the same cycle and each gets +15%, +20%, +30% or +40% (the first site is topped up to that rate), plus a 100-credit Featured bonus on InstantAdPay from month 4 (enough for two Featured days and more). The bonus stacks on Five Dollar Friday and Wired Wednesday. A $20+/$25+ top-up between refuel days is a Pit Stop: half your current rate, once per site per cycle, and it does not count as the refuel. Miss the grace and the streak starts again, except for one free miss a year. Badges at your first refuel and at 3, 6 and 12 months. Each counted refuel also unlocks the Refuel Kit for that month: members-only banners (728x90, 300x250, 468x60, 160x600 and 1200x630) with your @name and a QR code to your own link drawn on them, in the Ads screen (with a Load into my Banner Spin button); they stay yours after the month, a 3-month streak adds an animated version and 6 months a custom-banners credit. Your first counted refuel also opens the Engine Room panel on the Ads screen: three plain dials (fuel left on both sites against this cycle’s refuel with days left at your burn, clicks this week with clicks per 1,000 credits, goals this month against a goal you set), warning lights, six part lights with setup links and one next move. Your refuel day, streak, next bonus and Pit Stop status are on the Refuel card on your Credits screen. Buy here: https://linkspin.app/credits. Bonus credits are ad credits that buy delivery, never cash, and no income is guaranteed.' }, a: 'The Monthly Refuel streak rewards members who refuel their ads every month. A counted refuel is a new package of $20 or more on InstantAdPay, or $25 or more on LinkSpin, bought by one of your own positions. Your first one sets your refuel day; the next is due 30 days later, the window opens 5 days before that day and there is a 5-day grace after it (Central time). Each refuel adds bonus ad credits on the site where you bought: month 1 +10%, month 2 +15%, month 3 +20%, month 4 and up +25%. Refuel BOTH sites in the same cycle and each gets +15%, +20%, +30% or +40% (the first site is topped up to that rate), plus a 100-credit Featured bonus on InstantAdPay from month 4 (enough for two Featured days and more). Either site alone keeps your streak going; both sites in a cycle is the bigger bonus. The bonus stacks on Five Dollar Friday and Wired Wednesday. Another $20+/$25+ package on a site you already refueled this cycle, before your next window opens, is a Pit Stop: half your current rate, once per site per cycle, and it does not count as the refuel. Miss the grace and the streak starts again, except for one free miss a year. Badges at your first refuel and at 3, 6 and 12 months. Each counted refuel also unlocks the Refuel Kit for that month: members-only banners (728x90, 300x250, 468x60, 160x600 and 1200x630) with your @name and a QR code to your own link drawn on them, in the Ads screen (with a Load into my Banner Spin button); they stay yours after the month, a 3-month streak adds an animated version and 6 months a custom-banners credit. Your first counted refuel also opens the Engine Room panel on the Ads screen: three plain dials (fuel left on both sites against this cycle’s refuel with days left at your burn, clicks this week with clicks per 1,000 credits, goals this month against a goal you set), warning lights, six part lights with setup links and one next move. Your refuel day, streak, next bonus and Pit Stop status are on the Refuel card on your Credits screen. Buy here: https://linkspin.app/credits. The full guide, with the flow step by step: https://linkspin.app/refuel. Bonus credits are ad credits that buy delivery, never cash, and no income is guaranteed.' },
{ id: 'support', title: 'Contact support or open a ticket', q: ['How do I contact support?', 'How do I talk to a real person?', 'How do I open a ticket?'], tags: ['support', 'help', 'ticket', 'contact'], { id: 'support', title: 'Contact support or open a ticket', q: ['How do I contact support?', 'How do I talk to a real person?', 'How do I open a ticket?'], tags: ['support', 'help', 'ticket', 'contact'],
re: SUPPORT_RE, handoff: true, re: SUPPORT_RE, handoff: true,
a: 'Open Help in your Control Room (' + SITE_URL + '/help) to send Marty a ticket, and his replies land right there and in your email. Not signed in or locked out? Use ' + SITE_URL + '/support. You can also tap "Send this to support" below and I will pass this chat along.' }, a: 'Open Help in your Control Room (' + SITE_URL + '/help) to send Marty a ticket, and his replies land right there and in your email. Not signed in or locked out? Use ' + SITE_URL + '/support. You can also tap "Send this to support" below and I will pass this chat along.' },
@@ -153,7 +153,7 @@ function seeds() {
// ---- facts for the AI fallback ---- // ---- facts for the AI fallback ----
// the refuel fact follows the refuelStreak switch: while it is off the assistant says it is not live yet (2026-10-24) // the refuel fact follows the refuelStreak switch: while it is off the assistant says it is not live yet (2026-10-24)
let REFUEL_ON = () => false; let REFUEL_ON = () => false;
function refuelFact() { return REFUEL_ON() ? "- MONTHLY REFUEL STREAK (built 2026-10-24, switch refuelStreak): ONE streak per member across InstantAdPay and LinkSpin. Counted refuel = a NEW package of $20+ on InstantAdPay or $25+ on LinkSpin by one of the member's own positions. First one sets the member's own refuel day; next due 30 days after the last counted refuel; window opens 5 days before the due day; 5-day grace after it; Central time. Missing the grace resets the streak, except one free miss per 365 days. Bonus (purchased-grade ad credits on the site where bought, credit log 'Refuel streak'): one engine m1 +10%, m2 +15%, m3 +20%, m4+ +25%; both sites in the same cycle m1 +15%, m2 +20%, m3 +30%, m4+ +40% each (first site topped up to the both rate, difference only) plus a 100-credit Featured bonus on InstantAdPay at m4+ (purchased-grade credits, any format). Stacks on Five Dollar Friday / Wired Wednesday. Pit Stop: a $20+/$25+ package between refuel days = half the current streak rate, once per site per cycle, not a counted refuel. Badges: Engine Started (first refuel), Refueled 3 / 6 / 12 months. ENGINE ROOM: unlocked by the first counted refuel (greyed 'Refuel to start your engine' before), IAP tab Engine Room + LinkSpin Ads screen panel, same data both sites: dials Fuel left (credits free + in campaigns on both sites vs this cycle's refuel credits incl. bonus, days left at the recent burn), Clicks this week (vs last week, clicks per 1,000 credits), Goals this month (conversion pixel conversions since the 1st Central vs the member's own goal); streak panel; warning lights (ads at 80%, ads out, refuel day coming, login slot open); six part lights (fuel, banner spin, spin link, page, testing, conversion tracking: green working, amber needs attention, grey not started with a Set it up link); one Next move button from simple rules. REFUEL KIT: each counted refuel unlocks the Central-month's members-only banner set for this site's own program (5 sizes, personalized server-side with @username + QR to the member's link; IAP: Promo tools card with Use in an IAP banner campaign; LinkSpin: Ads screen card with Load into my Banner Spin); kits stay usable after the month; streak month 3+ adds an animated GIF, month 6+ a BannerKitAI custom-banners credit (coming, entitlement saved). Reminders 5 days before, on the day, last call at the end of grace (email + on-site notice). The member's Refuel card (InstantAdPay Overview, LinkSpin Credits/Ads) shows refuel day, streak, next bonus, Pit Stop status. Ad credits only, never cash; never promise income. No auto-billing: the member chooses every package.\n" : '- MONTHLY REFUEL STREAK: built but NOT switched on yet. If asked, say it is coming and nothing counts toward it today; do not quote bonus rates or dates.\n'; } function refuelFact() { return REFUEL_ON() ? "- MONTHLY REFUEL STREAK (built 2026-10-24, switch refuelStreak): ONE streak per member across InstantAdPay and LinkSpin. Counted refuel = a NEW package of $20+ on InstantAdPay or $25+ on LinkSpin by one of the member's own positions. First one sets the member's own refuel day; next due 30 days after the last counted refuel; window opens 5 days before the due day; 5-day grace after it; Central time. Missing the grace resets the streak, except one free miss per 365 days. Bonus (purchased-grade ad credits on the site where bought, credit log 'Refuel streak'): one engine m1 +10%, m2 +15%, m3 +20%, m4+ +25%; both sites in the same cycle m1 +15%, m2 +20%, m3 +30%, m4+ +40% each (first site topped up to the both rate, difference only) plus a 100-credit Featured bonus on InstantAdPay at m4+ (purchased-grade credits, any format). Stacks on Five Dollar Friday / Wired Wednesday. Pit Stop: another $20+/$25+ package on a site already refueled this cycle, before the next window opens (the other site's first package in the cycle is the second engine instead) = half the current streak rate, once per site per cycle, not a counted refuel. Badges: Engine Started (first refuel), Refueled 3 / 6 / 12 months. ENGINE ROOM: unlocked by the first counted refuel (greyed 'Refuel to start your engine' before), IAP tab Engine Room + LinkSpin Ads screen panel, same data both sites: dials Fuel left (credits free + in campaigns on both sites vs this cycle's refuel credits incl. bonus, days left at the recent burn), Clicks this week (vs last week, clicks per 1,000 credits), Goals this month (conversion pixel conversions since the 1st Central vs the member's own goal); streak panel; warning lights (ads at 80%, ads out, refuel day coming, login slot open); six part lights (fuel, banner spin, spin link, page, testing, conversion tracking: green working, amber needs attention, grey not started with a Set it up link); one Next move button from simple rules. REFUEL KIT: each counted refuel unlocks the Central-month's members-only banner set for this site's own program (5 sizes, personalized server-side with @username + QR to the member's link; IAP: Promo tools card with Use in an IAP banner campaign; LinkSpin: Ads screen card with Load into my Banner Spin); kits stay usable after the month; streak month 3+ adds an animated GIF, month 6+ a BannerKitAI custom-banners credit (coming, entitlement saved). Reminders 5 days before, on the day, last call at the end of grace (email + on-site notice). The member's Refuel card (InstantAdPay Overview, LinkSpin Credits/Ads) shows refuel day, streak, next bonus, Pit Stop status. Either site alone keeps the streak (one-engine rates); both sites in one cycle = the bigger bonus; never say both are required. MEMBER GUIDE PAGE (public, 2026-10-24): /refuel on both sites (https://instantadpay.com/refuel and https://linkspin.app/refuel): the flow, the numbers, the member steps, leader coaching and FAQ; point members there for the full picture. Ad credits only, never cash; never promise income. No auto-billing: the member chooses every package.\n" : '- MONTHLY REFUEL STREAK: built but NOT switched on yet. If asked, say it is coming and nothing counts toward it today; do not quote bonus rates or dates.\n'; }
const REFUEL_OFF_ANSWER = 'The Monthly Refuel streak (bonus ad credits for refueling every month, more when you refuel both InstantAdPay and LinkSpin) is built but not switched on yet, so nothing counts toward it today. The bonuses running now are Five Dollar Friday and Wired Wednesday on InstantAdPay. When the streak goes live, your Refuel card will show your refuel day.'; const REFUEL_OFF_ANSWER = 'The Monthly Refuel streak (bonus ad credits for refueling every month, more when you refuel both InstantAdPay and LinkSpin) is built but not switched on yet, so nothing counts toward it today. The bonuses running now are Five Dollar Friday and Wired Wednesday on InstantAdPay. When the streak goes live, your Refuel card will show your refuel day.';
function systemPrompt(kbBlock) { function systemPrompt(kbBlock) {
return `You are the assistant on LinkSpin (${SITE_URL}), a link rotator, page builder and advertising network for marketers, a Crypto Team Build Network property. return `You are the assistant on LinkSpin (${SITE_URL}), a link rotator, page builder and advertising network for marketers, a Crypto Team Build Network property.
+13 -2
View File
@@ -93,7 +93,7 @@ function build(o) {
else next = { key: 'cruise', label: 'Keep it running', why: 'Every part is lit. Check again on your refuel day.', link: LINKS.iapCampaigns }; else next = { key: 'cruise', label: 'Keep it running', why: 'Every part is lit. Check again on your refuel day.', link: LINKS.iapCampaigns };
return { return {
on: true, locked, fuel, clicks, goals, on: true, locked, fuel, clicks, goals,
streak: { active: !!rf.active, months: rf.streak || 0, best: rf.best || 0, refuelDay: rf.refuelDayLabel || null, graceEnd: rf.graceLabel || null, windowOpen: !!rf.windowOpen, next: rf.next || null, pitStop: rf.pitStop || null, freeMiss: rf.freeMiss || null, both: !!(cy && cy.both) }, streak: { active: !!rf.active, months: rf.streak || 0, best: rf.best || 0, refuelDay: rf.refuelDayLabel || null, graceEnd: rf.graceLabel || null, windowOpen: !!rf.windowOpen, next: rf.next || null, pitStop: rf.pitStop || null, freeMiss: rf.freeMiss || null, both: !!(cy && cy.both), note: streakNote(rf, cy) },
warnings, parts, next, sites: { iap: !!(o.iap && o.iap.ok), linkspin: !!(o.ls && o.ls.ok) }, at: now, warnings, parts, next, sites: { iap: !!(o.iap && o.iap.ok), linkspin: !!(o.ls && o.ls.ok) }, at: now,
}; };
} }
@@ -134,4 +134,15 @@ async function facts(d, email) {
return out; return out;
} }
module.exports = { build, facts, burnPerDay, monthStartCT, LINKS }; // the streak panel's one line about the next refuel (2026-10-24): once BOTH sites are refueled this cycle it says so,
// and only a cycle with one site done asks for the other one, by name
function streakNote(rf, cy) {
const nx = rf && rf.next; if (!rf || !rf.active || !nx) return '';
if (rf.windowOpen) return 'Window open: next refuel +' + nx.single + '% (+' + nx.both + '% on each with both).';
const iapDone = !!(cy && cy.iap && cy.iap.refueled), lsDone = !!(cy && cy.linkspin && cy.linkspin.refueled);
if ((cy && cy.both) || (iapDone && lsDone)) return 'Both engines fueled this cycle: +' + (nx.secondEngine || (cy.iap && cy.iap.pct) || 0) + '% on each.';
if (nx.secondEngine) return 'Refuel ' + (iapDone ? 'LinkSpin' : 'InstantAdPay') + ' this cycle for +' + nx.secondEngine + '% on both.';
return '';
}
module.exports = { streakNote, build, facts, burnPerDay, monthStartCT, LINKS };
+26 -3
View File
@@ -24,7 +24,7 @@ async function load(d) { // { kit, bannerspin, content, uploadsDir, email, month
if (r.error) { results.push({ size, error: r.error }); continue; } if (r.error) { results.push({ size, error: r.error }); continue; }
if (r.bytes > bannerspin.MAX_BYTES) { results.push({ size, error: 'The ' + size + ' file is over 150 KB, so Banner Spin cannot take it. Use the still version.' }); continue; } if (r.bytes > bannerspin.MAX_BYTES) { results.push({ size, error: 'The ' + size + ' file is over 150 KB, so Banner Spin cannot take it. Use the still version.' }); continue; }
let spin = mine.find(x => x.size === size && x.banners.length < t.banners && !x.adminOff), created = false; let spin = mine.find(x => x.size === size && x.banners.length < t.banners && !x.adminOff), created = false;
if (!spin) { const c = await bannerspin.create(email, { name: 'Refuel Kit ' + size, size, fallback: mk.link || '' }); if (c.error) { results.push({ size, error: c.error }); continue; } spin = c.spin; created = true; } if (!spin) { const c = await bannerspin.create(email, { name: 'Refuel Kit ' + size, size, fallback: mk.link || '' }); if (c.error) { results.push(Object.assign({ size, error: c.error }, mine.length >= t.spins ? { full: true } : {})); continue; } spin = c.spin; created = true; }
const name = crypto.randomBytes(12).toString('hex') + '.' + r.ext; const name = crypto.randomBytes(12).toString('hex') + '.' + r.ext;
fs.writeFileSync(path.join(d.uploadsDir, name), fs.readFileSync(r.file)); fs.writeFileSync(path.join(d.uploadsDir, name), fs.readFileSync(r.file));
const mime = { png: 'image/png', jpg: 'image/jpeg', gif: 'image/gif' }[r.ext]; const mime = { png: 'image/png', jpg: 'image/jpeg', gif: 'image/gif' }[r.ext];
@@ -33,6 +33,29 @@ async function load(d) { // { kit, bannerspin, content, uploadsDir, email, month
const add = await bannerspin.addBanner(email, spin.id, { image: '/uploads/' + name, target: mk.link, label }); const add = await bannerspin.addBanner(email, spin.id, { image: '/uploads/' + name, target: mk.link, label });
results.push(add.error ? { size, error: add.error } : { size, spinId: spin.id, spin: spin.name, created }); results.push(add.error ? { size, error: add.error } : { size, spinId: spin.id, spin: spin.name, created });
} }
return { ok: true, results }; return { ok: true, results, message: summary(results, t) };
} }
module.exports = { load }; // one plain sentence set for the member (2026-10-24): what loaded, what did not and why, and what to do about it. A Starter
// tier holds 2 Banner Spins, so a full kit loads two sizes; that is the rule, and the message has to say so up front.
const join = a => a.length <= 1 ? a.join('') : a.slice(0, -1).join(', ') + ' and ' + a[a.length - 1];
function summary(results, t) {
const ok = results.filter(x => !x.error), full = results.filter(x => x.error && x.full), bad = results.filter(x => x.error && !x.full);
const out = [];
if (ok.length) out.push('Loaded: ' + join(ok.map(x => x.size + (x.already ? ' (already in "' + x.spin + '")' : x.created ? ' (new Banner Spin "' + x.spin + '")' : ' (added to "' + x.spin + '")'))) + '.');
if (full.length) out.push('Not loaded: ' + join(full.map(x => x.size)) + '. Your ' + t.label + ' tier holds ' + t.spins + ' Banner Spins, one size each, and they are all in use. Nothing is broken: pick the sizes you want most and load those, or delete a Banner Spin under Links to make room.'
+ (t.next ? ' ' + t.next.label + ' (' + t.next.need + ') holds ' + t.next.spins + '.' : ''));
for (const x of bad) out.push(x.size + ': ' + x.error);
if (!results.length) out.push('Pick at least one size to load.');
return out.join(' ');
}
// what the Refuel Kit panel needs to pre-pick sizes: the tier, Banner Spins in use, and the sizes that fit (sizes with a
// Banner Spin that has room first, then new ones in order of use: 728x90, 300x250, 468x60, 160x600)
const PREFER = ['728x90', '300x250', '468x60', '160x600'];
async function room(email, bannerspin) {
const t = await bannerspin.tierFor(email); if (!t.ok) return { ok: false, reason: t.reason };
const mine = await bannerspin.list(email); const sizes = PREFER.filter(z => bannerspin.SIZES[z]);
const fits = sizes.filter(z => mine.some(x => x.size === z && x.banners.length < t.banners && !x.adminOff));
let free = Math.max(0, t.spins - mine.length); const suggested = sizes.filter(z => fits.includes(z) || (free > 0 && free-- > 0));
return { ok: true, tier: t.label, spins: t.spins, used: mine.length, next: t.next, sizes, suggested, all: suggested.length >= sizes.length };
}
module.exports = { load, room, summary };
+2 -2
View File
@@ -76,7 +76,7 @@
</div> </div>
<script src="/assets/cr-shell.js?v=20261023c"></script> <script src="/assets/cr-shell.js?v=20261023c"></script>
<script src="/assets/ads-screen.js?v=20261023q"></script> <script src="/assets/ads-screen.js?v=20261023q"></script>
<script src="/assets/fuel.js?v=20261024kit"></script> <script src="/assets/fuel.js?v=20261024rg"></script>
<script src="/assets/engine-room.js?v=20261024er"></script> <script src="/assets/engine-room.js?v=20261024rg"></script>
</body> </body>
</html> </html>
+4 -3
View File
@@ -35,14 +35,15 @@
+ dial(c.pct, n(c.week), 'Clicks this week<br>' + clickCap, 'Clicks this week: ' + n(c.week) + (c.prevWeek ? ', last week ' + n(c.prevWeek) : '') + (c.per1000 != null ? ', ' + c.per1000 + ' per 1,000 credits' : ''), false) + dial(c.pct, n(c.week), 'Clicks this week<br>' + clickCap, 'Clicks this week: ' + n(c.week) + (c.prevWeek ? ', last week ' + n(c.prevWeek) : '') + (c.per1000 != null ? ', ' + c.per1000 + ' per 1,000 credits' : ''), false)
+ dial(g.pct, g.month == null ? '?' : n(g.month), 'Goals this month<br>' + goalCap, 'Goals this month: ' + (g.month == null ? 'unknown' : g.month) + (g.target ? ' of ' + g.target : ''), false) + '</div>'; + dial(g.pct, g.month == null ? '?' : n(g.month), 'Goals this month<br>' + goalCap, 'Goals this month: ' + (g.month == null ? 'unknown' : g.month) + (g.target ? ' of ' + g.target : ''), false) + '</div>';
const streak = '<div class="er-streak"><p class="er-h">Streak</p>' + (s.active ? '<b>' + s.months + ' month' + (s.months === 1 ? '' : 's') + '</b>' + (s.both ? ', both engines this cycle' : '') + '. Refuel day <b>' + esc(s.refuelDay) + '</b>, grace to ' + esc(s.graceEnd) + ' (Central).' const streak = '<div class="er-streak"><p class="er-h">Streak</p>' + (s.active ? '<b>' + s.months + ' month' + (s.months === 1 ? '' : 's') + '</b>' + (s.both ? ', both engines this cycle' : '') + '. Refuel day <b>' + esc(s.refuelDay) + '</b>, grace to ' + esc(s.graceEnd) + ' (Central).'
+ (s.next ? (s.windowOpen ? ' Window open: next refuel +' + s.next.single + '% (+' + s.next.both + '% on each with both).' : s.next.secondEngine ? ' Refuel the other site this cycle for +' + s.next.secondEngine + '% on both.' : '') : '') + (typeof s.note === 'string' ? (s.note ? ' ' + esc(s.note) : '') : s.next ? (s.windowOpen ? ' Window open: next refuel +' + s.next.single + '% (+' + s.next.both + '% on each with both).' : s.both ? ' Both engines fueled this cycle.' : s.next.secondEngine ? ' Refuel the other site this cycle for +' + s.next.secondEngine + '% on both.' : '') : '') // s.note from engine.js (2026-10-24: no 'refuel the other site' once both are done)
+ (s.pitStop ? ' Pit Stop: +' + s.pitStop.pct + '% ' + (s.pitStop.iap || s.pitStop.linkspin ? 'available' : 'used') + ' this cycle.' : '') + (s.best > s.months ? ' Best: ' + s.best + '.' : '') : 'Not started.') + '</div>'; + (s.pitStop ? ' Pit Stop: +' + s.pitStop.pct + '% ' + (s.pitStop.iap || s.pitStop.linkspin ? 'available' : 'used') + ' this cycle.' : '') + (s.best > s.months ? ' Best: ' + s.best + '.' : '') : 'Not started.') + '</div>';
const warns = '<div><p class="er-h">Warning lights</p><div class="er-row">' + d.warnings.map(w => '<span class="er-light" title="' + esc(w.note) + '"><span class="er-dot' + (w.on ? ' on' : '') + '" aria-hidden="true"></span>' + esc(w.label) + ': ' + (w.on ? '<b>on</b>' : 'off') + '<span class="sr" style="position:absolute;left:-9999px"> (' + esc(w.note) + ')</span></span>').join('') + '</div></div>'; const warns = '<div><p class="er-h">Warning lights</p><div class="er-row">' + d.warnings.map(w => '<span class="er-light" title="' + esc(w.note) + '"><span class="er-dot' + (w.on ? ' on' : '') + '" aria-hidden="true"></span>' + esc(w.label) + ': ' + (w.on ? '<b>on</b>' : 'off') + '<span class="sr" style="position:absolute;left:-9999px"> (' + esc(w.note) + ')</span></span>').join('') + '</div></div>';
const parts = '<div><p class="er-h">The six parts</p><div class="er-parts">' + d.parts.map(p => '<div class="er-part"><b><span class="er-dot ' + p.state + '" aria-hidden="true"></span>' + esc(p.label) + ' <span style="font-weight:400;opacity:.75">(' + (p.state === 'green' ? 'working' : p.state === 'amber' ? 'needs attention' : 'not started') + ')</span></b><span>' + esc(p.note) + '</span>' const parts = '<div><p class="er-h">The six parts</p><div class="er-parts">' + d.parts.map(p => '<div class="er-part"><b><span class="er-dot ' + p.state + '" aria-hidden="true"></span>' + esc(p.label) + ' <span style="font-weight:400;opacity:.75">(' + (p.state === 'green' ? 'working' : p.state === 'amber' ? 'needs attention' : 'not started') + ')</span></b><span>' + esc(p.note) + '</span>'
+ (p.state !== 'green' && p.link ? '<a href="' + esc(sameSite(p.link)) + '">' + (p.state === 'grey' ? 'Set it up' : 'Fix it') + '</a>' : '') + '</div>').join('') + '</div></div>'; + (p.state !== 'green' && p.link ? '<a href="' + esc(sameSite(p.link)) + '">' + (p.state === 'grey' ? 'Set it up' : 'Fix it') + '</a>' : '') + '</div>').join('') + '</div></div>';
const next = '<div class="er-next"><div class="w"><p class="er-h">Next move</p><b>' + esc(d.next.label) + '</b><br>' + esc(d.next.why) + '</div><a class="btn' + (d.locked ? '' : ' pri') + '" href="' + esc(sameSite(d.next.link)) + '">' + esc(d.next.label) + '</a></div>'; const next = '<div class="er-next"><div class="w"><p class="er-h">Next move</p><b>' + esc(d.next.label) + '</b><br>' + esc(d.next.why) + '</div><a class="btn' + (d.locked ? '' : ' pri') + '" href="' + esc(sameSite(d.next.link)) + '">' + esc(d.next.label) + '</a></div>';
if (d.locked) return '<div class="er">' + next + '<div class="er-locked" aria-hidden="true">' + dials + warns + parts + '</div></div>'; const how = '<p style="margin:0;font-size:12.5px"><a href="/refuel" target="_blank" rel="noopener">How the Refuel streak works</a></p>'; // the member guide (2026-10-24)
return '<div class="er">' + next + dials + streak + warns + parts + '<p class="small muted" style="margin:0;font-size:12px;opacity:.75">Numbers cover InstantAdPay and LinkSpin together' + (d.sites && (!d.sites.iap || !d.sites.linkspin) ? ' (one site did not answer just now)' : '') + '. Credits buy ad delivery only.</p></div>'; if (d.locked) return '<div class="er">' + next + how + '<div class="er-locked" aria-hidden="true">' + dials + warns + parts + '</div></div>';
return '<div class="er">' + next + dials + streak + how + warns + parts + '<p class="small muted" style="margin:0;font-size:12px;opacity:.75">Numbers cover InstantAdPay and LinkSpin together' + (d.sites && (!d.sites.iap || !d.sites.linkspin) ? ' (one site did not answer just now)' : '') + '. Credits buy ad delivery only.</p></div>';
} }
async function load(fresh) { async function load(fresh) {
try { try {
+20 -6
View File
@@ -5,16 +5,18 @@
const esc = s => String(s == null ? '' : s).replace(/[&<>"']/g, c => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[c])); const esc = s => String(s == null ? '' : s).replace(/[&<>"']/g, c => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[c]));
const n = v => Number(v || 0).toLocaleString('en-US'); const n = v => Number(v || 0).toLocaleString('en-US');
window.FUEL = window.FUEL || {}; window.FUEL = window.FUEL || {};
const HOW = '<p class="muted" style="margin:10px 0 0"><a href="/refuel" target="_blank" rel="noopener">How the Refuel streak works</a></p>'; // the member guide (2026-10-24)
function site(name, s, minUsd) { function site(name, s, minUsd) {
return s && s.refueled ? '<div class="row"><span>' + name + '</span><b>+' + s.pct + '% &middot; ' + n(s.bonus) + ' credits</b></div>' const row = '<div class="row" style="display:flex;justify-content:space-between;align-items:baseline;gap:4px 12px;flex-wrap:wrap;padding:3px 0"><span>' + name + ':</span> '; // own spacing: the Ads screen has no .row rule (2026-10-24)
: '<div class="row"><span>' + name + '</span><span class="muted">not yet ($' + minUsd + '+ counts)</span></div>'; return s && s.refueled ? row + '<b>+' + s.pct + '% &middot; ' + n(s.bonus) + ' bonus credits</b></div>'
: row + '<span class="muted">not yet ($' + minUsd + '+ counts)</span></div>';
} }
function body(v) { function body(v) {
if (v.error) return '<p class="muted">' + esc(v.error) + '</p>'; if (v.error) return '<p class="muted">' + esc(v.error) + '</p>';
if (!v.active) { if (!v.active) {
return '<p style="margin:0 0 8px">' + (v.started ? 'Your last streak ended. ' : '') + 'A package of <b>$' + v.minUsd.linkspin + ' or more</b> here, or $' + v.minUsd.iap + '+ on InstantAdPay, ' + (v.started ? 'starts it again' : 'starts your monthly refuel streak and sets your own refuel day') + '.</p>' return '<p style="margin:0 0 8px">' + (v.started ? 'Your last streak ended. ' : '') + 'A package of <b>$' + v.minUsd.linkspin + ' or more</b> here, or $' + v.minUsd.iap + '+ on InstantAdPay, ' + (v.started ? 'starts it again' : 'starts your monthly refuel streak and sets your own refuel day') + '.</p>'
+ '<p class="muted" style="margin:0 0 10px">Bonus ad credits: month 1 +' + v.ladder.single[0] + '%, then +' + v.ladder.single.slice(1).join('%, +') + '%. Refuel both sites in the same cycle and each gets +' + v.ladder.both.join('%, +') + '%.</p>' + '<p class="muted" style="margin:0 0 10px">Bonus ad credits: month 1 +' + v.ladder.single[0] + '%, then +' + v.ladder.single.slice(1).join('%, +') + '%. Refuel both sites in the same cycle and each gets +' + v.ladder.both.join('%, +') + '%.</p>'
+ '<a class="btn pri" href="/credits">Start my streak</a>'; + '<a class="btn pri" href="/credits">Start my streak</a>' + HOW;
} }
const c = v.cycle || {}; const c = v.cycle || {};
let h = v.windowOpen let h = v.windowOpen
@@ -24,7 +26,7 @@
if (!v.windowOpen && c.month && !c.both) h += '<p class="muted" style="margin:0 0 8px">Refuel ' + (c.linkspin && c.linkspin.refueled ? 'InstantAdPay ($' + v.minUsd.iap + '+)' : 'LinkSpin ($' + v.minUsd.linkspin + '+)') + ' before ' + esc(v.opensLabel) + ' and both sites move to +' + v.next.secondEngine + '%.</p>'; if (!v.windowOpen && c.month && !c.both) h += '<p class="muted" style="margin:0 0 8px">Refuel ' + (c.linkspin && c.linkspin.refueled ? 'InstantAdPay ($' + v.minUsd.iap + '+)' : 'LinkSpin ($' + v.minUsd.linkspin + '+)') + ' before ' + esc(v.opensLabel) + ' and both sites move to +' + v.next.secondEngine + '%.</p>';
if (v.pitStop && (v.pitStop.linkspin || v.pitStop.usedLinkspin)) h += '<p class="muted" style="margin:0 0 8px"><b>Pit Stop</b> ' + (v.pitStop.linkspin ? 'available here: +' + v.pitStop.pct + '% on a $' + v.minUsd.linkspin + '+ top-up, once this cycle. It does not count as your refuel.' : 'used here this cycle.') + '</p>'; if (v.pitStop && (v.pitStop.linkspin || v.pitStop.usedLinkspin)) h += '<p class="muted" style="margin:0 0 8px"><b>Pit Stop</b> ' + (v.pitStop.linkspin ? 'available here: +' + v.pitStop.pct + '% on a $' + v.minUsd.linkspin + '+ top-up, once this cycle. It does not count as your refuel.' : 'used here this cycle.') + '</p>';
h += '<p class="muted" style="margin:0 0 10px">' + (v.freeMiss.available ? 'One free miss left this year.' : 'Free miss for this year used.') + '</p>'; h += '<p class="muted" style="margin:0 0 10px">' + (v.freeMiss.available ? 'One free miss left this year.' : 'Free miss for this year used.') + '</p>';
return h + '<a class="btn' + (v.windowOpen ? ' pri' : '') + '" href="/credits">' + (v.windowOpen ? 'Refuel now' : 'Buy a package') + '</a>'; return h + '<a class="btn' + (v.windowOpen ? ' pri' : '') + '" href="/credits">' + (v.windowOpen ? 'Refuel now' : 'Buy a package') + '</a>' + HOW;
} }
async function load() { async function load() {
const panel = $('rfPanel'); if (!panel) return; const panel = $('rfPanel'); if (!panel) return;
@@ -42,10 +44,20 @@
// ---- the Refuel Kit: members-only LinkSpin banners with your @name and a QR to your link ---- // ---- the Refuel Kit: members-only LinkSpin banners with your @name and a QR to your link ----
const post = async (url, body) => { const r = await fetch(url, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body || {}) }); const j = await r.json().catch(() => ({})); if (!r.ok || j.error) throw new Error(j.error || ('HTTP ' + r.status)); return j; }; const post = async (url, body) => { const r = await fetch(url, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body || {}) }); const j = await r.json().catch(() => ({})); if (!r.ok || j.error) throw new Error(j.error || ('HTTP ' + r.status)); return j; };
const note = (el, m) => { if (el) el.textContent = m; }; const note = (el, m) => { if (el) el.textContent = m; };
// Banner Spin sizes to load (2026-10-24): each size needs its own Banner Spin, and a Starter tier holds 2, so the sizes that
// fit are ticked first (728x90 and 300x250 when nothing is set up yet) and the panel says why before the member presses Load
function spinPick(k, d) {
const R = d.spinRoom; const sizes = k.sizes.filter(s => s.ready && (!R || !R.sizes || R.sizes.includes(s.size))).map(s => s.size).filter(z => z !== '1200x630');
if (!sizes.length) return '';
const pick = R && R.ok && R.suggested ? R.suggested : sizes;
const note = R && R.ok && !R.all ? '<p class="muted" style="margin:0 0 6px">Each size goes into its own Banner Spin. Your ' + esc(R.tier) + ' tier holds ' + R.spins + ' (' + R.used + ' in use), so the sizes that fit are ticked. Untick one to load another instead' + (R.next ? ', or reach ' + esc(R.next.label) + ' (' + esc(R.next.need) + ') for ' + R.next.spins : '') + '.</p>' : '';
return note + '<div style="display:flex;gap:6px 14px;flex-wrap:wrap;margin:0 0 8px">' + sizes.map(z => '<label class="muted" style="display:flex;gap:4px;align-items:center"><input type="checkbox" data-ksize="' + esc(k.month) + '" value="' + z + '"' + (pick.includes(z) ? ' checked' : '') + '> ' + z + '</label>').join('') + '</div>';
}
function kitHtml(k, d) { function kitHtml(k, d) {
const head = '<div style="display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap"><b>' + esc(k.label) + (k.theme ? ' &middot; ' + esc(k.theme) : '') + '</b><span class="muted">' + (k.unlocked ? 'yours' : 'locked') + '</span></div>'; const head = '<div style="display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap"><b>' + esc(k.label) + (k.theme ? ' &middot; ' + esc(k.theme) : '') + '</b><span class="muted">' + (k.unlocked ? 'yours' : 'locked') + '</span></div>';
if (!k.unlocked) return head + '<p class="muted" style="margin:6px 0 0">Your next counted refuel unlocks it: $25+ here or $20+ on InstantAdPay' + (d.nextRefuel ? ' (refuel day ' + esc(d.nextRefuel) + ')' : '') + '.</p>'; if (!k.unlocked) return head + '<p class="muted" style="margin:6px 0 0">Your next counted refuel unlocks it: $25+ here or $20+ on InstantAdPay' + (d.nextRefuel ? ' (refuel day ' + esc(d.nextRefuel) + ')' : '') + '.</p>';
return head + '<p class="muted" style="margin:6px 0">Your ' + esc(d.name || 'name') + ' and a QR to your link on every banner. Yours to keep after the month.</p>' return head + '<p class="muted" style="margin:6px 0">Your ' + esc(d.name || 'name') + ' and a QR to your link on every banner. Yours to keep after the month.</p>'
+ spinPick(k, d)
+ '<div style="display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px"><button class="btn pri" type="button" data-kbs="' + esc(k.month) + '">Load into my Banner Spin</button>' + '<div style="display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px"><button class="btn pri" type="button" data-kbs="' + esc(k.month) + '">Load into my Banner Spin</button>'
+ (k.gif ? '<label class="muted" style="display:flex;gap:4px;align-items:center"><input type="checkbox" data-kgif="' + esc(k.month) + '"> animated</label>' : '') + '</div>' + (k.gif ? '<label class="muted" style="display:flex;gap:4px;align-items:center"><input type="checkbox" data-kgif="' + esc(k.month) + '"> animated</label>' : '') + '</div>'
+ '<div class="muted" data-kres="' + esc(k.month) + '" role="status"></div>' + '<div class="muted" data-kres="' + esc(k.month) + '" role="status"></div>'
@@ -64,8 +76,10 @@
const m = b.dataset.kbs; const out = panel.querySelector('[data-kres="' + m + '"]'); const g = panel.querySelector('[data-kgif="' + m + '"]'); const m = b.dataset.kbs; const out = panel.querySelector('[data-kres="' + m + '"]'); const g = panel.querySelector('[data-kgif="' + m + '"]');
b.disabled = true; note(out, 'Drawing your banners and loading them...'); b.disabled = true; note(out, 'Drawing your banners and loading them...');
try { try {
const r = await post('/api/my/kits/bannerspin', { month: m, variant: g && g.checked ? 'gif' : 'still' }); const boxes = panel.querySelectorAll('[data-ksize="' + m + '"]'); const sizes = Array.prototype.filter.call(boxes, c => c.checked).map(c => c.value);
note(out, r.results.map(x => x.size + ': ' + (x.error ? x.error : x.already ? 'already in "' + x.spin + '"' : (x.created ? 'new Banner Spin "' : 'added to "') + x.spin + '"')).join(' | ') + ' (see Banner Spin under Links)'); if (boxes.length && !sizes.length) { note(out, 'Tick at least one size to load.'); b.disabled = false; return; }
const r = await post('/api/my/kits/bannerspin', Object.assign({ month: m, variant: g && g.checked ? 'gif' : 'still' }, boxes.length ? { sizes } : {}));
note(out, (r.message || r.results.map(x => x.size + ': ' + (x.error ? x.error : x.already ? 'already in "' + x.spin + '"' : (x.created ? 'new Banner Spin "' : 'added to "') + x.spin + '"')).join(' | ')) + ' See Banner Spin under Links.');
} catch (e) { note(out, e.message); } } catch (e) { note(out, e.message); }
b.disabled = false; b.disabled = false;
})); }));
+15
View File
@@ -0,0 +1,15 @@
// Fuel Your Offers guide page (/refuel, 2026-10-24). Inside a traffic-exchange frame the session and sponsor cookies are
// dropped, so sign-in, join, member screens and off-site links open in a new tab, and /join carries the ?ref= this page
// was opened with.
(function () {
var framed = false; try { framed = window.top !== window.self; } catch (e) { framed = true; }
if (!framed) return;
var ref = ''; try { ref = new URLSearchParams(location.search).get('ref') || ''; } catch (e) {}
ref = String(ref).toLowerCase().replace(/[^a-z0-9_]/g, '').slice(0, 40);
document.querySelectorAll('a[href]').forEach(function (a) {
var h = a.getAttribute('href') || ''; if (h.charAt(0) === '#') return;
var member = a.host === location.host && /^\/(join|credits|ads|links|signin|login)(\/|$)/.test(a.pathname);
if (member && ref && a.pathname === '/join' && !/[?&]ref=/.test(a.search)) a.search = (a.search ? a.search + '&' : '?') + 'ref=' + ref;
if (member || a.host !== location.host) { a.target = '_blank'; a.rel = 'noopener'; }
});
})();
Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

+1 -1
View File
@@ -85,6 +85,6 @@
<script src="/assets/wallet.js?v=20261021a"></script> <script src="/assets/wallet.js?v=20261021a"></script>
<script src="/assets/cr-shell.js?v=20261023c"></script> <script src="/assets/cr-shell.js?v=20261023c"></script>
<script src="/assets/credits-screen.js?v=20261019pos"></script> <script src="/assets/credits-screen.js?v=20261019pos"></script>
<script src="/assets/fuel.js?v=20261024kit"></script> <script src="/assets/fuel.js?v=20261024rg"></script>
</body> </body>
</html> </html>
+270
View File
@@ -0,0 +1,270 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Fuel Your Offers: the Monthly Refuel guide | LinkSpin</title>
<meta name="description" content="How the Monthly Refuel streak works on LinkSpin: refuel your ads every month with a $25+ package under Credits (or $20+ on InstantAdPay) and your bonus ad credits climb from +10% to +40%. The flow, the numbers and the member steps.">
<link rel="canonical" href="{{SITE_URL}}/refuel">
<meta property="og:type" content="website"><meta property="og:site_name" content="LinkSpin">
<meta property="og:url" content="{{SITE_URL}}/refuel">
<meta property="og:title" content="Fuel Your Offers: refuel every month, watch your bonus climb">
<meta property="og:description" content="The Monthly Refuel streak on LinkSpin and InstantAdPay: bonus ad credits from +10% up to +40% when you refuel your ads every month. Here is how it works, step by step.">
<meta property="og:image" content="{{SITE_URL}}/banners/fuel-your-offers-1200x675.jpg">
<meta property="og:image:width" content="1200"><meta property="og:image:height" content="675">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Fuel Your Offers: refuel every month, watch your bonus climb">
<meta name="twitter:description" content="Bonus ad credits from +10% up to +40% when you refuel your ads every month on LinkSpin and InstantAdPay.">
<meta name="twitter:image" content="{{SITE_URL}}/banners/fuel-your-offers-1200x675.jpg">
<meta name="theme-color" content="#0B1424">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700;800&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="/assets/pub.css?v=20261007b">
<style>
.rg{max-width:980px}
.rg p{margin:0}
.rg-banner{display:block;width:100%;height:auto;border-radius:8px;border:1px solid var(--line);box-shadow:var(--sh)}
.rg-gauge{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rg-gauge .tile{padding:12px 14px}
.rg-gauge b{display:block;font:700 26px var(--display);color:var(--sig-2);line-height:1.1;font-variant-numeric:tabular-nums}
.rg-gauge span{font-size:12.5px;color:var(--muted)}
.rg-gauge .tile:last-child{background:var(--sig-soft);border-color:var(--sig)}
.pb{padding:14px 16px}
/* the flow: one spine down the page, decisions open into branch cards that stack on a phone */
.rg-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12.5px;color:var(--muted);margin:0 0 12px}
.rg-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px;border:1px solid}
.rg-flow{list-style:none;margin:0;padding:0;display:grid}
.rg-flow > li{display:grid;gap:10px;position:relative;padding-bottom:30px}
.rg-flow > li:not(:last-child)::after{content:"";position:absolute;left:22px;bottom:4px;width:2px;height:22px;background:var(--line-strong)}
.rg-flow > li:not(:last-child)::before{content:"";position:absolute;left:17px;bottom:0;border:6px solid transparent;border-top-color:var(--line-strong);border-bottom:0}
.rg-n{border:1px solid var(--line-strong);border-radius:8px;padding:10px 13px;font-size:14px;line-height:1.45;background:var(--panel);color:var(--ink-2);min-width:0}
.rg-n b{display:block;font-weight:800;color:var(--ink);margin-bottom:2px}
.rg-n .k{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font:700 12px var(--mono);margin-right:6px;vertical-align:1px;background:var(--chrome);color:#fff}
.rg-n.start{border-color:var(--accent);background:var(--accent-soft)}
.rg-n.ask{border-style:dashed;border-color:var(--ink-2)}
.rg-n.go{border-color:var(--ok);background:var(--ok-soft)}
.rg-n.fuel{border-color:var(--sig);background:var(--sig-soft)}
.rg-n.stop{border-color:var(--line-strong);background:var(--panel-2);color:var(--muted)}
.rg-n .to{display:block;margin-top:4px;font:500 11.5px var(--mono);color:var(--muted)}
.rg-br{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;padding-left:18px;border-left:2px solid var(--line-strong);margin-left:22px}
.rg-b{display:grid;gap:6px;align-content:start;min-width:0}
.rg-e{font:700 11px var(--mono);letter-spacing:.04em;color:var(--accent-hi)}
.rg-b .rg-br{margin-left:4px;padding-left:12px}
/* numbers */
.rg-tbl table{width:100%;border-collapse:collapse;font-size:14px}
.rg-tbl th,.rg-tbl td{padding:9px 14px;text-align:left;border-bottom:1px solid var(--line)}
.rg-tbl th{font:700 10.5px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.rg-tbl td.n,.rg-tbl th.n{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}
.rg-tbl td.both{color:var(--sig-2);font-weight:700}
.rg-tbl tr:last-child td{border-bottom:0}
/* member route */
.rg-route{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:12px}
.rg-route li{counter-increment:s;display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}
.rg-route li:last-child{border-bottom:0}
.rg-route li::before{content:counter(s);font:700 20px var(--display);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#FF7A32,var(--sig));color:#fff}
.rg-route h3{font:700 17px var(--display);letter-spacing:.04em;text-transform:uppercase;margin:0 0 4px;color:var(--ink)}
.rg-route p{font-size:14px;color:var(--ink-2);margin:0 0 8px}
.rg-where{display:flex;flex-wrap:wrap;gap:6px}
.rg-chip{font:700 11.5px var(--body);padding:3px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent-hi);border:1px solid var(--accent-dim)}
.rg-chip.iap{background:var(--ok-soft);color:var(--ok);border-color:#9fd9bf}
.rg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.rg-two .pb p{font-size:14px;color:var(--ink-2)}
.rg-coach ul{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14px;color:var(--ink-2)}
.rg-faq{display:grid;gap:14px;margin:0}
.rg-faq dt{font-weight:800;color:var(--ink)}
.rg-faq dd{margin:4px 0 0;color:var(--ink-2);font-size:14px}
@media (max-width:640px){.rg-gauge{grid-template-columns:repeat(2,minmax(0,1fr))}.rg h1{font-size:34px!important}.rg-br{margin-left:10px;padding-left:12px}}
</style>
</head>
<body>
<header class="top">
<div class="wrap">
<a class="brand" href="/" aria-label="LinkSpin home"><span class="mark"></span><span class="word">Link<b>Spin</b></span></a>
<span class="eyebrow" style="color:var(--chrome-sub);padding-left:14px;border-left:1px solid var(--chrome-line)">Fuel Your Offers</span>
<span class="grow"></span>
<a href="/credits" class="btn ghost">Buy a package</a>
<a href="/join" class="btn pri">Start free</a>
</div>
</header>
<main class="sec" style="padding-top:44px">
<div class="wrap rg" style="display:grid;gap:22px">
<div class="text" style="display:grid;gap:12px">
<span class="eyebrow">LinkSpin + InstantAdPay · live since October 24, 2026</span>
<h1 class="disp" style="margin:0;font-size:44px;line-height:1.04">Fuel Your Offers: refuel every month, watch your bonus climb</h1>
<p style="font-size:16px;color:var(--ink-2)">Your ads run on fuel. Refuel them every month with a new LinkSpin package under Credits and the Monthly Refuel streak adds bonus ad credits that climb each month, a fresh Refuel Kit loads straight into your Banner Spin, and the Engine Room at the top of Ads tells you the next move. LinkSpin alone keeps your streak going. Refuel InstantAdPay too in the same cycle and the bonus is bigger on both.</p>
<div class="ctas"><a class="btn pri" href="/join">Start free</a><a class="btn blue" href="/credits">Already a member? Buy a package</a></div>
</div>
<img class="rg-banner" src="/banners/fuel-your-offers-1200x675.jpg" alt="Fuel Your Offers: refuel every month, watch your bonus climb." width="1200" height="675">
<div class="rg-gauge" aria-label="Bonus when you refuel both sites, by streak month">
<div class="tile"><b>+15%</b><span>Month 1, both engines</span></div>
<div class="tile"><b>+20%</b><span>Month 2</span></div>
<div class="tile"><b>+30%</b><span>Month 3</span></div>
<div class="tile"><b>+40%</b><span>Month 4 and on, + 100 Featured credits on InstantAdPay</span></div>
</div>
<div class="panel">
<div class="ph"><h2>What happens when you buy a package</h2><span class="meta">the flow</span></div>
<div class="pb">
<div class="rg-legend">
<span><i style="background:var(--ok-soft);border-color:var(--ok)"></i>Streak moves forward</span>
<span><i style="background:var(--sig-soft);border-color:var(--sig)"></i>Bonus boost</span>
<span><i style="background:var(--panel-2);border-color:var(--line-strong)"></i>No refuel bonus</span>
<span><i style="border-style:dashed;border-color:var(--ink-2)"></i>A question</span>
</div>
<ol class="rg-flow" aria-label="Refuel flow, step by step">
<li><div class="rg-n start"><b><span class="k">1</span>You buy a new ad package on either site</b>LinkSpin (under Credits) or InstantAdPay, paid from your own wallet.</div></li>
<li>
<div class="rg-n ask"><b><span class="k">2</span>Does it meet that site's minimum?</b>LinkSpin package: $25 or more. InstantAdPay package: $20 or more. Bought by you or one of your own linked positions.</div>
<div class="rg-br">
<div class="rg-b"><span class="rg-e">No</span><div class="rg-n stop"><b>Normal purchase</b>No refuel bonus.</div></div>
<div class="rg-b"><span class="rg-e">Yes</span><div class="rg-n go"><b>Keep going</b><span class="to">down to the next question</span></div></div>
</div>
</li>
<li>
<div class="rg-n ask"><b><span class="k">3</span>Are you already on a streak?</b></div>
<div class="rg-br">
<div class="rg-b"><span class="rg-e">No: your first refuel, or your streak ended</span><div class="rg-n go"><b>Streak starts at month 1</b>Today becomes your refuel day. Your very first one also earns the Engine Started badge.<span class="to">then step 5</span></div></div>
<div class="rg-b"><span class="rg-e">Yes</span><div class="rg-n go"><b>Keep going</b><span class="to">down to the next question</span></div></div>
</div>
</li>
<li>
<div class="rg-n ask"><b><span class="k">4</span>When is it, against your refuel day?</b></div>
<div class="rg-br">
<div class="rg-b"><span class="rg-e">Inside the window: 5 days before to 5 days after</span><div class="rg-n go"><b>Counted refuel</b>Your streak moves up a month.<span class="to">then step 5</span></div></div>
<div class="rg-b"><span class="rg-e">After the 5-day grace</span>
<div class="rg-n ask"><b>Free miss left in the last 365 days?</b></div>
<div class="rg-br">
<div class="rg-b"><span class="rg-e">Yes</span><div class="rg-n go"><b>Streak kept</b>This package counts as your next month.<span class="to">then step 5</span></div></div>
<div class="rg-b"><span class="rg-e">No</span><div class="rg-n go"><b>Streak starts over at month 1</b>Today becomes your new refuel day.<span class="to">then step 5</span></div></div>
</div>
</div>
<div class="rg-b"><span class="rg-e">More than 5 days before</span>
<div class="rg-n ask"><b>Already refueled on this site this cycle?</b></div>
<div class="rg-br">
<div class="rg-b"><span class="rg-e">No</span><div class="rg-n fuel"><b>Second engine</b>This is the other site's refuel for the same cycle: both-engines rate here, and the first site is topped up to match (step 6). Your refuel day stays put.</div></div>
<div class="rg-b"><span class="rg-e">Yes</span><div class="rg-n fuel"><b>Pit Stop</b>Half your current rate, once per site per cycle. Not a refuel, so your refuel day stays put. A second top-up on the same site is a normal purchase.</div></div>
</div>
</div>
</div>
</li>
<li><div class="rg-n go"><b><span class="k">5</span>Bonus credits land at your month's rate</b>One engine: +10% in month 1, +15% in month 2, +20% in month 3, +25% from month 4. Added on the site where you bought.</div></li>
<li>
<div class="rg-n ask"><b><span class="k">6</span>Later this cycle: refuel the other site too, before your next window opens?</b></div>
<div class="rg-br">
<div class="rg-b"><span class="rg-e">Yes: both engines</span><div class="rg-n fuel"><b>Higher rate on both sites</b>+15%, +20%, +30%, then +40% from month 4. The first site is topped up to match. From month 4 you also get 100 Featured bonus credits on InstantAdPay.</div></div>
<div class="rg-b"><span class="rg-e">No: one engine</span><div class="rg-n go"><b>One-engine rate</b>Your streak still counts. Either site keeps it going.</div></div>
</div>
</li>
<li><div class="rg-n go"><b><span class="k">7</span>This month's Refuel Kit unlocks</b>Badges at 3, 6 and 12 months in a row.</div></li>
<li><div class="rg-n go"><b><span class="k">8</span>Next refuel day = 30 days after this one</b>Reminders 5 days before, on the day, and a last call at the end of your grace. Then it is back to step 1 next month.</div></li>
</ol>
</div>
</div>
<div class="panel rg-tbl">
<div class="ph"><h2>The bonus climbs</h2><span class="meta">percent of the package's credits</span></div>
<table>
<thead><tr><th>Months in a row</th><th class="n">One engine</th><th class="n">Both engines</th></tr></thead>
<tbody>
<tr><td>Month 1</td><td class="n">+10%</td><td class="n both">+15%</td></tr>
<tr><td>Month 2</td><td class="n">+15%</td><td class="n both">+20%</td></tr>
<tr><td>Month 3</td><td class="n">+20%</td><td class="n both">+30%</td></tr>
<tr><td>Month 4 and on</td><td class="n">+25%</td><td class="n both">+40% each</td></tr>
</tbody>
</table>
<div class="pb" style="border-top:1px solid var(--line)"><p class="muted" style="font-size:13px">Bonus ad credits land on the site where you bought: a LinkSpin refuel adds them to your LinkSpin credit balance. One engine means you refueled one site this cycle; both engines means LinkSpin and InstantAdPay in the same cycle. From month 4 with both engines you also get 100 Featured bonus credits on InstantAdPay. A Pit Stop pays half your current rate. On InstantAdPay the refuel bonus also stacks on Five Dollar Friday (+20% on $5+ packages) and Wired Wednesday (+25% on $20+ packages). Bonus credits buy ad delivery only. They are never cash.</p></div>
</div>
<div class="panel">
<div class="ph"><h2>Your route, step by step</h2><span class="meta">member guide</span></div>
<div class="pb">
<ol class="rg-route">
<li><div>
<h3>Start your engine</h3>
<p>Buy a new package of $25 or more under Credits, or $20 or more on InstantAdPay. Today becomes your refuel day, your first bonus lands right away, and you earn the Engine Started badge. Buying from one of your linked positions counts too.</p>
<div class="rg-where"><span class="rg-chip">LinkSpin: Credits</span><span class="rg-chip iap">InstantAdPay: Buy packages</span></div>
</div></li>
<li><div>
<h3>Find your Refuel card</h3>
<p>The Monthly Refuel panel shows your refuel day, your streak month, the bonus your next refuel earns, which sites you refueled this cycle, and whether your Pit Stop is still open.</p>
<div class="rg-where"><span class="rg-chip">LinkSpin: Credits and Ads</span><span class="rg-chip iap">InstantAdPay: Overview</span></div>
</div></li>
<li><div>
<h3>Put this month's Refuel Kit to work</h3>
<p>Your refuel unlocks the month's members-only banners in five sizes (728x90, 468x60, 300x250, 160x600 and 1200x630 for social posts) with your @name and a QR code to your own link. Open the Refuel Kit panel on Ads and press Load into my Banner Spin, or tap Make mine on any size to download it. From a 3-month streak you also get an animated version. Kits you unlock stay yours after the month ends.</p>
<div class="rg-where"><span class="rg-chip">LinkSpin: Ads, Refuel Kit</span><span class="rg-chip iap">InstantAdPay: Promo tools</span></div>
</div></li>
<li><div>
<h3>Check the Engine Room</h3>
<p>Your first refuel opens it at the top of Ads. Three dials: fuel left across both sites, clicks this week against last week, and goals this month from your conversion pixel against a goal you set. Warning lights flag ads running low or out, a refuel day coming, or a login slot opening. Then press the one next-move button.</p>
<div class="rg-where"><span class="rg-chip">LinkSpin: top of Ads</span><span class="rg-chip iap">InstantAdPay: Engine Room tab</span></div>
</div></li>
<li><div>
<h3>Refuel inside your window every month</h3>
<p>The window opens 5 days before your refuel day and stays open 5 days after it (Central time). You get an email and an on-site notice 5 days before, on the day, and a last call. Your next refuel day is 30 days after the day you actually refuel, so it moves with you.</p>
</div></li>
<li><div>
<h3>Light up the second engine</h3>
<p>Refuel on both sites in the same cycle and both get the higher rate. Buy on one site, then the other, in either order, before your next window opens. The first site is topped up automatically to match.</p>
<div class="rg-where"><span class="rg-chip">LinkSpin $25+</span><span class="rg-chip iap">InstantAdPay $20+</span></div>
</div></li>
<li><div>
<h3>Running low early? Take a Pit Stop</h3>
<p>Another package on a site you already refueled this cycle, bought before your window opens, is a Pit Stop: half your current rate, once per site per cycle. It keeps your ads running. Your monthly refuel is still due on your refuel day.</p>
</div></li>
</ol>
</div>
</div>
<div class="rg-two">
<div class="panel"><div class="ph"><h3>If you miss a month</h3></div><div class="pb"><p>You get one free miss in any 365 days. Miss your window once and the streak holds: your next qualifying package counts as the next month. Miss again inside the year and the streak starts over at month 1, with a new refuel day.</p></div></div>
<div class="panel"><div class="ph"><h3>What counts and what doesn't</h3></div><div class="pb"><p>Counts: a new package at or above the minimum, bought by you or one of your own linked positions (on InstantAdPay, Game Pass packages too). Doesn't count: smaller packages, or credits you earned by viewing ads.</p></div></div>
</div>
<div class="tile hi rg-coach" style="padding:18px 22px">
<h2 class="disp" style="margin:0 0 8px;font-size:24px">For leaders: how to coach it</h2>
<ul>
<li>When someone in your line buys their first package, help them pick a refuel day they can keep every month.</li>
<li>Show them the Monthly Refuel panel on Credits and the Engine Room on Ads on day one, so they know where to look.</li>
<li>Teach both engines. One package on each site per cycle earns the higher rate on both.</li>
<li>Load your own Refuel Kit into a live Banner Spin, so they see it working before they try it.</li>
<li>Repeat ad spend keeps every level of your line active, so this is the habit to build.</li>
</ul>
</div>
<div class="panel">
<div class="ph"><h2>Questions members ask</h2><span class="meta">quick answers</span></div>
<div class="pb">
<dl class="rg-faq">
<div><dt>Do I have to use both sites?</dt><dd>No. LinkSpin alone keeps your streak going at the one-engine rate, and so does InstantAdPay alone. Refueling both in the same cycle earns the bigger bonus on both.</dd></div>
<div><dt>Is the bonus cash?</dt><dd>No. Bonus credits are purchased-grade ad credits that run on any format you can buy, login ads included.</dd></div>
<div><dt>I refueled early. Did I lose my place?</dt><dd>Inside the 5-day window it counts as your refuel and your next date moves to 30 days after it. Earlier than that it is a Pit Stop (or your second engine, if it is the other site's first package this cycle), and your refuel day stays put.</dd></div>
<div><dt>When does the Refuel Kit change?</dt><dd>Each month gets its own kit. A counted refuel unlocks that month's kit, and kits you unlocked stay yours.</dd></div>
<div><dt>Is anything billed automatically?</dt><dd>No. You choose every package. Nothing renews on its own.</dd></div>
</dl>
</div>
</div>
<p class="muted" style="font-size:12.5px">One credit is one cent of ad delivery. Credits are not money and cannot be withdrawn. No income is guaranteed; any commissions depend on real purchases in your line and on your own effort. Cryptocurrency involves risk of loss. Fuel Your Offers runs on LinkSpin and InstantAdPay (<a href="https://instantadpay.com/refuel">the InstantAdPay side</a>).</p>
</div>
</main>
<footer class="foot">
<div class="wrap">
<span class="word">Link<b>Spin</b></span>
<a href="/">Home</a>
<a href="/ledger">Live ledger</a>
<a href="/contract">The contract</a>
<a href="/support">Support</a>
<a href="/terms">Terms</a>
<a href="/privacy">Privacy</a>
<a href="/disclaimer">Disclaimer</a>
<span class="grow"></span>
<span class="mono" style="font-size:11px">Advertising services with a performance referral program. Not an investment. Crypto transactions are irreversible.</span>
</div>
</footer>
<script src="/assets/refuel-guide.js?v=20261024rg"></script>
</body>
</html>
+12
View File
@@ -52,6 +52,18 @@ function world(opts) {
assert.strictEqual(b.label, 'Refuel Kit 2026-11'); assert.strictEqual(b.target, 'https://linkspin.app/join/sam'); assert.ok(/^\/uploads\/[a-f0-9]{24}\.png$/.test(b.image)); assert.strictEqual(b.label, 'Refuel Kit 2026-11'); assert.strictEqual(b.target, 'https://linkspin.app/join/sam'); assert.ok(/^\/uploads\/[a-f0-9]{24}\.png$/.test(b.image));
assert.ok(fs.existsSync(path.join(W.up, b.image.slice(9)))); assert.strictEqual(b.w, 728); assert.ok(b.bytes <= W.BS.MAX_BYTES); assert.ok(fs.existsSync(path.join(W.up, b.image.slice(9)))); assert.strictEqual(b.w, 728); assert.ok(b.bytes <= W.BS.MAX_BYTES);
}); });
await t('Starter tier: the result says up front what loaded, what did not and why, and what to do; the panel pre-picks 728x90 + 300x250', async () => {
const W = world(); const KS = require(path.join(ROOT, 'kitspin.js'));
const room = await KS.room('s@x.test', W.BS);
assert.deepStrictEqual([room.tier, room.spins, room.used, room.all], ['Starter', 2, 0, false]);
assert.deepStrictEqual(room.suggested, ['728x90', '300x250']);
const r = await W.load();
assert.ok(/^Loaded: 728x90 \(new Banner Spin "Refuel Kit 728x90"\) and 300x250/.test(r.message), r.message);
assert.ok(/Not loaded: 468x60 and 160x600\. Your Starter tier holds 2 Banner Spins/.test(r.message), r.message);
assert.ok(/pick the sizes you want most/.test(r.message) && /Builder .* holds 5/.test(r.message), r.message);
const r2 = await W.load({ sizes: ['728x90', '300x250'] }); assert.ok(/^Loaded: 728x90 \(already in/.test(r2.message) && !/Not loaded/.test(r2.message), r2.message);
const after = await KS.room('s@x.test', W.BS); assert.deepStrictEqual(after.suggested, ['728x90', '300x250'], 'Banner Spins with room stay ticked');
});
await t('loading the same kit twice adds nothing twice', async () => { await t('loading the same kit twice adds nothing twice', async () => {
const W = world(); await W.BS.create('s@x.test', { name: 'L', size: '728x90' }); await W.BS.create('s@x.test', { name: 'M', size: '300x250' }); const W = world(); await W.BS.create('s@x.test', { name: 'L', size: '728x90' }); await W.BS.create('s@x.test', { name: 'M', size: '300x250' });
await W.load({ sizes: ['728x90', '300x250'] }); const r2 = await W.load({ sizes: ['728x90', '300x250'] }); await W.load({ sizes: ['728x90', '300x250'] }); const r2 = await W.load({ sizes: ['728x90', '300x250'] });
+5 -2
View File
@@ -83,7 +83,7 @@ const snapshot = require('./snapshot'); // daily growth snapshot -> Telegr
const pipeline = require('./pipeline'); // sponsor follow-up board (coming soon until site setting pipelineMode = on) (Marty, 2026-09-15) const pipeline = require('./pipeline'); // sponsor follow-up board (coming soon until site setting pipelineMode = on) (Marty, 2026-09-15)
const content = require('./content'); // admin Member content: one read-only list of everything members create (2026-10-18) const content = require('./content'); // admin Member content: one read-only list of everything members create (2026-10-18)
const videomaker = require('./videomaker'); // Circuit tool: promo videos with the member's own end card (ffmpeg in the image) // badge-gated promo toolkit + AI Copy Engine (Surge and up) (Marty, 2026-09-14) // referral contest: /leaderboard, Overview card, weekly + monthly winners (Marty, 2026-09-14) // release notes + roadmap: /whats-new, Overview card, Admin > Releases (Marty, 2026-09-14) // blog -> Blotato -> X + Instagram on publish (Marty, 2026-09-13) // admin member card: search, drilldown, edits (Marty, 2026-09-13) // admin-written coaching articles, server-rendered public /blog with SEO metadata (Marty, 2026-09-12) const videomaker = require('./videomaker'); // Circuit tool: promo videos with the member's own end card (ffmpeg in the image) // badge-gated promo toolkit + AI Copy Engine (Surge and up) (Marty, 2026-09-14) // referral contest: /leaderboard, Overview card, weekly + monthly winners (Marty, 2026-09-14) // release notes + roadmap: /whats-new, Overview card, Admin > Releases (Marty, 2026-09-14) // blog -> Blotato -> X + Instagram on publish (Marty, 2026-09-13) // admin member card: search, drilldown, edits (Marty, 2026-09-13) // admin-written coaching articles, server-rendered public /blog with SEO metadata (Marty, 2026-09-12)
const TRAFFIC_PAGES = new Set(['/', '/ledger', '/contract', '/shorts', '/plays', '/wallets', '/launch', '/partners', '/publishers', '/earning', '/blog', '/whats-new', '/leaderboard']); const TRAFFIC_PAGES = new Set(['/', '/ledger', '/contract', '/shorts', '/plays', '/wallets', '/launch', '/partners', '/publishers', '/earning', '/blog', '/whats-new', '/leaderboard', '/refuel']);
let tankWaitCache = null; // dashboard: who is waiting for a sponsor (refreshed every minute) let tankWaitCache = null; // dashboard: who is waiting for a sponsor (refreshed every minute)
const geo = require('./geo'); // viewer country -> tier (DB-IP lite), for campaign targeting const geo = require('./geo'); // viewer country -> tier (DB-IP lite), for campaign targeting
const burner = require('./burner'); // automatic on-chain credit burns (inert without ENGINE_KEY) const burner = require('./burner'); // automatic on-chain credit burns (inert without ENGINE_KEY)
@@ -3875,7 +3875,9 @@ const server = http.createServer(async (req, res) => {
} }
if (p === '/api/my/kits' && req.method === 'GET') { if (p === '/api/my/kits' && req.method === 'GET') {
const s = await auth.fromRequest(req); if (!s || !s.email) return json(res, 401, { error: 'Sign in first.' }); const s = await auth.fromRequest(req); if (!s || !s.email) return json(res, 401, { error: 'Sign in first.' });
return json(res, 200, await kit.myKits(s.email)); const mk = await kit.myKits(s.email);
if (mk && mk.on) { try { mk.spinRoom = await kitspin.room(s.email, bannerspin); } catch (e) { mk.spinRoom = null; } } // the panel pre-picks the sizes that fit the tier (2026-10-24)
return json(res, 200, mk);
} }
if (p === '/api/my/kits/render' && req.method === 'POST') { if (p === '/api/my/kits/render' && req.method === 'POST') {
const s = await auth.fromRequest(req); if (!s || !s.email) return json(res, 401, { error: 'Sign in first.' }); const s = await auth.fromRequest(req); if (!s || !s.email) return json(res, 401, { error: 'Sign in first.' });
@@ -3971,6 +3973,7 @@ const server = http.createServer(async (req, res) => {
if (p === '/') return sendFile(res, path.join(PUBLIC_DIR, 'index.html')); if (p === '/') return sendFile(res, path.join(PUBLIC_DIR, 'index.html'));
if (p === '/ledger') return sendFile(res, path.join(PUBLIC_DIR, 'ledger.html')); if (p === '/ledger') return sendFile(res, path.join(PUBLIC_DIR, 'ledger.html'));
if (p === '/contract') return sendFile(res, path.join(PUBLIC_DIR, 'contract.html')); if (p === '/contract') return sendFile(res, path.join(PUBLIC_DIR, 'contract.html'));
if (p === '/refuel') return sendFile(res, path.join(PUBLIC_DIR, 'refuel.html')); // Fuel Your Offers: the Monthly Refuel member guide (2026-10-24)
if (p === '/terms') return sendFile(res, path.join(PUBLIC_DIR, 'terms.html')); if (p === '/terms') return sendFile(res, path.join(PUBLIC_DIR, 'terms.html'));
if (p === '/privacy') return sendFile(res, path.join(PUBLIC_DIR, 'privacy.html')); if (p === '/privacy') return sendFile(res, path.join(PUBLIC_DIR, 'privacy.html'));
if (p === '/disclaimer') return sendFile(res, path.join(PUBLIC_DIR, 'disclaimer.html')); if (p === '/disclaimer') return sendFile(res, path.join(PUBLIC_DIR, 'disclaimer.html'));