MyBB Community Forums

Full Version: Different default avatar for different user titles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to set different default avatars for different user titles? So user doesn't upload avatar, he got different default avatar while he got 0 msg,  when he reaches 100, he gets different default avatar.
I think this cannot be made by MyBB itself. Maybe plugin would be needed
(2016-02-13, 04:48 PM)Darkrad Wrote: [ -> ]Is it possible to set different default avatars for different user titles? So user doesn't upload avatar, he got different default avatar while he got 0 msg,  when he reaches 100, he gets different default avatar.

Remove the avatar code in the forum setting so it won't be an option, then use the "Custom Group URL" to paste a picture there so everyone will have it,

The custom group URL can be found in:

admin cp > groups    Then selected the group and scroll down till you find it.
you can use PHP in Templates / Complex Templates
for example for postnum :
<if $post['postnum'] > 6 then> <img src="http://community.mybb.com/images/default_avatar.png" /> <else> {$post['useravatar']}</if>