|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 716 Location: Leigh-on-Sea, Essex, UK
|
Hello all, This new project requires another major feature, polling/voting/questionaire application. The requirements for this are, A website visitor can only vote once per poll/questionaire. (Note: their may be more than one poll on the site)The results are shown in a graphical format after the user has voted. Most likely bar chart for each option that can vote for. And finally the results can be viewed in the back end tools within umbraco. I would like your ideas and thoughts on how I can implment this please. Many thanks, Warren Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 172 Location: Pittsburgh, Pennsylvania, USA
|
We wrote a similar app for our first umbraco site....you can take a look at it: http://undergraduate.rmu.edu/it is the survey in the right column. It is a usercontrol with the questions/answers created and managed as content items in the umbraco content tree. We don't have any restrictions on how many times a user can respond but that can't be too hard to implement. If you're intrested let me know and I'll share the code with you.
Jason
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 716 Location: Leigh-on-Sea, Essex, UK
|
Hello Jason, I would like to see the code you have so far and how you have implmented it. Is the results viewable in the umbraco backend tools? My email is warren (at) momo . co . uk Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer
|
|
Rank: Devotee
Joined: 7/24/2006 Posts: 249
|
I'm also interested in the code :) I had posted some poll code in another thread but did not know how to get the aspx into the dashboard so had to configure the polls outside of umbraco. I would much rather prefer creating new polls within the umbraco admin interface
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 716 Location: Leigh-on-Sea, Essex, UK
|
Martin I would be intrested to see how your code works. To add an item to the dashboard you need to ammend/update the dashboard.xml in the Config folder. Heres an example of the dashboard.xml but I dont know all the sections, I presume its the same as the sections in the bottom left corner of the Umbraco tools. Code:<?xml version="1.0" encoding="utf-8" ?> <dashBoard> <entry section="default">/usercontrols/LatestEdits.ascx</entry> <entry section="content">/usercontrols/LatestEdits.ascx</entry> </dashBoard> Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer
|
|
 Rank: Devotee
Joined: 7/20/2006 Posts: 75
|
hi, jason, I would be intersted in your survey code. can you email it to gisli at mullog.com thx
"We come from the land of the ice and snow, From the midnight sun where the hot springs blow"
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 172 Location: Pittsburgh, Pennsylvania, USA
|
Gisli,
I emailed it to you this morning.
Jason
Jason
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 716 Location: Leigh-on-Sea, Essex, UK
|
Jason, We never managed to talk again in regards to making this poll into a nice friendly package or some sort. Also can you give us a hand in implmenting this into a site to begin with please. Warren - your .NET dunce Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 172 Location: Pittsburgh, Pennsylvania, USA
|
Hi Warren.
I'm sorry I haven't been available very much, I've been consumed by an application testing and deployment that promises to last the next couple weeks. We're also putting together four (!) new umbraco sites.
There is a lot of support from management here to contribute to the umbraco community so as soon as I have some free time, I would like to create a deployable package for the poll/questionaire application. I just cannot say when that time will be.
I'm happy to provide as much email ( jevack at rmu dot org ) help as I can squeeze in if you are going to attempt to use the code I sent. I would think that using the code I sent as an example should provide a basic roadmap of how to re-write the app in VB.
Jason
|
|
Rank: Devotee
Joined: 7/24/2006 Posts: 249
|
|
|
Rank: Newbie
Joined: 12/7/2006 Posts: 9
|
Jason,
If you could share the code with me as well via jhalvo (at) gmail that would be great! Thanks.
Jeff
|
|
Rank: Newbie
Joined: 12/24/2006 Posts: 1
|
Hello jason, I am new in .NET and umbraco and try to learn more about it by viewing some nice codes. would you please send me your code. my Email is s.yaghoobi@gmail.comThanks ;)
|
|
Rank: Devotee
Joined: 7/24/2006 Posts: 249
|
After trying out quite a few different poll/vote applications and getting some to work somewhat but lacking in certain areas like ip/cookie blocking or a simple config interface so the average user could update/create polls without looking at any code whatsoever I finally found that NetPolls does the job quite well, full source found here: http://nsurvey.org/netpolls/There is a test drive online as well. To get it working with Umbraco one must create a *.ascx file and a DLL with Visual studio, If anyone needs this let me know.
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 201 Location: New York, NY, USA
|
Martin,
Sounds interesting,
Feel like posting a ZIP file of your dll & ascx?
Thanks,
Heather
|
|
Rank: Devotee
Joined: 7/24/2006 Posts: 249
|
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 201 Location: New York, NY, USA
|
Thanks, Martin!
I'm looking forward to checking it out.
Best,
Heather
|
|
 Rank: Fanatic
Joined: 10/9/2006 Posts: 334
|
okay... i am kinda dumb when it comes to this kind of stuff... i can' get into the pollsAdmin... i am getting an errror related to the directory not being registred in IIS as an application... in reference to the login form... any advice? Thanks
bootnumlock - aka bob baty-barr [ http://www.baty-barr.com] Level 1 Certified!
|
|
Rank: Devotee
Joined: 7/24/2006 Posts: 249
|
bob baty-barr wrote: okay... i am kinda dumb when it comes to this kind of stuff... i can' get into the pollsAdmin... i am getting an errror related to the directory not being registred in IIS as an application... in reference to the login form...
any advice?
Thanks
Open IIS -> default web site , find the Netpolls folder, right click, properties, on the Directory Tab click the button next to Application name "Create"
|
|
 Rank: Fanatic
Joined: 10/9/2006 Posts: 334
|
This looks great! Thanks for sharing!
bootnumlock - aka bob baty-barr [ http://www.baty-barr.com] Level 1 Certified!
|
|
 Rank: Fanatic
Joined: 10/9/2006 Posts: 334
|
okay... so this setup works really well... see it in action: http://www.strenghosting.compoll is on lower right hand portion of the page... Martin... thanks so much for putting this together and the easy to follow instructions. Now in a perfect world, this would be adminiable through umbraco... and it would be a bit more locked down with user info in the db, but hey... it's free :) Thanks again Martin, this is something i am sure many will be intersted in.
bootnumlock - aka bob baty-barr [ http://www.baty-barr.com] Level 1 Certified!
|
|
|
Guest |