Different avatars being set……?
I’m looking to have a default avatar for different member types. So, upon registration, a user would be assigned, by default to the ‘Participant’ level. Or, another level.
Thing is, if they register and are given a different level upon registration, such as ‘Moderator’ I do not want them to have the same default BuddyPress avatar as a ‘Participant.’ Because I want it to be clear in conversation threads what the level of each member is — who is ‘running things’ so to speak.
I want Moderators to have a different avatar in conversation than a Participant. To make it obvious. And nooooo, looking at the top of the Group’s page is not sufficient to indicate this, as it would be easy to overlook if all avatars were the same; people are not going to easily see the ‘Moderator’ status under an avatar if they’re on mobile, or in a rush, or don’t care to view the person’s information/avatar past a glance. I want it to be incredibly obvious what level each person is in each discussion.
And I want it to be automated. By default — that when a user signs up and is assigned a member type that they get the correct ‘member level’ avatar for their status.
Note: I do not need this to be editable past their member type…because to be honest that is a hassle. I want it to be done based on their membership type, without me having to upload a new avatar each time…I want a member type to use the same avatar over and over again.
And if that user’s level changes in the future, either to a higher level or a lower one, I want their avatar to be the new one — automatically — that is associated with their new member type that everyone else has, that has the same member type level as they now do.
NOTE: I have ‘extended profiles’ shut off, and there is no reason to put them back on. I’ve tried that recently in my quest for ‘how the hell do I make avatars look different’…. 🙂 BUT turning on extended profiles messed up my site. Also, I tried turning on the feature ‘allow members to upload avatars’ and that messed up my site as well.
I currently am using ‘BuddyPress First Letter Avatars’ with GREAT success; it is FAB. And the fact that it works to affect the appearance of BuddyPress avatars WITHOUT my having to enable extended profiles or turn on the ability for users to upload their own avatars…proves to me that I can edit avatars with code independent of those features being turned on.
Remember — I can’t just have pretty avatars there. I need certain avatars based on member type. So using ‘BuddyPress First Letter Avatar’ as the plugin for my site is not a long-term solution. Currently my site is in development, so nobody else sees anything but me…when the site goes live though, I need to have the avatars populate based on member level. That plugin is not what I need…it does demonstrate that the idea I have behind getting this done is perhaps possible, though, as it does affect avatar appearance without breaking my site. I’d LOVE to reverse engineer it, and modify it for my purposes, but to be honest that’s a little past my paygrade. 🙂
ONE OTHER thing to keep in mind: I do NOT want gravatars to be used on my site. Not ever.
So I’ve shut those off. They repeatedly call back to the WordPress servers….something I don’t want. So I’ve used code that is listed in the BuddyPress codex to shut gravatars off. And am using a plugin to shut off gravatars within WordPress itself, outside of BuddyPress.
Ideally, I’d love to accomplish setting avatars based on member levels, automatically, with a plugin. But currently no plugin exists to do this on Code Canyon, or the WordPress plugin repository, or elsewhere that I can find. I did find some code on BuddyDev that said we could use a couple plugins plus some PHP filters and etc….but I followed those directions and my site broke (500 errors)….which is what happened to someone else too (as mentioned in the comments), as recently as October of 2018.
I am running WordPress 4.9.8 and the latest version of BuddyPress as well as bbPress.
Thanks in advance for any and all assistance. 🙂
- You must be logged in to reply to this topic.