Quote:
Originally Posted by YungAnh
I want them to have their own avatar, I just want to add a frame/border around their avatar.
|
If you want a simple colored border based on user group, you can do it by editing the proper postbit template and defining a sequence of classes in your css.
Look for the following code in the postbit:
PHP Code:
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" style="margin:0;padding:0;border:1px solid #fff;" />
Then change it to:
PHP Code:
<img src="$post[avatarurl]" class="$post[usertitle]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" style="margin:0;padding:0;" />
In your css, make the following line for each usertitle:
HTML Code:
img.usertitle {border: 2px solid #00f;}
[adjust values to suit your needs]
--don