🎉
TR EN
Changelog
Detailed log of all developments and improvements on the Affamazon platform.
23 April 2026
Admin: Ses Kuyruğu İzleme Paneli
New
Yöneticilere canlı ses üretim kuyruğunu gösteren yeni bir panel eklendi. Algrow slot durumu, bekleyen istekler ve aktif worker'lar tek ekranda görülüyor; istenen görev tek tıkla iptal edilebiliyor.
  • Admin menüsüne "Ses Kuyruğu" kısayolu eklendi (Admin → Ses Kuyruğu).
  • Algrow havuzundaki dolu/boş slot sayısı, sırada bekleyen isimler ve kaç saniyedir bekledikleri listeleniyor.
  • Her aktif ses görevi için kullanıcı, ürün, faz (Gönderiliyor/Sırada/Üretiliyor/Kaydediliyor), ilerleme yüzdesi ve worker PID bilgisi gösteriliyor.
  • Uzun süredir bekleyen görevler kırmızı renkle vurgulanıyor; worker'ı ölmüş olanlar "⚠ Worker yok" rozeti alıyor.
  • Admin, iptal düğmesiyle takılan görevi zorla sonlandırabiliyor: placeholder satır sıfırlanır, worker SIGTERM/SIGKILL ile durdurulur, progress dosyası silinir.
  • Sayfa 5 saniyede bir otomatik tazeleniyor; ayrıca manuel "Yenile" butonu var.
23 April 2026
Credit System Rescaled ×10
New Improvement
Credits are now charged per-action instead of flat 1. All balances and packages are multiplied by 10; package prices stay the same — single credit looks cheaper and you always see exactly what each action costs.
  • All user balances and credit packages were multiplied by 10. If you had 10 credits, you now have 100; prices are unchanged.
  • Each action has its own cost: script generate 7, regenerate 5, fetch media 3, save thumbnail 2, generate voiceover 1 credit.
  • Plans page now shows a "Credit Cost Breakdown" table and a "~X videos possible" hint on each package card.
  • Dashboard and Prompt History CTAs now display the credit cost (e.g. "7 credits") right on the button.
  • Migration runs only once: a system_flags row guarantees balances are never multiplied twice, even if the cache file is deleted.
23 April 2026
Prompt Quality Gate & Credit Protection
Fix Improvement
Fixed the issue where prompt generation sometimes produced empty product sections (e.g. only "Product #1" as description). Broken outputs are now detected automatically and no credits are consumed.
  • Manual Amazon links that cannot be resolved no longer inject a "Product #N" placeholder; the slot is filled by auto best-sellers instead.
  • AI output is validated on three axes: every one of the 5 product paragraphs must be present, hit a minimum word count, and not be a placeholder-only line.
  • If validation fails, the system re-asks OpenAI once with a stricter instruction; if the retry succeeds, the user never sees the failure.
  • If the retry still fails, the placeholder row is deleted, neither AI credit nor voice credit is charged, auto voiceover is NOT triggered, and the user gets a clear error message.
22 April 2026 — 23:00 – 23:45
"Regenerate" Button in Prompt History
New
Sometimes scripts would come back with only product names and incomplete descriptions. Now every script in Prompt History has a "Regenerate" button — the same product names and the same Amazon affiliate links are preserved while the script text is rewritten from scratch.
  • Added a blue gradient "Regenerate" button under each card in Prompt History.
  • The same 5 products, same ranking, and same short links are preserved — links in your YouTube description do not change.
  • Only the AI script text is rewritten (intro, product paragraphs, closing, description, first comment, bonus, hashtags).
  • Uses 1 credit. If generation fails, the previous script is automatically restored.
22 April 2026 — 21:30 – 22:30
Critical: Credit System Bug Fix + Sidebar Credit Balance
Security Fix
After the credit-only migration, the remaining critical bugs were fixed: the “0-credit users can still generate” bug is gone, the sidebar now shows the real credit balance, legacy paid subscriptions are frozen (no auto-renewal), and new signups get a 10-credit onboarding bonus.
  • canUseAi() fully rewritten: now only reads from the referral_credits pool and any active legacy plan quota. The 10/mo free-trial renewal has been removed. Users without credits can no longer generate.
  • incrementUsage() first deducts 1 from the referral_credits pool; the legacy counter is still honored for users with an active plan (until plan_expire).
  • Sidebar rebuilt from scratch: the “FREE Plan” badge is gone. A large credit balance card (red at 0, amber at 1-3, green above) plus a “Buy Credits” CTA replaces it. Users with an active legacy plan see an extra “+X legacy plan credits” sub-row.
  • DB migration: expired paid users (2) dropped to free with monthly_limit=0; active paid users (6) kept their plan but since resetMonthlyQuotaIfNeeded is now a no-op their usage will no longer auto-renew each month.
  • Signup (register.php + google_callback.php) now grants 10 onboarding credits via referral_credits. Email-verified or Google sign-in users additionally receive a one-time +15 credit bonus (replaces the old 7-day Pro trial).
  • save_thumbnail.php, dashboard_ajax.php (generate_prompt / generate_audio / fetch_prompt_media) all call canUseAi() already; now that the function works correctly, these endpoints no longer allow credit-less generation.
22 April 2026 — 20:30 – 21:00
10-Credit Pack Live + iyzico Footer Badges
New
The iyzico payment link for the 399 TL / 10-credit pack is now live. After payment, the Voixor webhook auto-credits your Affamazon account. Added the official iyzico / Visa / Mastercard / Amex / Troy payment logo band to the footer for trust & transparency.
  • Added iyzico payment URL for the 10-credit pack (credits_10) to the database: https://iyzi.link/AKkExg. The “Buy” button on the Plans page now routes there directly.
  • Voixor webhook auto-detects the 10-credit pack: when the product name is “Affamazon 10 Kredi Paketi”, the 10 credits are dropped straight into the referral_credits pool (the same field canUseAi / getRemainingQuota read from).
  • Footer now shows the iyzico payment logos (iyzico_footer_band_white + iyzico_ile_ode_white SVGs). KVKK, Privacy, Terms, Distance Sales, Contact and Changelog links remain below the logos.
22 April 2026 — 19:00 – 20:15
Subscription plans removed — switched to credit-only model
New Improvement
Subscription plans were not actually auto-renewing (one-time Shopier/Iyzi payment) — users saw credits burn on day 30 and had to manually repurchase. We removed this misleading pattern entirely. Only credit packs are sold now.
  • Standard and Pro subscription plans deactivated in the database — fully removed from the pricing page.
  • Added a new 10-credit starter pack (399 TL) — ideal for low-budget testing. Now 4 options: 10, 20, 50, 150 credits.
  • Credit validity extended from 6 months to 12 months. Purchased credits now last a full year.
  • Plans page rewritten from scratch: tab switcher removed, single hero + 4-card grid + positioning chips ("No commitment · No auto-charge · Valid 12 months"). No subscription/credit split — every user sees the same simple logic.
  • FAQ rewritten: "Why no subscription?", "How long are credits valid?", "What does 1 credit do?", "How does the refund work?" — honest, user-friendly answers.
22 April 2026 — 17:00 – 17:45
Pricing page UI simplified
Improvement
Plans page was visually cluttered and overwhelming. Rebuilt from scratch with a clean, focused shadcn/ui-style layout.
  • Removed ROI calculator, full comparison table, social proof strip, trial banner box, sticky CTA bar, exit-intent popup and the "presets don't fit you" standalone block.
  • Added a single "Subscription / Credit Packs" tab switcher — users see only the cards relevant to their choice; page height reduced by ~60%.
  • Redesigned plan and credit-pack cards: tighter padding, cleaner typography, single-CTA per card (Pro as primary white, Standard as secondary outline).
  • Tiny trust row (refund, cancel, Iyzico) + small "build your own plan" inline link + short FAQ at the bottom. All unused channels, counters and VIP/Launch remnants were fully purged.
22 April 2026 — 15:30 – 16:30
Hybrid Pricing: 2 Plans + Credit Packs
Improvement New
Plans simplified and credit packs added for customers who don't want a subscription. New-user gift credits raised from 3 to 10.
  • Plans reduced from 4 to 2: only Standard and Pro (recommended) remain active. Launch and VIP deactivated; existing subscribers unaffected.
  • New "Credit Packages" section on the Plans page: 20 / 50 / 150 credits, 6-month validity, no auto-renew. Ideal for customers who prefer pay-as-you-go.
  • Gift credits for new signups increased from 3 to 10. Quiz results, home demo blur copy, and drip emails all updated to the new number.
  • Comparison table trimmed from 4 columns to 2. Pro column now highlighted as recommended; per-credit cost row simplified.
22 April 2026 — 14:00 – 14:30
YouTube Scheduling: Same-Day Allowed
Fix
The "Schedule" section on the YouTube upload page now accepts today's date.
  • Minimum date dropped from tomorrow to today so you can plan multiple videos to different hours of the same day.
  • Default time auto-fills to now+1 hour in Istanbul time regardless of the device time zone.
  • The server now rejects past or within-15-minutes timestamps with a clear error instead of letting YouTube reject the upload.
21 April 2026 — 20:00 – 20:45
Audio generation double-trigger fixed
Fix Improvement
Bug where audio generation ran twice for the same prompt and credits were charged twice has been fixed.
  • Atomic condition (audio_file IS NULL) added to UPDATE statements; only transitions from empty state are allowed
  • Auto audio generation and the manual "Generate Audio" button are now race-safe and spawn only a single worker
  • In prompt history, prompts currently generating now show a "Generating audio..." spinner instead of a broken download button
  • Visiting the prompt history page auto-resumes progress polling for in-flight audio generations
4 April 2026 — 10:00 – 14:00
Admin Security & User/Plan Management
New Security
Comprehensive user management, plan management, and security improvements added to the admin panel.
  • User editing: Name, email, and referral credits can be changed directly from the admin panel
  • Ban/Suspend: Users can be banned or suspended for a specific period, login is automatically blocked
  • User deletion: Cascade delete with all related data (scripts, media, thumbnails, links, projects, templates)
  • Password reset: Admin can generate a password reset link with one click
  • Plan Management page: Plan CRUD from admin panel — add, edit, delete, activate/deactivate
  • CSRF protection: All admin forms (admin, content, products, plans) now protected with CSRF tokens
  • admin/update_plan.php security: Authorization check added, unauthorized access blocked
3 April 2026 — 20:00 – 22:00
Manual Mode — AI Content Generation
New
You can now enter your own Amazon product links and customize the prompt in AI content generation.
  • Enter up to 5 Amazon product links manually using the "Manual Mode" button on the Dashboard
  • Empty link slots are automatically filled with bestselling products
  • Custom Prompt field lets you add extra AI instructions (e.g. price/performance focus, specific audience)
  • Product names are automatically extracted from your Amazon links and integrated into the script
3 April 2026 — 14:00 – 16:00
Custom Plan Builder
New
Users can now build their own flexible credit packages.
  • Monthly credits from 10-300 selectable via slider
  • 1, 3, 6, or 12 month duration options — automatic discounts for longer terms (8%-22%)
  • Instant price calculator: unit cost, monthly price, total price, and Starter savings comparison
  • One-click WhatsApp purchase — order details are auto-formatted as a message
2 April 2026 — 05:00 – 07:00
Pricing & Credit System Revision
Improvement New
All plan prices and credit limits have been restructured. The "Standard" plan is renamed to "Starter". A per-credit cost row has been added to the comparison table.
  • Starter (formerly Standard): 1,499 TL/mo, 30 credits/month (~50 TL/credit). For getting started with the system.
  • Launch: 3,499 TL (90 days), 45 credits/month (~26 TL/credit). The most preferred starter package.
  • Pro: 2,699 TL/mo, 60 credits/month (~45 TL/credit). For heavy usage.
  • VIP: 12,999 TL (12 months), 90 credits/month (~12 TL/credit). Lowest cost per credit.
  • Added "Cost Per Credit" row to comparison table — making the value of higher plans instantly visible.
  • VIP plan duration increased from 30 days to 365 days (12 months).
2 April 2026 — 23:30 – 04:00
AI Video Editor, Credit System Update & Cost Optimization
New Improvement
Added AI Video Editor that completes the entire prompt-to-video workflow in one platform. Credit system applied to all AI operations.
  • AI Video Editor: Auto-generate timeline from your prompt — product videos, images, subtitles, titles and Ken Burns effects are placed automatically. Export as 1080p WebM.
  • Every AI operation now costs 1 credit: Prompt generation, voice generation (Profesyonel Ses), product media fetch (Rainforest API), thumbnail creation. Each operation deducts credits separately.
  • Video editor runs entirely in the browser — Canvas API for preview, MediaRecorder for recording. Zero server cost.
  • Export shows 5-stage progress: media loading → frame render → video recording → encoding → download. Detailed status at each stage.
  • Video project count added to dashboard activity summary and achievements page.
  • New achievement badges: First Video (1 project), Video Producer (5 projects), Video Master (10 projects).
2 April 2026 — 20:00 – 23:30
5 New Features — Trend Report, Income Calculator, Niche Finder, Achievement Panel, Done-For-You
New
Five major features added to strengthen the platform: weekly trending product report, affiliate income simulator, data-driven niche discovery tool, gamification (badge/achievement) system, and premium concierge service page.
  • Weekly Trend Report: View Amazon's fastest-rising products by category. Free users see 3 categories, paid users see all. Weekly email report sent every Monday (cron).
  • Income Simulator: Calculate estimated affiliate + AdSense income by selecting niche, video count and views. Works without login — strongest pre-signup CTA.
  • Niche Finder: Category-based niche analysis from 10,000+ products in the database. Ranked by competition, commission rate, trend score and niche score.
  • Achievement Panel: XP, level, badge system. Tracks scripts, audio, thumbnails, link clicks and active day streaks. 9 badges and 7 levels to boost user motivation.
  • Done-For-You: Professional concierge service page. 8 videos/month, voiceover, thumbnails, SEO — everything included. Limited spots, WhatsApp contact, 30-day refund guarantee.
2 April 2026 — 19:00 – 20:00
Exit-Intent Popup — Visitor Catcher
New
Added popup offering 3 free AI credits to non-logged-in visitors when they are about to leave the page.
  • Desktop: Popup triggers when mouse moves above the browser viewport.
  • Mobile: Triggers with fast upward scroll gesture.
  • Fallback: Automatically shown to users after 45 seconds on page.
  • 24-hour countdown timer creates a sense of urgency.
  • Session-based — once dismissed, it won't show again in the same session.
2 April 2026 — 14:00 – 18:30
Free Plan Trial Credit Fix & Thumbnail Padding Cleanup
Fix Improvement
Fixed the issue where free plan users couldn't use their 3 trial credits, and resolved visual inconsistencies on the thumbnail page.
  • Dashboard AI content generation form now shows unlocked for free users when they have trial credits remaining. Auto-locks when credits are exhausted.
  • Removed container-fluid px-lg-4 py-4 wrapper from thumbnail page. Now uses the same padding structure as other pages.
  • Removed redundant "credits left" badge from thumbnail sidebar. Quota info is already shown in the sidebar account section.
1 April 2026 — 10:00 – 23:45
YouTube Thumbnail Feature Promotion Across All Pages
New
YouTube Thumbnail Generator feature was added to the homepage and pricing page across all marketing sections.
  • Added new YouTube Thumbnail tab to "Real AI Output Example" section on homepage. Includes 2 sample thumbnails and feature badges.
  • Added 7th card to bento feature grid: YouTube Thumbnail Generator (pink icon, description).
  • Added to Before/After comparison: "Need Canva/Photoshop for thumbnails" → "Thumbnail generator with 20+ templates".
  • Added thumbnail feature to pricing hero section and Free vs Launch comparison.
  • Added thumbnail feature to all 4 plan cards on Plans page (Launch, Standard, Pro, VIP).
  • Added YouTube Thumbnail row to Plans comparison table (✓ for all plans).
  • Added Turkish and English translation keys for all new text (~20+ keys).
31 March 2026 — 09:00 – 22:00
YouTube Thumbnail Generator — Advanced Features
New Improvement
Advanced features added to the thumbnail generator including custom template designer, history tab, and progress bar.
  • Custom template creator added. Users can design their own templates with custom colors, fonts, and layouts (max 20 per user).
  • Thumbnail history tab added. All previously generated thumbnails are listed and can be re-downloaded.
  • Progress bar matched exactly with dashboard audio generation bar (audio-* CSS classes).
  • Sidebar structure aligned with dashboard (sidebar-card, hr, sidebar_account.php).
  • Exact match achieved with sablon2.png reference (wood_table surface, gradient colors, title sizing).
30 March 2026 — 11:00 – 21:30
YouTube Thumbnail Generator — Core Feature
New Improvement
Built the YouTube Thumbnail Generator page from scratch. A Canvas-based, browser-rendered professional thumbnail creation tool.
  • 20 built-in thumbnail templates added (versus, top5, review, deal, unboxing categories).
  • Canvas API rendering at 1280×720 pixels. Runs entirely in the browser with zero server load.
  • Auto image selection from prompt history product images. Uses images pulled from Rainforest API.
  • One-click PNG download. Generated thumbnails can be instantly downloaded.
  • Thumbnail generation costs 1 AI credit. Integrated with quota system.
29 March 2026 — 08:00 – 20:00
Security Audit & Infrastructure Improvements
New Security
Comprehensive security audit performed. Cookie system, SMTP, PHP compatibility, and admin panel were strengthened.
  • Remember-me cookie system migrated from plain-text email to token-based (SHA-256 hash) system.
  • SMTP-based email sending added (password reset, notifications).
  • PHP 7.x compatibility ensured (removed PHP 8+ functions like str_starts_with, str_contains).
  • Admin panel security strengthened. is_admin check added to all admin endpoints.
  • Fixed "headers already sent" warnings in error log.
  • All SQL queries verified to use PDO prepared statements.
28 March 2026 — 10:00 – 23:00
Homepage Redesign & 12 Sales Features
New Improvement
Homepage completely redesigned. Bento grid, live demo, earnings calculator quiz, and 12 marketing sections added.
  • Bento grid feature cards added. 6 main features presented with visual cards.
  • Live AI demo section added. Visitors can preview AI output without signing up.
  • Earnings calculator quiz added. Users can calculate their potential revenue.
  • Before/After comparison section added (workflow without vs with Affamazon).
  • AI output preview tabs added (Script, SEO, Audio, Thumbnail).
  • Demo video section and social proof (viewer count, notifications) added.
27 March 2026 — 09:00 – 22:30
Dashboard, Profile & Plan System
New
Dashboard completely redesigned. Profile page, plan hero card, and quota management system added.
  • Dashboard restructured into 3 tabs: Overview, Content Generation, Guide.
  • Plan hero card added. Active plan, quota status, and remaining time visible at a glance.
  • Sidebar navigation system created (sidebar_nav.php + sidebar_account.php).
  • Monthly quota auto-reset system added (resetMonthlyQuotaIfNeeded).
  • Expired plans automatically downgraded to free plan (normalizeExpiredPlan).
26 March 2026 — 12:00 – 23:50
Platform Launch — Core Infrastructure
New Security
Core infrastructure of the Affamazon platform was built. User system, AI integration, payments, and all legal pages created.
  • User registration/login system (bcrypt encryption, session management).
  • OpenAI GPT-4o-mini integration for AI content generation.
  • Rainforest API integration for pulling Amazon trending products.
  • Profesyonel Ses TTS integration for text-to-speech conversion.
  • Shopier payment integration for plan purchases.
  • Affiliate link shortener (go.php) with click tracking.
  • Legal pages: KVKK, Privacy Policy, Membership Agreement, Distance Sales Agreement.
25 March 2026 — 10:00 – 20:00
Project Kickoff & Prototype
New
Initial foundations of the Affamazon project were laid. Database schema, directory structure, and core configuration files created.
  • MySQL database schema designed (users, products, generated_prompts, short_links, plans tables).
  • PHP procedural architecture and single entry point (index.php) router set up.
  • Bootstrap 5.3.3 + shadcn/ui-inspired dark theme CSS system created.
  • Multi-language support infrastructure built (t() function, lang/tr.php, lang/en.php).