Ana Sayfa / Kod ve Scriptler / GameSense - HTML5 Games Portal Admin Panel

GameSense - HTML5 Games Portal Admin Panel

Reklam dostu HTML5 oyun portalı: SEO, favoriler, yorumlar, sayfalar, reklam yöneticisi, içe aktarıcılar, site haritası ve çerez onayı.

  • Yayın tarihi17 Aralık 2025
  • Nerede çalışırPHP 8.0, PHP 8.1
  • Paket içeriği.php, .css, .html, .sql, JavaScript .js
  • Son güncelleme29 Nisan 2026
  • Canlı demoVar
GameSense - HTML5 Games Portal Admin Panel

Overview

GameSense – Ad-friendly HTML5 Games Portal (PHP & MySQL)

GameSense is a clean, fast and mobile-friendly HTML5 games portal with a modern admin panel. Publish games, organize categories, manage ads, moderate comments, create pages, import games in bulk, generate sitemaps and show GDPR cookie consent — built for smooth UX and search engine visibility.

Features

✅ Key Features

  • Dashboard with overview & top stats
  • 🎮 Add / Edit / Feature / Delete games (iframe/embed support)
  • 🗂️ Categories management (organize your library)
  • 💬 Comment moderation (approve/reject/spam/delete)
  • 📄 Pages manager (Privacy, Terms, About & custom pages)
  • 📣 Ads manager (multiple placements)
  • ⚙️ Site + SEO settings (meta defaults, UI/theme options)
  • 📥 Bulk importers (import games in one click)
  • 🗺️ Sitemap generator from admin panel (sitemap.xml)
  • 🍪 GDPR cookie consent (enable/disable + policy page link)
  • ❤️ Favorites (user-friendly save system)
  • 📨 Contact inbox (read & reply)
  • ✉️ SMTP settings + test email
  • 🔐 Change admin password

🚀 SEO Ready

  • Dynamic meta title/description per game page
  • OpenGraph + Twitter Cards for social previews
  • JSON-LD schema markup (VideoGame + breadcrumbs)
  • Admin sitemap generator for faster indexing

## GameSense v3 upgrade notes

### New user account system - Added frontend `/signup`, `/login`, `/logout`, and `/account` routes. - Added a new `users` database table for email/password accounts and Google accounts. - Existing installations are safe: the users table is created automatically the first time the auth system is used, and the installer schema also includes it for fresh installs.

### Google social login - Added admin page: **Admin → Social Login**. - Admin can enable/disable Google login and save: - Google Client ID - Google Client Secret - Google login button text - The Social Login settings page shows the exact Google OAuth redirect/callback URL that must be pasted into Google Cloud Console. - Required Google scopes: `openid email profile`.

### Mobile game player / fullscreen fixes - Improved game detail page responsiveness on mobile. - Fixed sideways page overflow where users had to scroll right to center the game. - The game player now stays centered and uses a responsive 16:9 landscape viewport on mobile before fullscreen. - Fullscreen mode still uses the full viewport height and keeps the player locked to the screen.

### Updated files in this v3 patch - `index.php` - `app/Core/Bootstrap.php` - `app/Models/User.php` - `resources/views/layouts/app.php` - `resources/views/layouts/admin.php` - `resources/views/auth_login.php` - `resources/views/auth_signup.php` - `resources/views/account.php` - `resources/views/admin/social_login.php` - `resources/views/game.php` - `assets/css/app.css` - `install/schema.sql`

## v3 Account Interaction Update

This package adds account-based player interactions:

- Google login opens in a centered popup window for better UX. - Favorites are saved to the logged-in user account instead of browser local storage. - Guests see a login/signup prompt when trying to save favorites. - Ratings require a logged-in account and are stored per user. - Comments require a logged-in account and use the account name/email automatically. - Added API endpoints for account favorites: - `GET /api/favorites` - `POST /api/favorites/toggle` - `POST /api/favorites/clear`

For upgrades from v2/v3, run the SQL migration in: use PHPmyadmin

``` database/migrate_v2_to_v3_accounts.sql database/migrate_v3_account_email_flows.sql database/migrate_v3_slug_cookie_ads database/migrate_v3_turnstile.sql

replace all the files in the root public_html with this v3 files that are in the zip(use Filezilla)

```

If any `ALTER TABLE ... ADD COLUMN` statement says the column already exists, skip that one. The code also has automatic schema checks for user favorites, ratings, and comments.

## v3 Admin User Management Update

This package adds a dedicated frontend user management section in the admin panel.

### New admin route

``` /admin/users ```

### What admin can do

- View all frontend user accounts in one table. - Search users by name, email, or Google provider ID. - Filter by provider: - All providers - Email signup - Google login - Filter by account status: - Active - Disabled - Verified - Unverified - View user activity counts: - Favorites saved - Ratings submitted - Comments posted - Manually verify email users. - Disable or enable user accounts. - Delete frontend user accounts.

### What happens when admin deletes a user

When an admin deletes a user from **Admin → Users**:

- The user account is permanently deleted. - The user’s saved favorites are deleted. - The user’s ratings are deleted. - The user’s comments are kept but anonymized as `Deleted player`.

## Couldflare Turnstile

Added features:

Admin → Turnstile
Enable/disable Turnstile globally
Add Turnstile Site Key
Add Turnstile Secret Key
Enable/disable protection for auth pages
Enable/disable protection for contact page
Choose Turnstile theme: Auto, Light, Dark

Requirements

📦 Requirements

  • PHP 8.0+
  • MySQL 5.7+ / MariaDB 10.4+
  • PDO enabled