Forums / Cotonti / General / Specific Avatar Sizes

minoation
#1 2009-09-14 00:14
I would like to set specific avatar sizes for certain groups.Is there anyway I can do that.I speculate there is a <!--BEGIN:--> row that has to take place.
Awesome!
Kilandor
#2 2009-09-14 06:21
Its not possible right now atleast.
pieter
#3 2009-09-14 14:13
You can do a automatic resize of it with CSS and this can be linked to the usergroup.
Same someone did with colored names.
... can we help you ...
minoation
#4 2009-09-15 06:08
Ammm..so I can't do it?
Awesome!
5uper Mario
#5 2009-09-15 06:25
# pieter : You can do a automatic resize of it with CSS and this can be linked to the usergroup.
Same someone did with colored names.
^^

w1ckd had this on his site
Thought it was pretty cool too
minoation
#6 2009-09-15 08:33
Can I do it or can I not?
Awesome!
pieter
#7 2009-09-15 14:12
Yes you can. Or a least I think you can.

CSS:
.groupcolor5 {color:#000000; font-weight:bold;}

In TPL:
<span style="groupcolor{FORUMS_POSTS_ROW_MAINGRPID}"> FORUMS_POSTS_ROW_POSTERNAME </span> 

See here for the original post
This was used for colored usernames.
Can can use the same idea for the avatar.

e.g. CSS
img.group5 {
  width: 3.3em;
  height: 3.3em;
  }
img.group2 {
  width: 1.3em;
  height: 1.3em;
  }

In TPL:
<img class="group{FORUMS_POSTS_ROW_MAINGRPID}" src="../assets/T60-90ee90.gif" />

I have not tested it, be should be something like this.
... can we help you ...
This post was edited by pieter (2009-09-15 14:20, 14 years ago)
minoation
#8 2009-09-15 19:40
Thank you.The code was all I wanted. :D
Awesome!