Surveys WordPress Plugin
By Binny V A • Nov 20th, 2008 • Category: Blogging, Scripts, WordPress
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.

See it in action
I have set up a demo for Surveys over at BinnyVA WordPress demo blog. Take a look.
Feedback
If you have any suggestions or notice any problems with the plugin, post it in the Surveys forum. I’ll take a look at it – as soon as the Plugin Week is over – I am way too busy right now
Next plugin – will be released tomorrow.
Bin-Blog
Follow me(@binnyva) on Twitter
Hello, nice plugin!
A bit of feedback though – I’ve been working on customising the “Enter Contact Details” page and through testing, managed to accumulate a whole bunch of redundant responses.
It’s good that I can delete the responses one by one in Manage Surveys (Show Individual Responses), but a “Delete All” button would have saved me so much time. It would be useful when you want to totally reset a survey too!
Feel free to ignore
thanks for the hard work!
Is there a way to translate this plugin? I’ve tried to edit the .po file in the lang folder using “PoEdit”; but no texts are changed.
Hello,
.
first of all many thxs for this plugin. Very usefull and working with Czech language. I´ve created first Survey and don´t know how to manage to display answers with checkboxes into a 2 colums. Anay idea?
And the spaceing between the lines is too big, is it possible to make it smaller?
I would be happy if someone will help me – I am not IT person at all and the survey is needed for thesis and still doesn? look like nice
Many thanks.
Hey!
Many thanks. This was just what I was looking for.
I can’t ger the shortcode to work though. Is there any other way to implement the survey into a page or post?
// Karolina
Hi there, can’t see how to export to CSV, can you assist?
Plugin looks good, works fine.
Maybe the option to ask for mail and name at the end could be disabled? (option perhaps)
Also, a way to display all the surveys (as links?) would be nice.
I recently upgraded and I get the following error:
Fatal error: func_get_args(): Can’t be used as a function parameter in /hermes/bosweb/web013/b138/nf.clk/public_html/aacrlocksmith.com/wp/wp-content/plugins/surveys/wpframe.php on line 59
So I re-downloaded the previous version and it is working again. Any suggestions?
Odd – it works correctly here. Which version of PHP are you using?
New version broke.
I get – Fatal error: func_get_args(): Can’t be used as a function parameter in /home/xxx/public_html/wp-content/plugins/surveys/wpframe.php on line 52
php 5.2.17
Should be fixed now. New version released.
Thanks. That works.
[...] can be utilized for creating and hosting surveys. Though for blog writers using WordPress there are survey plugins available that let you host everything on your own site, which gives the advantage of maintaining [...]
Hi,
I’m moving my site to a new wordpress installation and I want to export the current survey data I have. I found a way to export to csv, but I cannot see how to import this data back into the survey plugin installed in the new website. Is this possible? I also tried exporting the database info for the survey tables but could not get that to work either.
Any advice would be greatly appreciated!
-Andrew
Currently, exporting the database tables would be the best method. Why is it not working?
http://www.tipsandtricks-hq.com/wp-csv-to-database-plugin-import-excel-file-content-into-wordpress-database-2116
This plug-in might help
James
Is it possible that only registered users can complete the survey?
therefore eliminating the name, email etc.. part of the survey, and also helping identify the users of each survey?
I am using survey to have a committee of 5 people assess applications for a number of different applicants. I would like to have one survey for each applicant to keep the information separate for each applicant.
I was wandering if I would be able to duplicate a survey so that I do not need to recreate the questions multiple times.
thanks Greer
I am having trouble exporting to CSV using the export function under individual responses table – I get a message that the page cannot be found…
Hello,
I am looking for a poll plugin that will able open ended questions also i.e. : thoughts and reactions on a certain discussion topic. Is that possible with this or does it need to have a multiple choice answer? We are trying to get info without influencing.
Thank you.
Isabelle
Isabelle just choose
“Allow User Inputed Answers”
from below the answers boxes.
Nice, simple, elegant plug-in, but big problem: it permits same person to respond to same survey many times, leading to corrupt results. Is there any way to block repeat votes from same IP? Thanks!
I get an error as well Invalid argument supplied for foreach() … show_survey.php on line 24
Any help greatly appreciated.
I don’t have that issue. Which version of plugin and WP are you using?
I have one question with multiple answers so the NEXT button doesn’t work. My users don’t know that of course so I have to manually direct them to click SUBMIT and ignore NEXT. Any way to edit the code and lose the NEXT button?
Andy
Just wanted to say thanks. Spent a few hours researching, tried a few others that were no good. This was simple to use and fits in perfectly with the design of my site.
I had my test survey up in about 5 minutes (I stuffed around with the others for ages) and I only had 1 bug that was fixed in about 2 minutes with the help of your forum. Great plugin and great support forum, thanks very much!
Matt
How can I edit the “Thank You” text and possibly add a checkbox for a newsletter opt-in?
You’ll have to edit the code for that.
Using a database browser i can see that the data is still there, but as there is currently no export function, i cant decypher the export, when I click export the ram usage of plug-in up to 250MB but I can’t see the results. There is a lot of submissions over 500…
What can I do to use the export function?
Thanks,
If you have so much data, there will be a problem with export in a web server. My suggestion is to use the database browser to export the data.