Welcome, Guest
Username: Password: Remember me

TOPIC: Limesurvey with Wordpress?

Limesurvey with Wordpress? 2 years 5 months ago #74179

I think that clearly the future of LimeSurvey will necessitate a Wordpress plugin to allow for easy integration. Right now, though, I'm trying to figure out how to link the two manually.

I want to only allow registered users on the WP site to be able to access my survey, and only take it once. Can anyone give me a basic idea of how I would link the user profiles from the Wordpress wp-users table with the Tokens and/or user database for LimeSurvey? Is this a realistically possible goal?
The administrator has disabled public write access.

Re: Limesurvey with Wordpress? 2 years 5 months ago #74180

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 744
  • Thank you received: 99
  • Karma: 87
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.

Re: Limesurvey with Wordpress? 2 years 5 months ago #74187

Unfortunately, this plugin only syncs users in WP with user accounts in LimeSurvey, so it doesn't mean they can take the tests, it just means they can log in to the admin section...
The administrator has disabled public write access.

Re: Limesurvey with Wordpress? 2 years 5 months ago #74190

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2549
  • Thank you received: 285
  • Karma: 102
I haven't used the tool, but it says:

" which gives the capability of importing users from WordPress to LimeSurvey and registered users of WordPress site can see the public active surveys in there dashboard and take them as well!"

Doesn't that mean, that the users of your Wordpress site should be able to take the surveys?
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.

Re: Limesurvey with Wordpress? 2 years 5 months ago #74192

If you read further (and I've tried this out), it says "Make your surveys public (in LimeSurvey!) so that users can see and take them directly through there dashboard in WordPress."

The surveys are required to be public for users to take them...which makes this pretty much useless.
If only there was a way to have them be private and still get this to work, it would be an indispensable plugin.
The administrator has disabled public write access.

Re: Limesurvey with Wordpress? 2 years 5 months ago #74194

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2549
  • Thank you received: 285
  • Karma: 102
OK, I've read further, but I didn't interpret that passage this way.

I doubt that besides keeping the user databases synced somehow, there is no way at the moment to do this then.
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.

Re: Limesurvey with Wordpress? 2 years 5 months ago #74220

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
FreedomTrip, can you explain in more detail how you want to use Limesurvey and how you want both tools to be connected?

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? 2 years 5 months ago #74278

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
Hello,

I think the problem is that it matches the Wordpress users with the LimeSurvey users and not with the participants in the token table. I had a look at the source code of this plugin (plugins.svn.wordpress.org/surveypress/trunk/ , file survey-press.php) and found
"SELECT * FROM ".$db_value_prefix."users WHERE users_name = %s AND password = %s", $username, $pwd
in it, there is nothing for communicating with a token table.

The problem might be that users in LimeSurvey are global while participant settings are defined in the token table of the specific survey.

Perhaps we can customize this plugin to do as we want.
Mit freundlichen Grüßen/Best regards,

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

Aw: Limesurvey with Wordpress? 2 years 5 months ago #74289

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2549
  • Thank you received: 285
  • Karma: 102
Maybe when the central participant database is implemented, then it might be worth a look to adapt the plugin to that. I guess it would be a lot easier, though I don't know how exactly tokens are stored at the moment. Is there a table with tokens for each survey?
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? 2 years 5 months ago #74298

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
A table "lime_tokens_SID" will be created if you activate "Token management"/"Initialise tokens" .
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.151 seconds
Donation Image