MyBB Community Forums

Full Version: Avatar help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,
I'm new at this stuff, but I got one question about avatar dimensions.


Can it be different for some users?
I'm wokring on VIP group on my forum, and I want them to have different dimension avatars. Is it possible?
Also, I'm wondering if anyone knows how to set default group avatar (example. Administrators have their, Moderators have their, and it's there until user changes it).

Thank you for your time.
Sorry for bad english.
This takes knowledge of css and is not easily explainable, but is very simple to do.
Wherever the avatars are showing, you would use the group i.d in the class name where your avatars show.

example

lets say you had an avatar class as <img class=avatar
you would do something like <img class=avatar{[thread['gid']}

group 1
img.avatar1 {
height:20px;
width:20px;
}

group 2
img.avatar2 {
height:20px;
width:20px;
}

and so on and so forth
....... And
Set background image per group for avatar image holder to make them default group avatars.