Jump to content

Restrict guests from seeing Avatar/Profile Picture?


Recommended Posts

Is there a way to prevent avatar/profile images from displaying for guests?

I ask because there's a few avatars on my site that are of bikini clad women, nothing containing nudity or anything like that, but the Google AdSense system thinks they're 'porn' and I constantly get 'nasty grams' from them telling me that ad serving to particular pages is disabled due to sexual content. I dispute it for a manual review and they reverse the action. Not a real big deal, but annoying.

If I can prevent AdSense from seeing the images, problem solved. But I'm not seeing any settings that might accomplish this. Is there a way to do this?

Link to comment
Share on other sites

I'm afraid, hiding the profile photo (avatar) is not possible with default permissions and would require a customization. You can prevent guests from viewing the profile though:

Module permissions can be restricted to groups. Profiles is a module under System. Can read more about module permissions in this guide: 

 

 

 

Link to comment
Share on other sites

You would have to edit the template code somewhere. I forget the current IPS template language at the moment, but it would basically be something like this....

If logged in --> display avatar.
else --> display something else

You can dig around in your templates and probably figure out the template code.

Link to comment
Share on other sites

20 hours ago, Jim M said:

You can prevent guests from viewing the profile though:

That was my initial thought when I began looking for a solution, and I know that years ago we could restrict guests from seeing profiles, but I can't find the setting for that anywhere, now. So I assume that it was done away with, unless I'm just missing it. 

Link to comment
Share on other sites

1 minute ago, VaBeach_Guy said:

That was my initial thought when I began looking for a solution, and I know that years ago we could restrict guests from seeing profiles, but I can't find the setting for that anywhere, now. So I assume that it was done away with, unless I'm just missing it. 

You will want to read the rest of my post to see how to restrict guests from viewing profile. There is a guide I linked to which will detail how to disable permissions on modules 😉 

Link to comment
Share on other sites

20 minutes ago, Jim M said:

You will want to read the rest of my post to see how to restrict guests from viewing profile. There is a guide I linked to which will detail how to disable permissions on modules 😉 

I did read it all and went into that area and didn't find the settings. Why didn't I find them? Because the area that I needed to go into was right in front of me and I didn't notice it lol. 

After looking 3 or 4 times, I finally noticed it. It did remove the permission for viewing profiles, but I'll have to dig into it deeper (as has been said), to do what I'd like to do. 

It's not a HUGE problem, just an annoyance. So if I can't do what I'd like to do, it's not a big deal. But I do wish it was a set option.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...