Bookmark and Share
Subscribe


Home > Widget > Poll Widget - Social Go

Poll Widget - Social Go

April 23rd, 2009

I need a Poll widget which will display questions and results (all multiple choice). Those who are logged into the site will have the option of casting their answer if they haven’t already. There will also be a button to allow them to submit their own question/answers. Those who are not logged in (visitors) will just see the results. In both cases, a certain number of questions and results will be shown based on widget parameters and if the number of results exceed display, repagination of results with Next and Previous selections.

This needs to be in iframe.

widget will be used in SocialGo and the api will have to be accessed for each user.

Parameters:

Group Id to organize questions into that group
If user ask question in group it will refer id
If admin makes poll for group it will define that id
Sorting - ability to sort by popular or most recent

User Flow:
- Check if user is logged in to SocialGo
- Display questions and results by groupID (if exists or all if none) with max based on displayNUM (5 if not defined) sorted by most recent
- If user is logged in, beside results allow user to cast vote if they haven’t already voted – if they have, show their vote and allow them to change (radio button selection)
- Below each questions/results should be a CAST VOTE button – if logged in it would cast their radio selection, if not logged in it would take user to login/register function for site first (can we retain to have them come back after logging in or registering??)
- CAST VOTE would also produce option to display on FB profile page – it will also automatically update the site’s activity feed (if API integration exists)
- Top and Bottom of widget will have ASK QUESTION button – if logged in it takes you to ASK QUESTION function, if not it will first take you to login/register function (can we retain to have them come back after logging in or registering??)
- ASK QUESTION function will pop up box to ask a question and take up to 6 possible answers/selections – add to database and take user back to previous screen – widget should refresh so theirs is now on top (sorted by most recent)
- NOTE – ASK QUESTION function will NOT be available (no button then) if no groupID is defined since the grouping is unknown and is a part of the ask question function
- EDIT QUESTION will
- A sort tab or button should alternate between MOST POPULAR and MOST RECENT depending on what they are currently displaying

Code will need to be heavily commented as to what aspects are used to reference SocialGo’s api so that the widget can later be modified for other networks

Comments

Widget , ,

Comments are closed.
Bookmark and Share
Subscribe