Surveys WordPress Plugin

The Surveys WordPress plugin lets you add surveys to your blog. You can let the visitors take surveys and see the result from the admin side. The user who take the survey can enter their details at the end of the survey – or leave it as an anonymous result.

If you are new to this blog, this is the Plugin Week. I am going to release one wordpress plugin each day, every day for one week(ie. Monday to Friday). Each day you will get a new plugin by me. This is the fourth plugin in this series. The earlier ones were…

Note:Surveys is a beta plugin(as are most of the plugins released in the Plugin Week) – so watch out for bugs. And trust me, there will be a lot of them.

Usage/Screenshots

First, Download, install and activate the Surveys plugin. Then go to Manage > Surveys section to create new surveys – or edit existing ones. After creating a survey insert the HTML comment [SURVEYS 1] into a post. Here, the 1 should be the ID of the survey you want to insert into that post.

The client side of the plugin will look something like this – your visitors will see this part…

You can see the result of the survey from the admin side – there are two ways to see the data…

Aggregate

This will show the results each question by aggregating all the data so far. This will look like a poll result. This mode is useful to make decisions – you can immediately see the most favored answers for each question.

Individual Responses

You can also view all the answers provided by each visitor one by one. This mode has its uses as well.

On my site, only logged in users see the posts that have surveys. I’d like to make it so that the login information is captured (instead of people having to provide it) and that they only get the survey once. Can you point me in the right direction for making these changes?

I don’t even have a CSV export link, button, or anything related to exporting the data. I am using the latest version of the plug in. Where would I find the export feature? Without the export feature, this plug in is not very useful to me. With the export feature, the plug is off the charts killer.

When I view the survey I’ve created in the Firefox, Opera or another browser it looks fine. When I switch to Internet Explorer not all the questions are displayed and the Submit-button is gone. This prevents people from submitting their answers. How can I fix this?

Great plugin. You can’t imagine how much it has helped my website.Thank you so much.
I’m not much of a programmer but I was wondering about a few things.
1) Adding a more secure “captcha” submit button.
2) I’m always worried about hackers and spam. Can the submit form ever be used to gain access to my website.
Thanks again,
Pete

One question. Is there a way to have the survey appear within a page and not a post? I have a client who is wanting a Members’ Survey page (not a post), and inserting the [surveyname] in the page HTML simply returns “[surveyname]”. I wanted to post up the question to see if there is a quick fix before I delve into the code.

I appreciate how easy it was to set up. I do have a feature request, if it’s simply to incorporate. I’d like to be able to send someone to a “thank you page” of my choice, so I can give a little “thank you gift” when they are done. And, of course, I’d like to be able to choose it for each survey and not globally. 🙂 Thanks for the great plugin!

This looks like what I’m looking for. My question is, if visitors want to see the survey results, is there a way that they can see the data, (Like 12 people answered questions #3 yes) or is it only viewable to the admin? I’d like to have everyone who takes the survey see the results- like the silly surveys that keep going around facebook… Thanks for your help!

We installed the survey plugin today and it’s installed and activated successfully, and we were able to create a survey using the survey manager, but nothing appears on the web site even with [SURVEYS 1] entered. We’re using the WP Remix theme. Does anyone know why the survey doesn’t work?

A number of people have asked about inserting images into the ‘Surveys’ plugin. I have tried out most of the WordPress plugins, and none seem to be able to do this. When images are added to the ‘Surveys’ plugin, the html code seems to be corrupted and the image will not display.

However, I have found a workaround. If you install another widget (widget logic), it becomes possible to use the sidebar to display the images. Widget logic gives you control over which images appear in the sidebar in each page. I have used this on my site, and I now have the survey questions with the appropriate images next to them.

I have a client who wants to use the quiz as a method for collecting members. Is there a way to have the sign up form (opt in form) be placed after the quiz page but before the answer page? To see their answers users would need to create an account.

Dear Binny,
I made another bunch of modifications (in addition to the ones in my previous comment)
1) The following settings are customizable per each survey:
a) Include questions in CSV header
b) Number of questions per page
c) Send results to email
d) Survey Introduction (shown before survey, css class defined)
e) Survey Closure (shown after survey, css class defined)
f) six customizable text fields to be filled before taking the survey

2) Introduction text (customizable) and six customizable text fields are shown before the questions page(s) followed by a button to start the survey

Your plugin is best about survey plugins for WordPress. But, when you answer questions, anytime you can submit survey. Therefore, survey is missing in half. You can make that “Submit Survey” buton appears end of survey.
Very thanks.

How can I get rid of the text after the survey is submitted? “Hi, There is a new result for the survey at /whats-new/feedback/… Thanks for taking the survey. You input is very valuable to us.
If you want, you can attach your name to your survey answers. If you want the result to be anonymous, just ignore this form. ”

I just went in and changed the text in the source and removed the form. Also, part of the email message was getting outputted to the screen because printf was being used instead of sprintf, so I changed that also.

There should really be a way in the options to change the text that shows, and an option to turn the form submission off too.

I used your surveys plugin in my previous wordpress blog site and everything was working perfectly. I created a new blog site today, and installed your surveys plugin. Everything was working fine, except “Export to CSV”. Whenever I clicked “Export” button in Export_choose page, I got HTTP 404 error. Is there anything I need to do prior to install the surveys plugin? The only difference I can tell between two blog sites is the old one wordpress version is older and the site I created today is version 3.0.1.

Hello, this plugin does what i need, but i want to change the language to dutch.
I found the default.po file and made a translation to dutch with a po-editor. the mo-file i called nl.mo but this is not making show the dutch language. In my config file i have “nl” lang configured what makes my site show in dutch.

Hello. How do I make the jquery work to check if the user has selected an answer before going to the next page. It doesn’t seem to work in mine. It just goes to the next question/page, even if I did not select an answer and click “Next”.
Thanks.

Hi,
Great plugin but if i refresh the thank you page, i can keep voting.
I’m suprised there is no ip or cookie tracking to prevent that.
Anything you can do ? Because i don’t see how you can trust the results if you know people can easily cheat.

Two problems:
I have just downloaded the plug-in and I noticed that i can’t export the results. When I press export, it shows me an error url.
Is there a way to show the name and email of the responder on the notification email? Now it just shows the results.
Thanks

I added the post and in the post, I added the below lines in html text
hi

The survey is created in Tools->Manage Surveys, the code property for this survey is also showing SURVEYS 2.
It is not showing survey into my post. I dont know what is missing?
One additional information:
When I open this survey post in Mozilla, on status bar is shows done.
While in IE 8, its shows error as below

Hi Binny, I love the look of this plugin. Just a suggestion though, it would be really great if the visitors to the website could see the survery results too as this adds further interactivity to the application. Is it possible for them to see the reults? thanks again. Peter

I am using WordPress 3.1 and everything is running OK with the plugin until I come to export to .csv. I am getting a 404 error: The webpage cannot be found. The url looks like: (http//???????????.com/wpcontent /plugins/surveys/export.php).