KevinEssence
Active member
You need to copy the banned avatar files from the default location styles/default/xenforo/avatars to whatever your image path is on your custom style, e.g. styles/<your_style_image_path>/xenforo/avatars
Thanks works!
You need to copy the banned avatar files from the default location styles/default/xenforo/avatars to whatever your image path is on your custom style, e.g. styles/<your_style_image_path>/xenforo/avatars
Yes.You know people have reported that before but the add on doesn't and shouldn't work like that.
If you can reproduce it reliably on some test users, would I be able to get admin access to your board to try and test it myself to find out what's causing it?
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:
<styleImagePath>/bannedavatar
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.
usually avatars that are server side will need you to purge cache to reflect on site? at least this what happens everytime i update the default avatarsThere's no reason it wouldn't work with CloudFlare as far as I know.
I am using Cloudflare and I faced difficulties with this new update. Disabled the addon. It's not CF!does this work with cloudflare? or should i like exclude that link from caching ?
There's no reason it wouldn't work with CloudFlare as far as I know.
Chris, there's a conflict with Sticky Multiple Account Info I guess as it generated thousands of errors.I don't personally use CloudFlare so you'll probably know more about it than me
Error Info
ErrorException: Fatal Error: Access level to WMTech_StickyMultipleAccountInfo_DataWriter_User::_postSave() must be public (as in class BannedAvatar_XenForo_DataWriter_User) - library/WMTech/StickyMultipleAccountInfo/DataWriter/User.php:0
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(71) "http://www.example.com/threads/xxxxxx"
["_GET"] => array(1) {
["/threads/xxxxxx"] => string(0) ""
}
["_POST"] => array(0) {
}
}
doesnt xenforo.com run cf? well i guess this mod isnt installed here so hard to testI don't personally use CloudFlare so you'll probably know more about it than me
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.
Oops... This is fixed now sorry about that.I am using Cloudflare and I faced difficulties with this new update. Disabled the addon. It's not CF!
Chris, there's a conflict with Sticky Multiple Account Info I guess as it generated thousands of errors.
Sampe:
Code:Error Info ErrorException: Fatal Error: Access level to WMTech_StickyMultipleAccountInfo_DataWriter_User::_postSave() must be public (as in class BannedAvatar_XenForo_DataWriter_User) - library/WMTech/StickyMultipleAccountInfo/DataWriter/User.php:0 Stack Trace #0 [internal function]: XenForo_Application::handleFatalError() #1 {main} Request State array(3) { ["url"] => string(71) "http://www.example.com/threads/xxxxxx" ["_GET"] => array(1) { ["/threads/xxxxxx"] => string(0) "" } ["_POST"] => array(0) { } }
No. It relies on the "is_banned" flag in the xf_user table and this is always 0 for not banned or 1 for banned regardless of the type of ban.Is there a way to show a different special avatar for temporary banned users?
If not: is it possible to only show the special avatar for permanently banned users?
any suggestions if this doesn't get the images to load? i'm on flat awesome + and they're not pulling up.You need to copy the banned avatar files from the default location styles/default/xenforo/avatars to whatever your image path is on your custom style, e.g. styles/<your_style_image_path>/xenforo/avatars
Fix incorrect usage of the banned avatar in some situations
ah, i didn't see that before. thanks Chris.Yeah, you just need to read the 1.3.8 update release notes.
We use essential cookies to make this site work, and optional cookies to enhance your experience.