PDA

View Full Version : How to _NOT_ display avatar in PMs


mtindor
10-30-2005, 02:06 AM
When my users receive a PM and view it, it shows the users' avatar. Due to the style and width I'm using, and the fact that I allow pretty large avatars, it really distorts the page when viewing a PM from a user with a large avatar.

I would like to totally remove that. I see where it's all displayed in postbit_legacy - and so if I remove it there, it won't display anywhere. What I need is some type of conditional to display the avatar, such as:

if _viewing_such_and_such_page (in this case I think it's private.php), then don't show avatar - else show avatar.

Can somebody give me an idea what I would need to add in as a conditional to make avatar's of the user who sent the PM when reading the PM?

Thanks

Mike

Marco van Herwaarden
11-01-2005, 09:33 AM
Try:
<if condition="THIS_SCIPT != 'private'">...show avatar..</if>