WP Manifestindependent plugin directory
manifest / admin / ace-open-manager

Ace Open Manager Pro

A Wordpress Plugin.

by Mohamed Houssem Eddine SAIGHI & Gemini · github.com/houssemdub/ace-open-manager

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/houssemdub/ace-open-manager/archive/refs/heads/main.zip

A powerful, full-featured WordPress file manager and database manager with an intuitive interface, advanced permissions, and enterprise-grade features.


📋 Table of Contents


✨ Features

🗂️ File Manager

  • Full File System Access - Browse, upload, download, edit, delete, and manage files
  • Drag & Drop Upload - Intuitive file uploading with drag-and-drop support
  • Bulk Operations - Select multiple files for deletion, copying, or moving
  • In-Browser Editor - CodeMirror-powered syntax highlighting for editing files
  • Image Preview - View images directly in the browser
  • ZIP Extraction - Extract ZIP archives with a single click
  • Media Library Import - Import files directly to WordPress Media Library
  • Copy/Cut/Paste - Standard file operations with clipboard support
  • Context Menu - Right-click context menu for quick actions
  • Search/Filter - Real-time file search and filtering
  • File Permissions Display - View file permissions (chmod)
  • Folder Size Calculator - Calculate total size of directories
  • Breadcrumb Navigation - Easy navigation through directory structure

🗄️ Database Manager

  • Visual Table Browser - Browse all database tables with pagination
  • Table Structure Viewer - View table schema and column details
  • SQL Query Editor - Execute custom SQL queries with syntax highlighting
  • Safe Query Execution - Built-in safeguards for database operations
  • Real-time Results - Instant display of query results
  • Row Count Display - See total rows and pagination info
  • Table Search/Filter - Quickly find specific tables

💾 Backup Manager

  • Full Site Backups - Complete WordPress installation backup
  • Database-Only Backups - Export entire database to SQL
  • Files-Only Backups - Backup wp-content directory
  • One-Click Restore - Download backups for restoration
  • Automated Timestamps - Backups named with creation date/time
  • Secure Storage - Protected backup directory with .htaccess
  • Backup Management - View, download, and delete existing backups

🔐 Advanced Permissions System

  • Role-Based Access Control - Configure permissions per WordPress role
  • User-Specific Permissions - Override role permissions for individual users
  • Granular Action Control - Enable/disable specific actions (upload, delete, edit, etc.)
  • Root Directory Restriction - Limit users to specific directories
  • File Extension Blacklist - Block dangerous file types per role
  • Admin Override - Administrators always have full access

📊 Activity Logging

  • Comprehensive Audit Trail - Track all file operations
  • User Attribution - See who performed each action
  • Timestamp Tracking - Date and time of each operation
  • Action Details - View complete details of modifications
  • Log Persistence - Database-stored activity logs

Developer Features

  • Shortcode Support - Embed file listings on frontend
  • AJAX-Powered - Fast, responsive interface
  • WordPress Filesystem API - Native WordPress file handling
  • Nonce Security - CSRF protection on all operations
  • Capability Checks - WordPress capability-based security
  • Clean Code - Well-documented, organized codebase
  • Extensible Architecture - Easy to extend and customize

📸 Screenshots

File Manager Interface

File Manager

Database Manager

Database Manager

Backup Manager

Backup Manager

Permissions Configuration

Permissions


💿 Installation

Method 1: WordPress Admin Panel

  1. Download the ace-open-manager.php file
  2. Go to Plugins > Add New > Upload Plugin
  3. Choose the downloaded file and click Install Now
  4. Click Activate Plugin

Method 2: Manual Installation

  1. Download the plugin file
  2. Upload to /wp-content/plugins/ace-open-manager/ directory
  3. Activate the plugin through the Plugins menu in WordPress

Method 3: FTP Upload

  1. Download and extract the plugin
  2. Upload the entire ace-open-manager folder to /wp-content/plugins/
  3. Activate via WordPress admin panel

🚀 Quick Start

Initial Setup

  1. Activate the Plugin

    • Upon activation, the plugin automatically creates:
      • Database table for activity logs (wp_afm_logs)
      • Backup directory (wp-content/ace-manager-backups/)
      • Security files (.htaccess, index.php)
  2. Access the File Manager

    • Navigate to Ace Manager > File Manager in your WordPress admin
    • Default location: WordPress root directory
  3. Configure Permissions (Optional)

    • Go to Ace Manager > Role Permissions
    • Set access levels for different user roles
    • Define root directories and allowed actions
  4. Start Managing Files

    • Upload, edit, delete, and organize files
    • Use drag-and-drop for easy file uploads
    • Right-click for context menu actions

🗂️ File Manager

Key Features

Upload Files

  • Button Upload: Click the "Upload" button
  • Drag & Drop: Drag files directly into the browser window
  • Multi-File Support: Upload multiple files simultaneously

Edit Files

  • Click on any text file (PHP, HTML, CSS, JS, TXT, etc.)
  • CodeMirror editor with syntax highlighting
  • Save changes directly in the browser

File Operations

  • Rename: Right-click → Rename or click Rename in row actions
  • Delete: Select multiple files and click "Delete Selected"
  • Copy/Cut/Paste: Standard clipboard operations
  • Download: Download individual files or entire folders (as ZIP)

ZIP Extraction

  • Right-click on any .zip file
  • Select "Extract"
  • Archives are extracted to the same directory

Media Library Import

  • Right-click on image files
  • Select "Import to Media Library"
  • File becomes available in WordPress media library

🗄️ Database Manager

Features

Browse Tables

  • Click any table in the sidebar to view contents
  • Paginated results (50 rows per page)
  • Responsive table layout

View Structure

  • Click "Structure" tab to see column definitions
  • View field types, keys, and attributes
  • Understand table schema

Execute SQL Queries

  • Click "SQL" tab
  • Enter custom SQL queries
  • View results or affected row counts
  • ⚠️ Warning: Direct database access can cause data loss

Example Queries

-- Select all posts
SELECT * FROM wp_posts WHERE post_status = 'publish' LIMIT 10;

-- Count users
SELECT COUNT(*) FROM wp_users;

-- Update post title
UPDATE wp_posts SET post_title = 'New Title' WHERE ID = 123;

💾 Backup Manager

Creating Backups

Full Backup

  • Includes all files (wp-content) + database
  • Creates a single ZIP archive
  • Recommended for complete site migration

Files Only Backup

  • Backs up entire wp-content directory
  • Excludes database
  • Good for theme/plugin backups

Database Only Backup

  • Exports all tables to .sql file
  • Lightweight and fast
  • Good for content backups

Managing Backups

  • View all backups with size and creation date
  • Download backups for restoration
  • Delete old backups to save disk space

Restoring from Backup

  1. Download backup file from Backup Manager
  2. For files: Extract ZIP to appropriate location
  3. For database: Import .sql file via phpMyAdmin or command line

🔐 Permissions System

Role-Based Permissions

Configure access for each WordPress role (except Administrator):

Enable File Manager Access

  • Toggle to allow/deny role access to File Manager

Root Directory

  • Restrict users to specific folders
  • Example: wp-content/uploads/user-files
  • Prevents access to sensitive system files

Allowed Actions

  • ☑️ Upload
  • ☑️ Create Folders
  • ☑️ Create Files
  • ☑️ Delete
  • ☑️ Rename/Move
  • ☑️ Edit Files
  • ☑️ Extract ZIPs
  • ☑️ Import to Media Library

Disallowed File Extensions

  • Block specific file types
  • Default: php,exe,js
  • Prevents malicious file uploads

User-Specific Permissions

Override role permissions for individual users:

  1. Go to Ace Manager > User Permissions
  2. Enter a User ID
  3. Configure custom permissions
  4. User permissions override role settings

📊 Activity Logging

All file operations are logged to the database:

  • Timestamp: When the action occurred
  • User: Who performed the action
  • Action: Type of operation (upload, delete, edit, etc.)
  • Path: File or folder affected
  • Details: Additional information

Viewing Logs

Navigate to Ace Manager > Activity Log to view:

  • Last 100 activities
  • User attribution
  • Complete audit trail
  • Filterable and searchable

📝 Shortcode Usage

Display file listings on the frontend using the shortcode:

[ace_file_manager path="uploads/documents"]

Parameters

  • path: Directory path relative to WordPress root
  • Example: wp-content/uploads/downloads

Example Usage

// In a post or page
[ace_file_manager path="wp-content/uploads/public-downloads"]

// In a template file
<?php echo do_shortcode('[ace_file_manager path="uploads"]'); ?>

Output

  • Displays a list of downloadable files
  • Only shows files (not folders)
  • Generates download links automatically

🔒 Security

Built-in Security Features

Nonce Verification - All AJAX requests protected against CSRF
Capability Checks - WordPress role-based access control
Path Sanitization - Prevents directory traversal attacks
File Extension Filtering - Blocks dangerous file types
SQL Injection Protection - Prepared statements in database queries
XSS Prevention - All output properly escaped
Secure Backup Storage - .htaccess protected directory
Activity Logging - Complete audit trail

Best Practices

⚠️ Do Not:

  • Give File Manager access to untrusted users
  • Allow unrestricted file uploads
  • Disable role permissions for production sites
  • Execute SQL queries without backups

Do:

  • Regularly review activity logs
  • Use role-based permissions
  • Create backups before major operations
  • Test on staging environment first
  • Keep WordPress and plugins updated

❓ FAQs

Q: Who can access the File Manager?

A: By default, only Administrators have full access. Other roles need permissions configured in Ace Manager > Role Permissions.

Q: Can I restrict users to specific folders?

A: Yes! Set the "Root Directory" in role permissions. Users will only see files within that directory.

Q: Is it safe to edit PHP files?

A: Editing PHP files can break your site if done incorrectly. Always create a backup first and test changes carefully.

Q: How do I restore a backup?

A: Download the backup file, then manually restore it via FTP (for files) or phpMyAdmin (for database). Future versions may include one-click restoration.

Q: Can I use this on a multisite installation?

A: The plugin is designed for single-site installations. Multisite compatibility is planned for future releases.

Q: What file types can be edited?

A: Text-based files including PHP, HTML, CSS, JS, TXT, JSON, XML, MD, SQL, CSV, and more.

Q: Are there any file size limits?

A: The file editor has a 2MB limit for safety. Larger files should be edited via FTP or SSH.

Q: Can I disable activity logging?

A: Currently, activity logging is always enabled for security and audit purposes.


🛣️ Roadmap

Version 3.3.0 (Planned)

  • [ ] One-click backup restoration
  • [ ] Scheduled automatic backups
  • [ ] File compression before download
  • [ ] Advanced file search with regex
  • [ ] Thumbnail view for image galleries

Version 4.0.0 (Future)

  • [ ] Cloud storage integration (S3, Dropbox, Google Drive)
  • [ ] FTP/SFTP connection management
  • [ ] File versioning and history
  • [ ] Multisite compatibility
  • [ ] REST API endpoints
  • [ ] CLI commands via WP-CLI

🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Report Bugs: Open an issue on GitHub with detailed information
  2. Suggest Features: Share your ideas for improvements
  3. Submit Pull Requests: Fork the repo and submit your changes
  4. Improve Documentation: Help make the docs clearer and more comprehensive
  5. Translate: Add translations for your language

Development Setup

# Clone the repository
git clone https://github.com/houssemdub/Ace-Open-Manager.git

# Create a branch for your feature
git checkout -b feature/your-feature-name

# Make your changes and commit
git commit -m "Add your feature"

# Push to GitHub
git push origin feature/your-feature-name

# Open a Pull Request

👨‍💻 Credits

Developed by: Mohamed Houssem Eddine SAIGHI
AI Assistant: Gemini
Version: 3.2.0
License: GPL-2.0-or-later

Technologies Used

  • WordPress - Core platform
  • CodeMirror - Syntax highlighting editor
  • AJAX - Asynchronous operations
  • PHP 7.4+ - Server-side logic
  • MySQL - Database management
  • JavaScript (ES6+) - Frontend interactivity

📄 License

This plugin is licensed under the GPL v2 or later.

Ace Open Manager Pro
Copyright (C) 2024 Mohamed Houssem Eddine SAIGHI

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

🔗 Links


⭐ Show Your Support

If you find this plugin helpful, please:

  • Star the repository on GitHub
  • 🐛 Report bugs to help improve the plugin
  • 💡 Suggest features you'd like to see
  • 📢 Share with others who might benefit

📞 Support

For support, feature requests, or bug reports:


Made with ❤️ by Mohamed Houssem Eddine SAIGHI

Empowering WordPress developers with powerful file management tools