Quote:
Originally Posted by X-Fan
Is there any way to change this so that only admins can add mini-avatars?
|
Yes, all you have to do is avoid making the member.php modification entirely, and don't add in any new templates. You'd just simply upload images to the mini/ directory that have the name of the userid of the user who you want to have that icon.
Now I'm having some troubles with my installation...
I changed it around a bit because I would like to have instead of individual users having an icon, I'd like to have an entire GROUP have the icon. This would work inside the posts because of the $post array being available (and usergroupid being a value inside that array), however - on the front page, for the little "who's online" display, it doesn't work. Obviously the $post array isn't available there so I gave $bbuserinfo a shot - well, $bbuserinfo does have the value I'm looking for, but it only gets the usergroupid variable ONCE (in my case, it's always 6, which refers to Administrator). I'm wondering if anyone knows where either the usergroupid is stored for the current user being displayed in the who's online list (on the forum home page) or where the query is for it so I can add in another query to get the usergroupid for those users.
Thanks!