At first, I really am grateful for this module. It is one of the modules I don't wanna miss.
I have a setup of multiple nodes as node profiles.
The problem is that avatar pics show multiple times. The one that should is displayed on the profile itself and the others are displayed on the integrated profile nodes.
That I can't find the easy solution how to remove avatar pics from integrated profile nodes, makes me jump in circles. I want to display avatars only when the node is displayed as a page.
Making templates for these profile nodes would change the display everywhere. My idea was to decide when node_view is called with $page set to false, there should be no avatars. But no way, I just can't see the forest because of the trees...
Sure there are a lot of people who have accomplished this, your help is appreciated...

Comments
if you're using a phptemplate template and drupal 5
copy node.tpl.php to node-type.tpl.php.
remove the picture from node-type.tpl.php
theme developer's handbook: http://drupal.org/node/509
oh wait. i guess i should read your whole post :)
so you want one thing to happen when you're viewing the user profile and another thing to happen when you're viewing the node profile on it's own?
the first thing that comes to mind is that, in your node-type template, you could check the path to see what page you're on.
if arg(0) == 'user' then you're on the user page and should suppress the picture display
if arg(0) == 'node', then show the picture.
this check
<?php if (arg(0)=='node'): ?><?php print $picture ?>
<?php endif; ?>
Worked, perfectly. This was, what I've been looking for.
schnizZzla
BerlinerStrassen.com
- Support Your Local Heroes!
Thank you very much. I was
Thank you very much. I was so happy about the quick solution, that I really forgot to thank you.
This was on my list for a long time. I'm still not sure if it would not be nice to have more options for avatar display than "on node" and "on comment". But that's not a problem of the nodeprofile module...
schnizZzla
BerlinerStrassen.com
- Support Your Local Heroes!
I found a better solution,
I found a better solution, without changing templates, using _phptemplate_variables function. I needed a slight change to the node profile code...
I believe this is a bug. Hey, theme ninjas, you can take a look at this issue.
schnizZzla
BerlinerStrassen.com
- Support Your Local Heroes!