I need a mostly prebuilt Orkut App converted to a Facebook App. This is an profile rating application for Facebook. It will allow the users to vote friends profiles "Up" or "Down". The profiles will be ranked accordingly and the data stored in a SQL database on my server. This program was originally built for [url removed, login to view] the social network operated by Google. This app was mostly completed but not 100 percent done. It will have some changes to how it operates from the Orkut version. This application must be Facebook compliant.
Currently the app allows the user to vote on all profiles. This needs to be changed to only being able to vote on their friends, and can not vote on themselfs. Currently the app only allows users to vote on a profile once. That needs to be changed to once every day. Currently the app does not have the SQL database tables labeled to show what is for Facebook. This needs to be changed so the tables begin with something like "FB_".
The Facebook application bookmark will read "ProfileLadder" and the counter will display the amount of friends that have not been voted on that day.
-------How it will Function---------
The user can only vote on their friends. The user can not vote on themselfs. The user can vote on each friend once everyday. Each profile can be voted either up or down. The user will vote by clicking the words "Up" or "Down". If a profile is voted "Up" then that profile gets one vote added to their total "Up" votes. If a profile is voted "Down" then that profile gets one vote added to their total "Down" votes. The rung position will be determined by whoever has the most "Up" votes after subtracting the "Down" votes. The first rung position (Rung 1) will be the profile that has the most "Up" votes after subtracting the "Down" votes. The second rung position (Rung 2) will be the profile that has the second most "Up" votes after subtracting the "Down" votes. And so on for the rest. All information will be stored in my SQL database at ProfileLadder.com.
-------How it will be displayed---------
*The attached graphic shows layout*
I would like this styled with CSS as much as possible. First will be the users profile name preceded by "Hello". Below the users name will be their Rung position.
The profiles will be displayed in rows. The first row will display the tile "Top Rung" and only list as many of the top profiles that fit in one row. To the very right there will be a link that reads "more.." When "more..." is clicked it will goto a full view where all the rows will list the the top rung profiles. The second row will display the tile "My Friends" and list the users friends that are also on ProfileLadder.
The following is how the profile thumbnails will be displayed. First will be the profiles rung position. Under the rung position will be the profiles thumbnail. Below the thumbnail will be the profile name. The profile thumbnail and the profile name are linked to that profile, when clicked, a new browser window will open displaying that profile. Under the profile name will be how the user votes, the words "Up" and "Down". The words "Up" or "Down" will change to the number of up votes and down votes after the user voted.
If you have any questions, concerns, or suggestions I would love to hear them.
- User can only vote on friends
- User can not vote on self
- User can only vote once a day on each friend