Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXML[USER:DISPLAYNAME] and HTTP request problem[USER:DISPLAYNAME] and HTTP request problem
Previous
 
Next
New Post
12/19/2012 12:43 PM
 

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.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXML[USER:DISPLAYNAME] and HTTP request problem[USER:DISPLAYNAME] and HTTP request problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out