Poll/Questionnaire application Options
warren
Posted: Friday, November 17, 2006 5:12:39 PM

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
jason
Posted: Friday, November 17, 2006 7:34:52 PM
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
warren
Posted: Monday, November 20, 2006 10:10:46 AM

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
martin
Posted: Monday, November 20, 2006 10:31:33 PM
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
warren
Posted: Tuesday, November 21, 2006 9:38:04 AM

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
mullog
Posted: Monday, November 27, 2006 11:48:01 AM

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"
jason
Posted: Monday, November 27, 2006 2:38:01 PM
Rank: Aficionado

Joined: 7/19/2006
Posts: 172
Location: Pittsburgh, Pennsylvania, USA
Gisli,

I emailed it to you this morning.

Jason

Jason
warren
Posted: Monday, November 27, 2006 3:44:12 PM

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
jason
Posted: Tuesday, November 28, 2006 1:19:05 PM
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
martin
Posted: Wednesday, December 06, 2006 6:18:11 AM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
Halvo
Posted: Thursday, December 07, 2006 3:54:24 AM
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
saly2006
Posted: Sunday, December 24, 2006 11:39:13 AM
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.com

Thanks ;)
martin
Posted: Friday, January 12, 2007 4:05:44 AM
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.
HFloyd
Posted: Saturday, January 27, 2007 12:26:51 AM

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
martin
Posted: Monday, January 29, 2007 10:50:42 PM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
Heather Floyd wrote:

Martin,

Sounds interesting,

Feel like posting a ZIP file of your dll & ascx?

Thanks,

Heather


here you go:
http://www.autoitscript.com/fileman/users/lookfar/webpoll.zip

http://www.autoitscript.com/fileman/users/lookfar/webpoll-control-source.zip
HFloyd
Posted: Tuesday, January 30, 2007 3:41:38 PM

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
bootnumlock
Posted: Tuesday, January 30, 2007 6:22:26 PM

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!
martin
Posted: Tuesday, January 30, 2007 7:50:38 PM
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"
bootnumlock
Posted: Tuesday, January 30, 2007 9:09:08 PM

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!
bootnumlock
Posted: Wednesday, January 31, 2007 2:01:11 AM

Rank: Fanatic

Joined: 10/9/2006
Posts: 334
okay... so this setup works really well...

see it in action:
http://www.strenghosting.com

poll 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!
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.