Simple Local Avatars

Beschreibung

Fügt den Benutzerprofilen ein Avatar-Upload-Feld hinzu, wenn der aktuelle Benutzer über Medienberechtigungen verfügt. Erzeugt die gewünschten Größen auf Anfrage, genau wie Gravatar! Einfach und leicht.

Bearbeite einfach ein Benutzerprofil und scrolle zum neuen Feld „Avatar“. Das Plugin kümmert sich um das Zuschneiden und die Größenanpassung!

  1. Stores avatars in the „uploads“ folder where all of your other media is kept.
  2. Has a simple, native interface.
  3. Fully supports Gravatar and default avatars if no local avatar is set for the user – but also allows you turn off Gravatar.
  4. Erzeugt bei Bedarf die gewünschte Avatargröße (und speichert die neue Größe aus Effizienzgründen), so dass sie gut aussieht, genau wie Gravatar!
  5. Lets you decide whether lower privilege users (subscribers, contributors) can upload their own avatar.
  6. Enables rating of local avatars, just like Gravatar.

[2.7.5] – 2023-05-12

2.7.4 – 2023-02-23

2.7.3 – 2023-01-16

2.7.2 – 2023-01-13

2.7.1 – 2022-12-08

  • Added: Added missing files from the last release and changed the readme file to fix the bullet points and added fullstops.

2.7.0 – 2022-12-08

2.6.0 – 2022-09-13

Note that this release bumps the minimum required version of WordPress from 4.6 to 5.7 and PHP from 5.6 to 7.4.

2.5.0 – 2022-06-24

2.4.0 – 2022-05-10

2.3.0 – 2022-04-25

2.2.0 – 2020-10-27

2.1.1 – 2019-05-07

  • Gefixt: Lösche keine Avatare, nur weil sie nicht auf dem lokalen Dateisystem vorhanden sind. Dies führte gelegentlich dazu, dass Avatare gelöscht wurden, wenn WordPress-Uploads an anderer Stelle gespeichert wurden, z.B. in einem Cloud-Dienst.

2.1 – 2018-10-24

  • Neu: Alle Avatar-Uploads gehen nun in die Mediathek. Keine Sorge – Benutzer, die nicht in der Lage sind, Dateien hochzuladen, können ansonsten den Inhalt deiner Mediathek nicht sehen. Dies ermöglicht es lokalen Avataren, andere Funktionen zu respektieren, die deine Website in Bezug auf hochgeladene Bilder bietet, wie z.B. externes Hosting.
  • New: REST API Unterstützung für das Erhalten und Aktualisieren.
  • Neu: Verwende .org-Sprachpakete, anstatt Übersetzungen zu bündeln.
  • Fixed: Vermeide einen ArgumentCountError.
  • Fixed: Ein paar Internationalisierungsprobleme.

2.0 – 2013-06-02

  • Choose or upload an avatar from the media library (for users with appropriate capabilities)!
  • Local avatars are rated for appropriateness, just like Gravatar
  • A new setting under Discussion enables administrators to turn off Gravatar (only use local avatars)
  • Delete the local avatar with a single button click (like everywhere else in WordPress)
  • Uploaded avatar file names are appended with the timestamp, addressing browser image caching issues
  • New developer filter for preventing automatic rescaling: simple_local_avatars_dynamic_resize
  • New developer filter for limiting upload size: simple_local_avatars_upload_limit
  • Upgraded functions deprecated since WordPress 3.5
  • Fixed translations not working on front end (although translations are now a bit out of date…)
  • Hungarian translation added (needs further updating again with new version)
  • Assorted refactoring / improvements under the hood

1.3.1 – 2011-12-29

  • Brazilian Portuguese and Belarusian translations
  • Bug fixes (most notably correct naming of image files based on user display name)
  • Optimization for WordPress 3.2 / 3.3 (substitutes deprecated function)

1.3 – 2011-09-22

  • Avatar file name saved as „user-display-name_avatar“ (or other image extension)
  • Russian localization added
  • Assorted minor code optimizations

1.2.4 – 2011-07-02

  • Support for front end avatar uploads (e.g. Theme My Profile)

1.2.3 – 2011-04-04

  • Russian localization

1.2.2 – 2011-03-25

  • Fix for avatars uploaded pre-1.2.1 having a broken path after upgrade

1.2.1 – 2011-01-26

  • French localization
  • Simplify uninstall code

1.2 – 2011-01-26

  • Fix path issues on some IIS servers (resulting in missing avatar images)
  • Fix rare uninstall issues related to deleted avatars
  • Spanish localization
  • Andere kleinere Optimierungen unter der Haube

1.1.3 – 2011-01-20

  • Löscht alte Avatare beim Ändern des Avatars richtig.
  • Behebt „foreach“-Warnung im Debug-Modus bei der Aktualisierung von Avatar-Bildern.

1.1.2 – 2011-01-18

  • Norwegische Lokalisierung

1.1.1 – 2011-01-18

  • Italienische Lokalisierung

1.1 – 2011-01-18

  • Alle Benutzer (unabhängig von den Berechtigungen) können standardmäßig Avatare hochladen. Um das Hochladen von Avataren auf Benutzer mit Upload-Berechtigungen (Autoren und höher) zu beschränken, aktiviere die entsprechende Option unter Einstellungen > Diskussion. Dies war das Standardverhalten in 1.0.
  • Lokalisierungsunterstützung; Deutsch inklusive

1.0 – 2011-01-18

  • Initial release.

Screenshots

  • Avatar-Upload-Feld auf einer Benutzer-Profilseite

Installation

  1. Einfache Installation über das WordPress-Plugin-Bedienfeld oder manuelles Herunterladen des Plugins und Hochladen des extrahierten Ordners in das Verzeichnis /wp-content/plugins/.
  2. Aktiviere das Plugin über das Plugins-Menü in WordPress
  3. Wenn Du möchtest, dass nur Benutzer mit Datei-Upload-Berechtigung Avatare hochladen können, aktiviere die entsprechende Option unter Einstellungen > Diskussion
  4. Starte das Hochladen von Avataren, durch bearbeiten der Benutzerprofile!

Verwende Avatare in deinem Theme mithilfe der eingebauten get_avatar() Funktion von WordPress: https://codex.wordpress.org/Function_Reference/get_avatar

Du kannst auch get_simple_local_avatar() (mit denselben Argumenten) verwenden, um lokale Avatare etwas schneller abzurufen. Dadurch wird dein Theme jedoch von diesem Plugin abhängig.

Rezensionen

29. August 2023 1 Antwort
When I activate this plugin, I can't add an image anymore in Elementor Pro which is a big problem. I get some errors on the console log related to the "media-audiovideo.min.js". The errors seem to indicate that there's an issue with trying to access the 'id' property of an object that is undefined. It usually happens when there are conflicts with other JavaScript codes.
20. August 2023 1 Antwort
This should be in core! Such a simple action that this plugin does superbly!
17. Juni 2023 1 Antwort
Ever try explaining Gravatars to a non-technical client? Good luck with that. This plugin gives us an easy way to add user profile avatars for our clients without them ever having to know a gravatar from a platypus.
3. März 2023 1 Antwort
The support of the WordPress REST API is a lifesaver for me. Simple Local Avatars is the only avatar plugin I know of that supports the REST API.I used it in my React with WordPress Tutorial. Without it, the whole Tutorial wouldn't have worked.
2. Juli 2022 1 Antwort
While I support the principles behind Gravatars, my real-world experience is this: (1) I need different avatars of myself on different sites where I have professional or personal roles; (2) therefore a single universal Gravatar does not work for me, and I'm not going to set up different Gravatar accounts for different sites because, hey, c'mon; (3) for a low volume site with a number of known contributors, Gravatars add an extra layer of external complexity. The "Simple Local Avatar" plug-in works for me, and addresses my pain points in a helpful way that is consistent with the way Gravatars work. The developer is going out of his way to make sure that a site with this plug-in will still accept and use Gravatars, but adds the common-sense capability for a user to upload their own Avatar photo. Dirt-simple and easy to use. It did not introduce any incompatibilities for me, and I appreciate that it just works.
Alle 73 Rezensionen lesen

Mitwirkende & Entwickler

„Simple Local Avatars“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Simple Local Avatars“ wurde in 20 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Simple Local Avatars“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.