Main Menu

Avatars and Sigs

Started by OldBloke, February 13, 2009, 10:57:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OldBloke

This is probably worthy of its own thread ....

Do we know why non-supporters like Duvel still have avatars?
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Anonymous


Gandalf

Probably because they were there before. The new permissions stop them being changed/uploaded but does not remove if they already have one.

Sigs will turn off dependant on group permissions. Not so with avatars. We'll need to remove them manually from all.

Once I've finished the final group mantenance script I'll see if there is a way of globally removing all avatars from a group.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

OldBloke

Quote from: Gandalf;263627... Once I've finished the final group mantenance script I'll see if there is a way of globally removing all avatars from a group.

Cheers (yet again) Neil :D
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Gandalf

sorted.

Code added to template 'postbit_legacy'

<!-- Added show Avatar for particular groups ONLY -->
           <if
condition="is_member_of($post, 6,48)">
               <if
condition="$show['avatar']">
                   <
div class="smallfont">
                       
<
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>
               </if>
</if>
           <!-- /
Added show Avatar for particular groups ONLY -->


This will show avatars for groups 6 (Administrators) and 48 (Supporting Member)

If there are other groups that I've missed and need this, let me know the group ID or name.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Gandalf

oh, and this doesn't remove their avatar. It just stops it being displayed, so if they sign up then they don't need to re-upload their avatar.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Anonymous

Quote from: Gandalf;263637oh, and this doesn't remove their avatar. It just stops it being displayed, so if they sign up then they don't need to re-upload their avatar.

Very nice :)