Hi,
I am using the XML, with the HTTP request to get data about members from an API via a XML file.
I am using [USER:DISPLAYNAME] in the URL where the XML is located to pickup data for that member only from another site.
The XML module has been put on the Activity Feed Page of a members profile.
When you are looking at your own profile, the XML module displays the data as I wish and expected, however my problem comes when you view somebody else's Activity page. Instead of displaying their data in their Activity page, it displays the persons data who is looking at the page.
I understand that this is because I am using [USER:DISPLAYNAME] in the URL, and it is picking up the person who is logged in.
I wondered if anyone had any pointers or advise on how I could overcome this problem.
I need a string that means [USER:DISPLAYNAME of the USERID you are looking at] !
If I use the ViewProfile module and enter an URL to an image using the [USER:DISPLAYNAME], it will display the correct image, even if you are looking at someone else's profile. So I am thinking the way the code is written to call [USER:DISPLAYNAME] must be different in the ViewProfile module to how else the site responds to this call, but unfortunately this is where I get confused :)
Thanks for any help.