Partner Control Center
Partner Control Center - User Guide
Page Location: ct/admin/preferred.php
Menu Path: Admin Panel → Import → Partners
Access Level: Administrator
Last Updated: 2026-01-01
Overview
The Partner Control Center is a comprehensive management interface for administering partner accounts in your ComusThumbz installation. Partners are privileged submitters who can submit galleries with preferential status, access specific categories, and optionally be granted access to various admin modules. This page allows you to add, edit, delete, and manage partner permissions, send bulk emails, and import/export partner data.
[Screenshot: preferred-full-page-overview]
Getting to This Page
- Log in to the admin panel
- In the left sidebar, click Import
- Click Partners
Alternatively, navigate directly to ct/admin/preferred.php on your installation.
System Requirements
This page requires the following system dependencies to function properly.
PHP Requirements
Required PHP Extensions
Required PHP Functions
This page uses standard PHP functions and does not require any typically disabled functions like exec() or shellexec().
Folder Permissions
Server Requirements
Installation Requirements
Folders Required
External Dependencies
Install Script Checklist
- [ ] Database tables created (tblPreferred, tblPreferredCategories, tblBlacklist)
- [ ] Config variables documented in config.inc.php template
- [ ] ct/templates/ folder created
- [ ] Email template files created if needed
- [ ] Mail server configuration verified
Page Layout
The Partner Control Center is organized into several distinct sections:
Page Header
[Screenshot: preferred-header-section]
The header section contains:
Header Action Buttons:
Statistics Cards
[Screenshot: preferred-stats-cards]
Three statistics cards display key metrics:
Add New Partner Section
[Screenshot: preferred-add-form]
A simple form to add new partners:
Partner List Table
[Screenshot: preferred-partner-table]
The main data table showing all partners with the following columns:
Features & Functions
Adding a New Partner
Purpose: Create a new partner account that can submit content with preferential status.
How to use:
- Locate the "Add New Partner" card
- Enter the partner's email address in the input field
- Click the Add Partner button
[Screenshot: preferred-add-partner-form]
What happens:
- A random 5-character password is generated
- The partner is added to the database
- An email notification is sent to the partner (if email templates exist)
- The page reloads showing the new partner in the list
Partner [email] added successfully. Partner has been sent an email notification.
Error: "Email already exists"
The email address is already registered as a partner. Search the list to find and edit the existing entry.
Error: "Invalid email address format"
Ensure the email is in a valid format (e.g., user@domain.com).
Editing Partner Settings
Purpose: Modify partner permissions, password, voting rank, and category access.
How to use:
- Locate the partner in the table
- Modify any fields directly in the table row:
- Change the email address
- Update the password
- Adjust the rank (1-10)
- Set max submits and min clicks values
- Toggle permission checkboxes
- Check/uncheck category assignments in the dropdown
- Click Update Partners button at the bottom of the table
[Screenshot: preferred-edit-partner-row]
Permission Checkboxes:
Assigning Categories
Purpose: Restrict which categories a partner can submit content to.
How to use:
- Find the partner's row in the table
- Below the email field, expand the category list
- Check the categories the partner should have access to
- Click Update Partners
[Screenshot: preferred-category-assignment]
If no categories are selected, the partner can submit to all public categories. Selecting specific categories restricts them to only those categories.
Deleting a Partner
Purpose: Remove a partner account from the system.
How to use:
- Find the partner in the table
- Click the trash icon in the Actions column
- A confirmation dialog will appear
- Click OK to confirm deletion
[Screenshot: preferred-delete-confirmation]
Deleting a partner is permanent. Their existing gallery submissions will remain but will no longer be associated with a partner account.
Email Functions
The Partner Control Center provides three email options:
Email All Partners
Location: Header button "Email Partners" OR "Email ALL" in Partner List header
How to use:
- Click Email Partners or Email ALL
- The email form opens with all partner emails pre-filled
- Edit the subject line if desired
- Remove any recipients you don't want to contact
- Compose your HTML message
- Click Send Mail
[Screenshot: preferred-email-partners-form]
Available Macros:
Email Non-Partners
Purpose: Contact submitters who are NOT registered partners.
Location: "Email Non-Partners" button in Partner List header
How to use:
- Click Email Non-Partners
- The form shows all submitter emails that are NOT in the partner list
- Remove any you don't want to contact
- Compose your message using the available macros
- Click Send Mail
This is useful for recruiting new partners from your existing content submitters.
Email All Submitters
Location: "Email ALL" button (emails everyone who has submitted content)
Sends to all email addresses in tblTgp (galleries table), regardless of partner status.
Export Function
Purpose: Export all partner data in a comma-separated format for backup or transfer.
How to use:
- Click Export in the header
- A text area displays the exported data
- Copy the content to save
[Screenshot: preferred-export-view]
Export Format:
email,password,vote,icq,minclicks,maxsubmits,categories,controls
Where:
categoriesare pipe-separated (e.g.,Amateur|Teen|MILF)controlsare pipe-separated permission flags (1 or 0 for each permission)
Import Function
Purpose: Bulk import partners from formatted text data.
How to use:
- Click Import in the header
- Paste partner data in the format shown
- Click Import
- Review the preview showing which entries are NEW vs already EXIST
- Confirm the import
[Screenshot: preferred-import-form]
Import Format:
email,pass,vote,icq,minclicks,maxsubmits,categories,controls
Lines prefixed with
! indicate existing partners (will be skipped).Lines prefixed with
: indicate new partners (will be imported).
Step-by-Step Usage
Setting Up a New Content Partner
- Navigate to Admin Panel → Import → Partners
- In the "Add New Partner" section, enter the partner's email
- Click Add Partner
- Find the new partner in the list
- Set their voting rank (typically 7-8 for trusted partners)
- Assign any category restrictions if needed
- Click Update Partners
Promoting a Partner to Moderator
- Find the partner in the list
- Check the Review checkbox (allows gallery moderation)
- Optionally check Category if they should manage categories
- Set a secure password in the Pass field
- Click Update Partners
- Send the partner their login credentials
Handling Blacklisted Partners
Partners whose emails appear in the blacklist are highlighted in red:
[Screenshot: preferred-blacklisted-partner]
- Identify blacklisted partners (red-highlighted rows with "Blacklisted" badge)
- Investigate why they're blacklisted via Admin Panel → Blacklist
- Either:
- Remove them from the partner list (delete)
- Remove them from the blacklist (if cleared)
Troubleshooting
Common Errors
Email Not Sending
Problem: Partner notification emails are not being delivered.
Solution:
- Verify PHP mail() function is working:
php -r "mail('test@example.com', 'Test', 'Test');" - Check if email templates exist:
ct/templates/emailpartner.txtct/templates/emailpartnersubject.txt
- Verify
$tgpemailis set in config.inc.php - Check spam folders for delivered emails
- Review mail server logs for errors
Import Not Working
Problem: Partners are not being imported from pasted data.
Solution:
- Verify the format matches:
email,pass,vote,icq,minclicks,maxsubmits,categories,controls - Ensure each entry is on a separate line
- Check that email addresses are valid
- Categories should use pipe separators (|), not commas
Related Pages
- Blacklist Management (
ct/admin/blacklist.php) - Manage blacklisted emails/URLs - Category Management (
ct/admin/categories.php) - Create and edit categories - Gallery Review (
ct/admin/admin.php) - Review submitted galleries - User Management (
ct/admin/users.php) - Manage registered users
Tips & Best Practices
- Security: Only grant MySQLAdmin and Settings access to highly trusted partners who need database or configuration access.
- Category Restrictions: Use category assignments to create specialized partner roles (e.g., a partner who only moderates "Amateur" content).
- Password Management: The system stores plain-text passwords (for email retrieval). Consider this when setting partner passwords.
- Rank System: Higher ranks (8-10) cause galleries to appear higher in rotation. Reserve high ranks for your best content partners.
- Min Clicks: Use the Min Clicks feature to guarantee exposure for premium partners' content before it expires.
- Regular Cleanup: Periodically review the partner list to remove inactive accounts and revoke unnecessary permissions.
- Email Templates: Create the email template files (
emailpartner.txt,emailpartnersubject.txt) in ct/templates/ for professional welcome emails.
Translatable Strings
The following text strings appear in this page and should be added to backend_translations.md:
Page Headers & Titles
- "Partner Control Center"
- "Manage partner accounts, permissions, and category access"
- "Dashboard"
Buttons & Actions
- "Email Partners"
- "Export"
- "Import"
- "Add Partner"
- "Update Partners"
- "Send Mail"
- "Cancel"
- "Back to Partners"
Statistics Cards
- "Total Partners"
- "With Admin Access"
- "Blacklisted"
Form Labels
- "Add New Partner"
- "Enter email address"
- "Partner List"
- "Email ALL"
- "Email Non-Partners"
- "Subject"
- "Recipients"
- "HTML Message"
- "Exported Data"
- "Import Data"
- "Import Preview"
Table Headers
- "Email / Categories"
- "Pass"
- "Rank"
- "Max Submits"
- "Min Clicks"
- "Review"
- "Partner"
- "Blacklist"
- "Category"
- "Settings"
- "Templates"
- "Import"
- "Autoscan"
- "MySQLAdmin"
- "Proxy"
- "Logs"
- "Build"
- "Edit"
- "Repair"
- "Actions"
Help Section
- "Partner Help Guide"
- "Overview"
- "Partner Types"
- "Passwords"
- "Gallery Status"
- "Categories"
- "Min Clicks"
- "Max Submits"
Messages
- "Partner added successfully"
- "Partners updated successfully"
- "Partner deleted successfully"
- "Partner has been sent an email notification"
- "Total Sent:"
- "Completed"
- "Email already exists"
- "Invalid email address format"
- "Please enter a valid email address"
- "Cannot set password to match sysadmin password"
- "No partners selected for update"
- "Invalid partner ID"
- "Database error: Failed to delete partner"
- "Database error: Failed to add partner"
- "Database error: Failed to update partners"
- "Invalid email format for partner ID"
- "Sent to"
- "No partners found. Add your first partner above."
- "Are you SURE you want to delete this partner:"
Help Text
- "Mail submitters who are NOT partners. Remove those from the list you do not want to contact."
- "Mail all your submitters. Remove those from the list you do not want to contact."
- "Mail all your partners. Remove those from the list you do not want to contact."
- "Note: You can use %name% and %password% macros to insert the name and password into the message."
- "Format: email,pass,vote,icq,minclicks,maxsubmits,categories,controls"
- "Its okay to have blanks - 1 entry per line."
- "Categories should be separated by pipes"
- "Controls represent the pages that the partner can access"
- "Import functionality to be implemented. Lines starting with ! already exist, lines starting with : are new."
Email Templates
- "Attention [sitename] Partners"
- "Attention [sitename] Submitters"