Special Avatar for Banned Members

Плагин Special Avatar for Banned Members 1.3.10

Нет прав доступа на загрузку
Свой аватар для забаненных пользователей.
  • Исправление ошибок, в том числе, о которой говорилось в обзоре ресурса
Fix incorrect usage of the banned avatar in some situations
Fix incorrect usage of the banned avatar in some situations

Problem with 1.3.8
There was a mistake in the extended DataWriter in 1.3.8. If you're already running 1.3.8 you can just upload the files to fix the problem.
Bug fix and avatar path location change
This release mostly fixes an issue which made it appear as though a member who has been unbanned has had their original avatar deleted.

In reality, no files were being deleted, however some data was left behind (specifically the avatar_date field in the xf_user table) which tricked XF into thinking it should be looking for an uploaded avatar.

If the user had an uploaded avatar before they were banned, this would be unaffected after being unbanned. However, if the user had never uploaded an avatar before, when they were unbanned, XF would be expecting them to have one, but of course not being able to find it.

This issue is now fixed, but it is not fixed retroactively for unbanned users who may now appear to be missing an avatar. The workaround for these users is to edit them in the Admin CP and check the "Delete avatar" checkbox - this reverts them back to the default avatar.

This update also changes the location where the banned avatar is stored. The banned avatars are now stored in the following location:


If you have edited the banned avatars in the past, you simply need to copy them from <styleImagePath>/xenforo/avatars into the <styleImagePath>/bannedavatar directory.

The exact location depends on what is configured as your imagePath style property.
  • Мне нравится
Реакции: SmoothDenis и Unsubdued
Сверху Снизу