I am unsure if it is a mod that I need to install or just a setting in the Admin CP. How do I specify an image to be used as an avatar for a specific usergroup?
Thanks.










I am unsure if it is a mod that I need to install or just a setting in the Admin CP. How do I specify an image to be used as an avatar for a specific usergroup?
Thanks.










I think that might be a plugin Kalina installed.
Toronto Forum ♫ ♫ ♫ ♫ ♫ ♫ ♫ ♫ ♫ ♫ ♫ GET FREE EXPOSURE FOR YOUR BLOG!










I noticed your forums are showing a standard avatar for noobs when they sign up until they change it. I want to do something like that but for the banned users.










Let me take a look....
Kalina added 4 Minutes and 54 Seconds later...
Ok, in the postbit_legacy template (postbit if you're using that one instead)... I've used a conditional.
To apply this to a specific usergroup, group ID 8, the banned usergroup, you're going to need to work in more conditionals, then what I have here....
PHP Code:<if condition="$show['avatar']"><div style="clear:both;"><a href="member.php?$session[sessionurl]u=$post[userid]">
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>"
border="0" /></a></div><else /><if condition="$bbuserinfo[showavatars]"><div style="clear:both;">
<br /><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="images/avatars/wtf-default-avatar.gif" width="182" height="76"
alt="Register today with our Webmaster Forum and put your own avatar here!" border="0" /></a></div></if></if>
Last edited by Colleen; Apr 3rd, 2008 at 4:00 pm. Reason: Automerged Doublepost










I was wondering the same thing.
Actually there is a plugin that does the job for you in case you don't wanna mess up things with codes. (though the above way works 100%)
If you have a VB.org search for Default Avatar ( I think that is the title)










Thanks Greco. Do you know if this mod can be set to use a default avatar for a specific user group?
The first version is for all usergroups.
Currently I dont know if there is a newer version that lets you specify usergroups,though if you know some VB coding it will be easy to make it yourself.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks