Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Limesurvey with Wordpress?

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74306

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5101
  • Thank you received: 756
  • Karma: 227
This would probably make it more complicated, as you would have to sync the wordpress users with every single token table. So with a centralized database for participants, you just have to sync these and then check which surveys each user can take.

Wouldn't be too bad to have something like that. Together with Buddypress, this would give new opportunities.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74319

  • Steve
  • Steve's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 493
  • Thank you received: 46
  • Karma: 17
Yes, I agree, it would be nice. But if I'm correct the "Central Participants Database" feature will be available in LimeSurvey 2.0 so we might have to wait till it is released.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74321

  • magiclko
  • magiclko's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 11
  • Karma: 0
Updated the plugin! Now you can choose whether to list 'Private Surveys' in user dashboard or not!
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74322

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5101
  • Thank you received: 756
  • Karma: 227
I guess we'll survey it... ;-)
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74324

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5101
  • Thank you received: 756
  • Karma: 227
magiclko wrote:
Updated the plugin! Now you can choose whether to list 'Private Surveys' in user dashboard or not!

Wow, that was fast! I guess I'll have to give this plugin a try. So far I haven't seen the need to use it, but it might be a nice feature and open new opportunities.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74325

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5101
  • Thank you received: 756
  • Karma: 227
@magiclko: are you the maintainer of the plugin? If so, where can the updated plugin be found? I had a look at the plugin page (wordpress.org/extend/plugins/surveypress/) and couldn't find an updated version. The last update is from January 9th.

Or is there a process that takes a while until the page on wordpress.org gets updated?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74327

  • magiclko
  • magiclko's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 11
  • Karma: 0
holch wrote:
@magiclko: are you the maintainer of the plugin? If so, where can the updated plugin be found? I had a look at the plugin page (wordpress.org/extend/plugins/surveypress/) and couldn't find an updated version. The last update is from January 9th.

Or is there a process that takes a while until the page on wordpress.org gets updated?

Yes, WP takes some time to update the description and stuff, though the package you download will be latest!
The administrator has disabled public write access.

Aw: Re: Aw: Limesurvey with Wordpress? 4 years 6 months ago #74330

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5101
  • Thank you received: 756
  • Karma: 227
Thanks, magiclko!

I'll have a look at it this week. Gives me a few ideas, especially together with Buddypress.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74337

Thanks for all the great support everyone. I'm stoked by the quick responses I get from the forum here.

Even after the plugin has been updated, my central issue remains. Even if a survey is listed privately, it's URL is technically "public", so anyone with the right address can access it.
Enabling tokens destroys the whole point because even if a user is signed in, they can't take the quiz without a token.

I need to find a way to link the Wordpress users database with the LimeSurvey tokens database, so that LimeSurvey will only allow users from the Wordpress site to access the survey, and record their answers, linking those responses to the WP profile names.

I know PHP somewhat, but could use direction on how to structure this whole contraption...
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74384

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
How do you want to pass the Limesurvey tokens to the user once you have ported them to Limesurvey? Will you port the email as well and then send them an email invitation including their token?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74420

  • Fred
  • Fred's Avatar
  • Offline
  • Expert Lime
  • Posts: 147
  • Thank you received: 5
  • Karma: 3
Interesting, I was looking for something like this last Summer, but I guess this plugin wasn't around then.

People are always asking for "integrating" products but that means a LOT of different things to different people. It's convenient to have the WP users table and LS users table but doesn't solve the problem of having "private," password-controlled surveys. You have to use tokens to control access in LS. The Central Participants Database will help to pull together a unified view of tokens by participant for the administrator to use, but it still lacks password protection and doesn't have an interface for the Participants themselves to use. But having the CPD data structure at least gives you a place to hook into.

I think people are looking for a "research panel" application. Commercial equivalents are Vovici, Globalpark, etc. I like the idea of working with Buddypress or Drupal and starting with the concept that "survey takers" are users, but different kinds of users than "survey builders." Each needs their own distinct interface.
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74438

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
Fred wrote:
The Central Participants Database will help to pull together a unified view of tokens by participant for the administrator to use, but it still lacks password protection and doesn't have an interface for the Participants themselves to use. But having the CPD data structure at least gives you a place to hook into.
Such a username/password feature is on our wish list as well. Problem is that we do all the coding, bug fixing and support at our free time which is pretty limited due to "real" jobs, friends and family. Sometimes users/companies sponsor new features which makes it easier because when being paid you can buy your wife a new pair of shoes as compensation for telling her "sorry, I have to finish this coding stuff, we can't watch TV this evening" :cheer:
Fred wrote:
I think people are looking for a "research panel" application.
That's the idea behind the CPDB project. It is just a first version with basic features but once we notice that users love it, we will extend its features.

You can add such things as a feature request at our feature tracker . Please describe your idea as detailed as possible and try to outline a suitable solution/implementation as well.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: Fred

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74445

  • Fred
  • Fred's Avatar
  • Offline
  • Expert Lime
  • Posts: 147
  • Thank you received: 5
  • Karma: 3
The LimeSurvey team is doing an awesome job. We should all make Valentine's Day donation
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74471

  • magiclko
  • magiclko's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 11
  • Karma: 0
Fred wrote:
Interesting, I was looking for something like this last Summer, but I guess this plugin wasn't around then.

People are always asking for "integrating" products but that means a LOT of different things to different people. It's convenient to have the WP users table and LS users table but doesn't solve the problem of having "private," password-controlled surveys. You have to use tokens to control access in LS.

Exactly, every admin want tokens to be tailor made i.e. he might follow some arbitrary algorithm while making tokens. Tokens for different users should be different and shouldn't be guessable! And that's where the main problem lies. Syncing tokens table and WP tables is not a problem. You can't make username/email-address as a token,coz than any user can take another user's survey(given token is known to him!) which leaves the option of random tokens and for that another plugin specific table will be required in WP. I wanted this plugin to be as light as possible but of course with some proper purpose! I might work on introducing token-syncing feature soon! :cheer:
Last Edit: 4 years 6 months ago by magiclko.
The administrator has disabled public write access.

Aw: Limesurvey with Wordpress? 4 years 6 months ago #74550

  • magiclko
  • magiclko's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 11
  • Karma: 0
Added the "Tokens syncing" feature!
Now it should be fairly easy to do what you're looking for! Make your surveys private and enable tokens. Fill in the customization options in plugin screen. If you only want users with role 'editors' to take a survey with sid=xyz, check 'editors' and give xyz as sid and all users with role 'editor' will be given a unique and random token. When they login in WP, they should be able to give the survey only if they have the token!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.317 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form