Documentação ComusThumbz
Login de Admin

Creator Management

Overview

The Creator Management page is the central administrative interface for managing all creator accounts in the ComusThumbz monetization platform. This page provides a comprehensive grid view of all registered creators with filtering, sorting, and quick access to detailed management pages. Features include real-time statistics dashboard, verification status tracking, earnings overview, live streaming status indicators, and both card and list view display modes. Administrators can quickly identify verified creators, pending applications, and suspended accounts.

Location: Navigate to Admin Panel → Users → Creator Management or from the Dashboard

[Screenshot: creators-admin-main-view]


Getting to This Page

  1. Log into the Admin Panel at main.php
  2. Navigate to Users in the main menu
  3. Click Creator Management submenu item
  4. Or access directly via URL: ct/admin/creatorsadmin.php

 

Note:
This page is part of the Phase 11 Creator Monetization system. It provides read-only overview access - detailed editing is done through the creator
detailadmin.php page accessed by clicking on any creator card.

 


System Requirements

 

Configuration Required:
This page requires the following system dependencies to function properly.

 

PHP Requirements

Requirement Minimum Recommended Notes
PHP Version 8.0 8.2+ Uses null coalescing, arrow functions
memorylimit 128M 256M For large creator lists
maxexecutiontime 60 120 For complex aggregate queries

Required PHP Extensions

Extension Required Purpose
mysqli Yes Database connectivity
session Yes CSRF token, view preferences
json Yes JavaScript data serialization

Required PHP Functions

Function Required For Notes
randombytes() CSRF token generation PHP 7.0+
numberformat() Statistics display Core
htmlspecialchars() XSS prevention Core
urlencode() URL parameter encoding Core

Features & UI Elements

Page Header

[Screenshot: creators-admin-page-header]

Element Description
Title "Creator Management" with users icon
Breadcrumb Dashboard → Users → Creator Management
Back to Users Button Returns to users.php

Statistics Dashboard

[Screenshot: creators-admin-stats-dashboard]

Five statistic cards display platform-wide creator metrics:

Card Border Color Description
Total Creators Accent green Number of creator profiles
Verified Success green Number of verified creators
Pending Warning orange Pending verification requests
Total Earnings Purple Cumulative platform earnings (tokens)
Total Tips Pink Total tips received across platform
Tip: The statistics update in real-time when the page loads. Use these metrics to monitor platform health and identify when verification queues need attention.

Filter Controls

[Screenshot: creators-admin-filters]

Filter Options
Search Search by name, username, or email
Verification All, Verified Only, Not Verified
Status All, Active, Pending, Suspended
Sort By Newest, Oldest, Highest Earnings, Most Subscribers, Most Posts, Name A-Z
Per Page 24, 48, 96 creators
Button Description
Search Apply all filters
Clear Reset all filters to default

View Toggle Toolbar

[Screenshot: creators-admin-view-toggle]

Element Description
Card View Button Switch to card grid view (default)
List View Button Switch to table list view
View Info Text Shows current view mode

Results Info

Shows count of displayed creators and pagination info:

Showing X of Y creators (Page N of M)

 


Card View

[Screenshot: creators-admin-card-view]

Each creator card displays:

Card Header

Element Description
Quick Actions Menu Three-dot menu with quick links
Status Badge Verified (green), Pending (yellow), or Suspended (red)
Live Badge "LIVE" with pulsing dot when creator is streaming
Cover Image Cover photo or green gradient background
Avatar Profile image or initial letter

Quick Actions Menu

[Screenshot: creators-admin-quick-menu]

Action Description
View Details Opens creatordetailadmin.php
User Account Opens userdetails.php
View Posts Opens creatorpostsadmin.php filtered
View Media Opens creatormediaadmin.php filtered
Suspend/Activate Toggle creator status (with confirmation)

Card Body

Element Description
Creator Name Display name with verified checkmark if verified
Username @username format
Email Account email address

Statistics Row

Stat Description
Subs Subscriber count
Posts Total post count
Tips Number of tips received

Earnings Section

Shows total earnings in tokens with highlighted styling.

Button Description
View Opens detailed creator management page
User Opens user account page
Live/Offline Watch live stream or shows offline status

Card Border Colors

Status Border Color
Verified Green solid 2px
Pending Orange solid 2px
Suspended Red solid 2px + reduced opacity

List View

[Screenshot: creators-admin-list-view]

Compact table format with sortable columns:

Table Columns

Column Description
Creator Avatar, name, username
Status Verification/account status badge
Subscribers Subscriber count
Posts Post count
Tips Tips received count
Earnings Total earnings in tokens
Live Live/Offline indicator
Actions View, User, and Live buttons

Row Click Behavior

Clicking anywhere on a row (except action buttons) navigates to the creator's detail page.

Live Status Indicator

State Display
Live Green badge with pulsing dot
Offline Gray "Offline" text

Step-by-Step Usage

Viewing All Creators

  1. Navigate to Admin Panel → Users → Creator Management
  2. All creators display in card view by default
  3. Use view toggle to switch between Card and List views
  4. Scroll to browse or use pagination

Searching for a Creator

  1. Enter search term in the search field
  2. Searches: username, display name, email
  3. Click Search button
  4. Results filter immediately
  5. Click Clear to reset search

Filtering by Verification Status

  1. Select from "Verification" dropdown:
  • Verified Only - Shows only verified creators
  • Not Verified - Shows unverified creators
  1. Click Search to apply

Filtering by Account Status

  1. Select from "Status" dropdown:
  • Active - Active creator accounts
  • Pending - Awaiting verification
  • Suspended - Suspended accounts
  1. Click Search to apply

Sorting Creators

  1. Select sort option from "Sort By" dropdown:
  • Newest First - Most recently created
  • Oldest First - Oldest accounts
  • Highest Earnings - Top earners first
  • Most Subscribers - Popular creators
  • Most Posts - Most active creators
  • Name A-Z - Alphabetical order
  1. Click Search to apply

Suspending a Creator

  1. Find the creator card
  2. Click the three-dot menu button (top-left)
  3. Click Suspend (red text)
  4. Confirm the action in the popup
  5. Page reloads with creator now showing "Suspended" badge

 

Warning:
Suspending a creator prevents them from accessing creator features like posting, receiving tips, and managing subscriptions. The user account remains active but creator functionality is disabled.

 

Activating a Suspended Creator

  1. Find the suspended creator card
  2. Click the three-dot menu button
  3. Click Activate
  4. Confirm the action
  5. Creator status changes to Active

Watching a Creator's Live Stream

Look for cards with "LIVE" badgeClick the Live button (green) in the footer

  1. Opens adminlivemonitor.php in new window
  2. Monitor the live stream with admin controls

Viewing Creator Details

Click the View button on any cardOr click directly on the card (except action buttons)

  1. Opens creatordetailadmin.php with full management options

Viewing Creator's User Account

Click the User button on any card

  1. Opens userdetails.php for the associated user account
  2. Manage account settings, token balance, etc.

Viewing Creator's Posts

  1. Click three-dot menu
  2. Click View Posts
  3. Opens creatorpostsadmin.php filtered by this creator

Viewing Creator's Media

  1. Click three-dot menu
  2. Click View Media
  3. Opens creatormediaadmin.php filtered by this creator

AJAX Status Updates

The page uses AJAX for status updates without full page reload:

Endpoint

ajaxcreatoraction.php

Request Format

{
    "action": "updatestatus",
    "creatorid": 123,
    "status": "suspended|active",
    "csrftoken": "tokenvalue"
}

Response Format

{
    "success": true|false,
    "message": "Status update message"
}

Security

  • CSRF token validation required
  • Admin authentication required
  • Status values validated

Troubleshooting

Common Errors

 

Error:
"Connection failed"


Cause: Database connection error
Solution: Verify database credentials in ct/dat/config.inc.php

 

 

Error:
Avatars not displaying


Cause: Incorrect path construction for profile images
Solution:

  1. Verify $sitepath and $domain in config.inc.php
  2. Check that avatar files exist in /uploads/avatars/ or /uploads/creatoravatars/
  3. Verify web server has read permissions

 

 

Error:
"Error updating creator status"


Cause: AJAX request failed or CSRF token invalid
Solution:
Refresh the page to get new CSRF tokenCheck browser console for JavaScript errors

  1. Verify ajaxcreatoraction.php exists

 

 

Error:
Quick menu not opening


Cause: JavaScript not loaded or error
Solution:

  1. Check browser console for errors
  2. Ensure all JavaScript loaded properly
  3. Clear browser cache

 

 

Warning:
Page loads slowly with many creators


Solutions:

  1. Reduce records per page (24 instead of 96)
  2. Use List View instead of Card View
  3. Apply filters to narrow results
  4. Ensure database indexes exist on tblCreatorProfiles

 

 

Warning:
Live status not showing correctly


Cause: tblLiveStreams not updated or query issue
Solution:

  1. Verify live stream records exist
  2. Check that stream status is 'live'
  3. Verify query joins are working

 


JavaScript Features

LocalStorage Keys

Key Purpose
creatorsadminview Stores view preference (card/list)

Client-Side Functions

Function Purpose
setView(mode) Toggle between card and list views
loadViewPreference() Load saved view on page load
toggleQuickMenu(btn) Toggle quick actions dropdown
suspendCreator(creatorId) Confirm and suspend creator
activateCreator(creatorId) Confirm and activate creator
updateCreatorStatus(id, status) AJAX status update
openAdminLiveStream(streamId, name) Open live monitor popup

Translatable Strings

The following strings should be added to backendtranslations.md:

creatorsadmintitle = "Creator Management"
creatorsadminbreadcrumb = "Creator Management"
creatorsadminbacktousers = "Back to Users"
creatorsadmintotalcreators = "Total Creators"
creatorsadminverified = "Verified"
creatorsadminpending = "Pending"
creatorsadmintotalearnings = "Total Earnings (Tokens)"
creatorsadmintotaltips = "Total Tips"
creatorsadminsearchplaceholder = "Search name, username, email..."
creatorsadminallverification = "All Verification"
creatorsadminverifiedonly = "Verified Only"
creatorsadminnotverified = "Not Verified"
creatorsadminallstatus = "All Status"
creatorsadminactive = "Active"
creatorsadminsuspended = "Suspended"
creatorsadminnewest = "Newest First"
creatorsadminoldest = "Oldest First"
creatorsadminhighestearnings = "Highest Earnings"
creatorsadminmostsubscribers = "Most Subscribers"
creatorsadminmostposts = "Most Posts"
creatorsadminnameaz = "Name A-Z"
creatorsadminperpage = "per page"
creatorsadminsearch = "Search"
creatorsadminclear = "Clear"
creatorsadmincardview = "Card View"
creatorsadminlistview = "List View"
creatorsadminshowingcard = "Showing card view"
creatorsadminshowinglist = "Showing list view"
creatorsadminshowing = "Showing"
creatorsadminof = "of"
creatorsadmincreators = "creators"
creatorsadminpage = "Page"
creatorsadminviewdetails = "View Details"
creatorsadminuseraccount = "User Account"
creatorsadminviewposts = "View Posts"
creatorsadminviewmedia = "View Media"
creatorsadminsuspend = "Suspend"
creatorsadminactivate = "Activate"
creatorsadminview = "View"
creatorsadminuser = "User"
creatorsadminlive = "Live"
creatorsadminoffline = "Offline"
creatorsadminsubs = "Subs"
creatorsadminposts = "Posts"
creatorsadmintips = "Tips"
creatorsadminearnings = "Earnings"
creatorsadmintokens = "tokens"
creatorsadmintotalearningslabel = "Total Earnings"
creatorsadminnocreators = "No Creators Found"
creatorsadminnocreatorsdesc = "No creators match your current filters. Try adjusting your search criteria."
creatorsadminconfirmsuspend = "Are you sure you want to suspend this creator? They will not be able to access their creator features."
creatorsadminconfirmactivate = "Are you sure you want to activate this creator?"
creatorsadminstatusupdated = "Creator status updated successfully"
creatorsadminerrorupdating = "Error updating creator status"

Version History

Version Date Changes
1.0 2024-11 Initial release with Phase 11 creator monetization
1.1 2024-12 Added Card/List view toggle
1.2 2025-01 Added live stream status indicators, quick actions menu