Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Limesurvey with Wordpress?

  • FreedomTrip
  • FreedomTrip's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #74179 by FreedomTrip
Limesurvey with Wordpress? was created by FreedomTrip
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 topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
12 years 1 month ago #74180 by c_schmitz
Replied by c_schmitz on topic Limesurvey with Wordpress?

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • FreedomTrip
  • FreedomTrip's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #74187 by FreedomTrip
Replied by FreedomTrip on topic Limesurvey with Wordpress?
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 topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74190 by holch
Replied by holch on topic Limesurvey with Wordpress?
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?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • FreedomTrip
  • FreedomTrip's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #74192 by FreedomTrip
Replied by FreedomTrip on topic Limesurvey with Wordpress?
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 topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74194 by holch
Replied by holch on topic Limesurvey with Wordpress?
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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
12 years 1 month ago #74220 by Mazi
Replied by Mazi on topic Limesurvey with Wordpress?
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • Steve01
  • Steve01's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74278 by Steve01
Replied by Steve01 on topic Aw: Limesurvey with Wordpress?
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
Code:
"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 topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74289 by holch
Replied by holch on topic Aw: Limesurvey with Wordpress?
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?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Steve01
  • Steve01's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74298 by Steve01
Replied by Steve01 on topic Aw: Limesurvey with Wordpress?
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 topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74306 by holch
Replied by holch on topic Aw: Limesurvey with Wordpress?
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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Steve01
  • Steve01's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 1 month ago #74319 by Steve01
Replied by Steve01 on topic Aw: Limesurvey with Wordpress?
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 topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose