I have the following custom fields in my users profile. Something I’ve noticed is that these will output the currently logged in users fields. How do I get these fields to appear for the currently viewing user profile? I need to be able to see the selected user profiles data and not the logged in users data.
{{ user:your_address }}, {{ user:address_line3 }}, {{ user:state }}
You can pass a user id to the user plugin tags.
Or us the profile tag if you have more than one tag.
This is for PyroCMS version 2.1. If you have an older version you may need to update the user plugin.
From here: http://docs.pyrocms.com/2.1/manual/plugins/user
Edit
You can pass a variable to the user tags like so.
But you will need to set the id when you build your template in the controller, and pass the variable to the page somehow (via a URI segment?).