WP Manifestindependent plugin directory
manifest / users / wpfcavatarsync

FluentCommunity Avatar Sync

Wordpress plugin to sync Fluentcommunity Avatar picture with wordpress

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/melchinger/wpfcavatarsync/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Synchronises avatars maintained in FluentCommunity with WordPress user profiles. The plugin stores the FluentCommunity avatar as a media attachment, updates it whenever a profile is saved, and prioritises the synced avatar over Gravatar across the site.

Features

  • Downloads FluentCommunity avatars during user registration and profile updates (both back-end and front-end).
  • Skips unnecessary downloads when the avatar URL has not changed.
  • Automatically replaces the default WordPress avatar URL (including Gravatar) with the synced attachment.
  • Cleans up previously synced avatars when a new one is stored (filterable).
  • Exposes filters and actions to customise field detection, cleanup behaviour, and to hook into success or failure events.

Installation

  1. Copy the plugin folder into your WordPress installation's wp-content/plugins directory.
  2. Activate FluentCommunity Avatar Sync from the WordPress Plugins screen.

Customisation

Use the provided filters and actions to adapt the plugin to your FluentCommunity setup:

  • fc_avatar_sync_post_fields – Adjust the list of $_POST field names that may contain the avatar URL.
  • fc_avatar_sync_meta_fields – Adjust the user meta keys checked for an avatar URL.
  • fc_avatar_sync_delete_previous_attachment – Return false to keep the previously synced attachment.
  • fc_avatar_sync_updated – Fires after a new avatar attachment has been saved.
  • fc_avatar_sync_failed – Fires when the avatar could not be downloaded.

Requirements

  • WordPress 5.8 or later.
  • PHP 7.4 or later.