WordSyncNC — WordPress Nextcloud Integration

WordSyncNC — WordPress Nextcloud Integration

A complete solution for automatic and secure user synchronization between WordPress and Nextcloud.

Main Features

1. Automatic User Synchronization

  • Automatic creation: WordPress users are automatically created in Nextcloud.
  • Automatic updates: Changes in email, name, and role are synchronized.
  • Bulk sync: Synchronize all existing users at once.
  • Duplicate check: Prevents creation of existing users in Nextcloud.
  • Scheduled sync: Configurable cron jobs for periodic synchronization.

2. Group and Permission System

  • Automatic mapping of WordPress roles to Nextcloud groups.
  • Creation of custom groups with specific configurations.
  • Granular management of who can sync and manage users.

3. Storage Quota System

  • Role-based and user-specific quotas (e.g., 5GB, 100MB).
  • Format validation and automatic synchronization of quotas in Nextcloud.

4. Complete Admin Interface

  • Responsive dashboard with real-time statistics.
  • Server configuration and real-time connection testing.
  • Manual or bulk synchronization via interface.

5. Logging and Monitoring System

  • Detailed logs (info, warning, error) with CSV export.
  • Real-time logging and operation duration tracking.

6. Advanced Statistics

  • Interactive dashboard with success rate and storage usage graphs.
  • Sync trends by period and role distribution.

7. Cache, Backup, and Notifications

  • Smart caching for performance, automatic cleanup, and cache metrics.
  • Backup and restore of settings with scheduling and old backup cleanup.
  • Customizable notifications (errors, successes) with complete history.

8. Multilingual Support

  • Translation files (.pot/.po) and localized interface.

Technical Advantages

Security

  • HTTPS connection, Bearer/API Token authentication, and audit logs.
  • Permission validation and robust error handling.

Performance

  • Asynchronous operations (queue/cron), optimized caching, pagination, and configurable timeouts.

Reliability & Scalability

  • Automatic rollback, continuous monitoring, modular architecture, and optimized database.
Practical Example (pseudo-code)
// Pseudo-code: user creation flow
if (user_register) {
  validate_user();
  queue_for_sync(user_id);
  record_log('queued', user_id);
}
            

Use Cases

Corporate Environments

  • Unified authentication portal and centralized management.

Educational Institutions

  • Automatic student sync, class-based groups, and storage control.

Government Organizations

  • Compliance, data security, and full audit logs.

Agencies & Freelancers

  • Client isolation, custom quotas, and automation.

Technical Requirements

  • WordPress 5.0+, PHP 7.4+, MySQL/MariaDB compatible.
  • Nextcloud 20+ with OCS API enabled and credentials (admin or token).
  • HTTPS recommended and connectivity between servers.

WordPress Integration Hooks

  • user_register, profile_update, delete_user, wp_ajax_*.
  • Uses WordPress Settings API, User Meta, and capabilities system.

Nextcloud Compatibility

  • Uses OCS API, supports tokens, user/group/quota endpoints.
  • Compatible with Nextcloud 20+ (stable endpoints and fallbacks).

Support & Documentation

  • Installation guides, configuration manuals, and troubleshooting tips.
  • Direct technical support channels and continuous plugin updates.
© 2025 - INFOBECKER. ALL RIGHT RESERVED. CNPJ: 31775029/0001-79

🧩 WordSyncNC – WordPress Nextcloud Integration

📖 Overview

WordSyncNC is an advanced integration plugin connecting WordPress and Nextcloud, designed to automatically synchronize users, groups, quotas, and permissions between both platforms.
It’s ideal for businesses, schools, and organizations that need centralized and secure user management with full automation and an intuitive interface.


 

⚙️ Installation

🔹 Install via WordPress Dashboard

  1. Log in to your WordPress admin panel.

  2. Go to Plugins → Add New.

  3. Click Upload Plugin and select the wordsyncnc.zip file.

  4. Click Install Now.

  5. Once installed, click Activate Plugin.

🔹 Manual Installation via FTP

  1. Extract the .zip file.

  2. Upload the wordsyncnc folder to:

    /wp-content/plugins/
    
  3. Log in to your WordPress dashboard and activate the plugin under Plugins → Installed Plugins → WordSyncNC → Activate.


 

🧰 Initial Configuration

After activation:

  1. Navigate to Settings → WordSyncNC in your WordPress admin.

  2. Fill in the required fields:

    FieldDescription
    Nextcloud URLFull address of your Nextcloud server (e.g., https://cloud.yourdomain.com)
    Admin User or TokenNextcloud admin user or app token
    Password or App TokenCorresponding password or access token
    Default GroupDefault Nextcloud group for newly synced users
    Default QuotaDefault storage quota for new users (e.g., 1GB, 500MB)
  3. Click Save Settings.

  4. Use the “Test Connection” button to confirm communication with your Nextcloud server.


 

🔄 User Synchronization

WordSyncNC performs both automatic and manual synchronization between WordPress and Nextcloud.

🔹 Automatic Synchronization

  • User Creation: When a new WordPress user is created, it’s automatically added to Nextcloud.

  • User Update: Changes in name, email, role, or quota are instantly reflected in Nextcloud.

  • User Deletion: When a user is deleted in WordPress, they can optionally be removed from Nextcloud.

  • Cron Jobs: Automatic sync can be scheduled using WP-Cron (customizable intervals).

🔹 Manual Synchronization

  • Go to Users → All Users.

  • Use the available buttons:

    • “Sync Now” – Sync an individual user.

    • “Sync All” – Sync all existing WordPress users at once.


 

👥 Groups and Permissions

🔹 Automatic Role Mapping

  • WordPress roles (Administrator, Editor, Author, etc.) are automatically mapped to matching Nextcloud groups.

  • If a group doesn’t exist in Nextcloud, WordSyncNC creates it automatically.

🔹 Custom Groups

  • You can define custom groups and associate them with specific WordPress roles.

  • Configure this under Settings → Groups & Permissions.


 

💾 Storage Quotas

  • Assign default storage quotas per WordPress role (e.g., Administrators: 10GB, Subscribers: 1GB).

  • Edit individual user quotas from each user’s WordPress profile.

  • Supported formats: MB, GB, TB.

  • All changes are automatically synced with Nextcloud.


 

🧩 Admin Interface

📋 Main Dashboard

Located at Dashboard → WordSyncNC

Includes:

  • Real-time sync statistics (success/failure rates)

  • Server connection status

  • Total synced user count

  • Live activity logs

⚙️ Sub-Menus

  • Settings: Configure server URL, credentials, groups, quotas, and cron job frequency.

  • Synchronization: Manage manual and bulk syncs.

  • Logs: View detailed operation logs (exportable in CSV).

  • Statistics: Interactive dashboard with visual metrics and graphs.


 

📊 Logs and Monitoring

All plugin operations are logged with three severity levels:

Log TypeDescription
InfoNormal operations (e.g., user created successfully)
WarningNon-critical issues (e.g., user already exists)
ErrorCritical errors (e.g., authentication failure, server timeout)

Access via Dashboard → WordSyncNC → Logs.
Available options:

  • Clear all logs

  • Export as CSV

  • View live updates


 

📈 Advanced Statistics

Interactive dashboard displays:

  • Sync success/failure rates

  • User distribution by role

  • Storage usage per group

  • Weekly and monthly trends


 

🔔 Notifications

  • Success: Confirmation when sync completes successfully.

  • Error: Automatic alerts for failed operations (displayed in the dashboard and optionally via email).

  • Customizable: Admins can choose which alerts to receive.


 

💾 Backup and Restore

  • Manual Backup: Generate configuration backups anytime.

  • Restore: Roll back to previous settings with one click.

  • Scheduled Backups: Set up automatic periodic backups.

  • Cleanup: Automatically remove old backups to save space.


 

🌍 Multilingual Support

  • Fully translated into English (US) and Portuguese (Brazil).

  • Includes .pot, .po, and .mo translation files.

  • Compatible with Loco Translate and Poedit for custom translations.


 

🔒 Security and Performance

CategoryDescription
SecurityHTTPS, API tokens, and full audit logs
PerformanceAsynchronous sync and smart caching
ReliabilityRobust error handling and automatic rollback
ScalabilityModular architecture supporting thousands of users

 

🧠 Available Hooks and Filters

Hook / FilterDescription
user_registerTriggered when a new WordPress user is created
profile_updateUpdates Nextcloud profile data
delete_userRemoves user from Nextcloud
wordsyncnc_before_syncRuns before a sync starts
wordsyncnc_after_syncRuns after a successful sync

 

🧱 Technical Requirements

RequirementMinimum Version
WordPress5.0+
PHP7.4+
MySQL / MariaDBCompatible with WordPress
Nextcloud20+
HTTPSStrongly recommended
OCS APIMust be enabled on the Nextcloud server

 

🧩 Compatibility

  • Fully compatible with WordPress Multisite

  • Works with user management plugins (e.g., User Role Editor)

  • Verified support for Nextcloud 20 – 30+


 

🆘 Support and Updates


 

Final Summary

WordSyncNC is an enterprise-ready integration solution for WordPress and Nextcloud.
It combines automation, security, and scalability, eliminating the manual effort of managing users across multiple systems.

Perfect for teams, educational institutions, public organizations, and agencies needing automated and secure user, group, and quota synchronization between WordPress and Nextcloud.