#18 - #19 Profile Status

Challenge topics and posts from previous years, for the memories :)
4 posts Page 1 of 1
Contributors
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

#18 - #19 Profile Status
CodenStuff
Welcome to challenges #18 and #19

Profile Status

I apologise for the late posting of today's challenge I was unable to get online to post it.

Due to the lateness of this challenge I decided to combine both challenge #18 and #19 into a single challenge so you get a bit of extra time to work on it.

This challenge is part of the "Buddy-List" challenge posted last week that involves working with the site API so I hope you saved your projects. Last time we asked you to create an app that would display a users friend list and this challenge will add more to that app...

#18 For this challenge you will need to add the ability to display a friends profile information (when selecting a friend from the list) and when you display their profile information their username should be coloured using their user colour. So for example if I am on your friends list and you select to display my profile information is should display my name in RED because that is my user colour.

You can get a users profile information using the following API call:
api/LiveAPIJsonXML.php?mode=UserProfile ... FUSERTOGET
#19 For this part of the challenge you will need to get and display a selected friends Status Messages. So if you select me it should display a list of my recent status messages. It is up to you if you want to include replies with those messages displayed but it is not required.

You can get a list of users messages using the following API call:
api/LiveAPIJsonXML.php?mode=UserMessage ... FUSERTOGET
See the first API challenge thread for instructions on how to get your API key and further API information: viewtopic.php?f=182&t=10475

So lets run down what you need to do:
1) Display a friends profile information when friend selected.
2) Display their username colourized match the user colour (this is included in the profile info).
3) Display a list of friends status messages when friend selected.


Requirements for this challenge:
Must do all 3 things listed above using the API.
User must be able to "login" with their own username and API key.


Bonus points awarded to everyone who completes this challenge and a guaranteed prize will be given to one of the entrants when the challenge closes (randomly chosen from all qualifying entries).

Good luck cooll;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

Re: #18 - #19 Profile Status
Scottie1972
did you fix the API XML Loop?
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: #18 - #19 Profile Status
CodenStuff
Not yet. I can't find a way to convert json to xml correctly...still looking.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: #18 - #19 Profile Status
comathi
I might fix the aesthetics up a bit later... but maybe not lol
Edit: The apostrophees being displayed as HTML codes have been fixed... a little prettier now lol nutter;

Image


This file is hosted off-site.
4 posts Page 1 of 1
Return to “Mad March Challenge Archive”