Hide Avatars from Guests

Started by Suki, March 04, 2010, 11:00:09 PM

Previous topic - Next topic

IP_Board_Rules

Hello, this is a handy mod. However it does not seem to affect all areas where avatars are used but only id display.template.php

How can avatars be hidden globally for guest?

Kindred

Sorry. But I believe that you did something wrong.  The easy this mod works, it will remove a user's avatar everywhere
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

IP_Board_Rules

Quote from: Kindred on May 23, 2023, 11:27:21 PMSorry. But I believe that you did something wrong.  The easy this mod works, it will remove a user's avatar everywhere

In ALL areas of the message board?

Kindred

Quote from: atanua on May 24, 2023, 09:11:43 AM
Quote from: Kindred on May 23, 2023, 11:27:21 PMSorry. But I believe that you did something wrong.  The easy this mod works, it will remove a user's avatar everywhere

In ALL areas of the message board?

Yes. If you look at what the mod does -- it replaces code in Load.php (which is global to the site) for the $memberContext[$user] array -- I believe that is what is called everywhere the user details are displayed -- and it completely zeros out the avatar data if the viewing user does not have a userID
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

IP_Board_Rules


Advertisement: