MyBB Community Forums

Full Version: default user avatar variable does not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, is it possible to add possibility to show default user avatar by using {$mybb->user['avatar']}?
Now, if we have this variable in our header of forum next to username if user didn't change his avatar (has default avatar) the variable is empty and avatar isn't displayed.
However, its default avatar is displayed correctly elsewhere in the forum.
Therefore, you need to use an additional plugin, e.g. https://mods.mybb.com/view/default-avatar to show correct avatar in header.
Of course, if the avatar has been set, it will be displayed correctly.


I think this is a big problem for forum administrators and it should be simplified whenever possible.  Angel
Because we aren't adding new features in on 1.8 we wouldn't add this unfortunately, however I would imagine this would be sorted in 1.9.