Hallo, Gast! ( — Registrieren)

Letzte Ankündigung: MyBB 1.8.41 veröffentlicht (16.09.26)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Avatar Gallery
#1
Eine neue Erweiterung wurde veröffentlicht: Avatar Gallery

Zitat:Avatar Gallery

Avatar Gallery adds a secure, categorized avatar picker to the standard MyBB Change Avatar page. Administrators organize images into folders, while the plugin automatically discovers and displays them as selectable collections.

Features
  • Categorized avatar gallery under User CP → Change Avatar

  • Automatic recursive image discovery

  • Subdirectories become selectable collections

  • Compact, scrollable avatar grid

  • Configurable default collection and gallery paths

  • Optional random avatar assignment for new registrations

  • Randomize existing users through Admin CP

  • Repair missing local or gallery avatar assignments

  • Give random avatars to users without an avatar

  • Replace a specific saved avatar path or URL

  • Background processing for large forums

  • Supports GIF, JPG, JPEG, JPE, BMP, PNG, and optional WebP

  • Secure server-side path and image validation

Requirements
  • MyBB 1.8.x

  • Avatar images stored in a web-accessible gallery directory

Installation


  1. Upload the contents of the included Upload directory to your MyBB root.

  2. Place avatar images inside:
    Code:
    images/avatars
  3. Create folders to organize avatars into collections:
    Code:
    images/avatars/ ├── general/ ├── fantasy/ ├── games/ │  └── rpg/ └── sci-fi/
  4. Install and activate Avatar Gallery under Admin CP → Configuration → Plugins.

  5. Review its settings under Admin CP → Configuration → Settings → Avatar Gallery.

Users can select gallery images under User CP → Change Avatar.

Settings

Avatar gallery directory

The filesystem directory MyBB scans, relative to the board root. Default:

Code:
images/avatars
Avatar gallery URL path

The public path used to display those images. This normally matches the gallery directory.

Allowed image extensions

Code:
gif,jpg,jpeg,jpe,bmp,png,webp
WebP is supported but must be enabled manually.

Default collection

Controls which collection appears first. Nested paths such as
Code:
games/rpg
are supported. Leave blank to use the first discovered collection.

Random avatar on registration

Assigns a random gallery avatar to newly registered users who would otherwise receive MyBB’s default avatar.

Avatar maintenance tools

Open:

Admin CP → Tools & Maintenance → Avatar Gallery Repair

Three maintenance actions are available:
  • Repair Broken Avatar: Replaces missing saved local or gallery avatars. This is useful after renaming, moving, or deleting gallery files and folders.

  • Fix No Avatar: Assigns random gallery avatars to users who currently have no saved avatar.

  • Randomize Existing: Replaces an exact saved avatar path or URL with random gallery avatars.

Operations affecting 500 users or fewer run immediately. Larger operations are queued automatically and processed in batches through MyBB’s scheduled-task system.

The page displays job progress, prevents duplicate jobs, requires confirmation, and records operations in the administrator log. External avatar URLs are not changed unless entered explicitly under Randomize Existing.

Security

Every gallery selection is validated on the server. The plugin confirms that the image exists inside the configured gallery, uses an allowed extension, and does not use directory traversal or an escaping symbolic link.

Users cannot submit arbitrary filesystem paths or URLs as gallery selections.

Upgrading

Upload the new files over the existing plugin files. Reinstallation is not required.

After upgrading, open Avatar Gallery Repair once so the scheduled task and Admin CP components are synchronized. Existing settings and valid avatar assignments are preserved.

Version 1.0.3 changes
  • Fixed HTTP 500 errors when saving gallery selections on strict MySQL or MariaDB installations.

  • Added tools for repairing broken avatars, fixing users without avatars, and randomizing matching existing avatars.

  • Added automatic immediate or background processing based on the number of affected users.

  • Added queued-job progress reporting and duplicate-job protection.

  • Added compatibility for gallery records created by earlier versions.

License and source

Avatar Gallery is released under the GNU General Public License v3.0.

GitHub repository
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Avatar Gallery MyBB.de Bot 29 9.575 03.05.2024, 03:15
Letzter Beitrag: MyBB.de Bot
  Avatar Gallery Manager MyBB.de Bot 15 5.581 07.04.2014, 14:42
Letzter Beitrag: Haustein
  Avatar Gallery MyBB.de Bot 0 2.471 10.09.2007, 14:00
Letzter Beitrag: MyBB.de Bot