Welcome to the LimeSurvey Community Forum

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

Limesurvey with Wordpress?

  • magiclko
  • magiclko's Avatar
  • Visitor
  • Visitor
12 years 2 months ago #74550 by magiclko
Replied by magiclko on topic Aw: Limesurvey with Wordpress?
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 topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 2 months ago #74613 by holch
Replied by holch on topic Aw: Limesurvey with Wordpress?
I wanted to test it, so yesterday I installed Wordpress/Buddypress/Surveypress, but didn't have the time to make the necessary configuration of surveypress. Today I wanted to log into wordpress and an errormessage of survey press is blocking the whole installation. When I want to do the login I get the following message:

"unable to update records in ls table with given credentials!".

I can't get logged in and I can't skip this message either.

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.
  • magiclko
  • magiclko's Avatar
  • Visitor
  • Visitor
12 years 2 months ago #74617 by magiclko
Replied by magiclko on topic Aw: Limesurvey with Wordpress?
Remove the plugin and try again?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 2 months ago #74620 by holch
Replied by holch on topic Aw: Limesurvey with Wordpress?
Yup, that's what I've done. Just wanted to let you know. After I have put an underscore in front of the plugin folder I could log in normally.

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.
  • magiclko
  • magiclko's Avatar
  • Visitor
  • Visitor
12 years 2 months ago #74622 by magiclko
Replied by magiclko on topic Aw: Limesurvey with Wordpress?

holch wrote: Yup, that's what I've done. Just wanted to let you know. After I have put an underscore in front of the plugin folder I could log in normally.

underscore as in '_surveypress' folder name? Does it works after that? Make sure debug mode is set to off!
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 2 months ago #74624 by holch
Replied by holch on topic Aw: Limesurvey with Wordpress?
After renaming the folder name to '_surveypress' I can login normally, but of course, the plugin doesn't work. However, once I was logged in, I switched the folder back to 'surveypress' and after a reload of the page the plugin was available again to make configurations. Now I have to install a copy of Limesurvey to make sure it is running.

But I guess the error message shouldn't block the login to Wordpress. It took me quite a while until I figured out that it was not my PW that was wrong, but that the problem had to do with Limesurvey/Surveypress.

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.
  • magiclko
  • magiclko's Avatar
  • Visitor
  • Visitor
12 years 2 months ago #74627 by magiclko
Replied by magiclko on topic Aw: Limesurvey with Wordpress?

holch wrote: After renaming the folder name to '_surveypress' I can login normally, but of course, the plugin doesn't work. However, once I was logged in, I switched the folder back to 'surveypress' and after a reload of the page the plugin was available again to make configurations. Now I have to install a copy of Limesurvey to make sure it is running.

But I guess the error message shouldn't block the login to Wordpress. It took me quite a while until I figured out that it was not my PW that was wrong, but that the problem had to do with Limesurvey/Surveypress.


Corrected it! But it's explicitly mentioned,
"Do not set 'debug_mode' to true until database connection error message is gone!" though in your case plugin should have degraded peacefully! Added the fix. Thanks!
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 2 months ago #74628 by holch
Replied by holch on topic Aw: Limesurvey with Wordpress?
Hmm, I have not set debug_mode to true at all. So this can't be the problem. I did a clean an simple install of Wordpress, then Buddypress and Surveypress via de installation function within Wordpress. I didn't switch the debug mode on.

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 2 months ago #74674 by FreedomTrip
Replied by FreedomTrip on topic Limesurvey with Wordpress?
Getting back to the original thread topic...
First of all, thanks magiclko for all the support regarding this setup and your plugin! Your work is very much appreciated. :)

I am much closer now to my goals. Entering the survey ID in the plugin's settings does indeed generate tokens for each current registered user, and this is AWESOME. I was also stoked when I saw the token automatically get submitted when clicking the survey link in a user's dashboard.

My intent is to eventually have a heavily-trafficked, community-driven web presence on my site. So obviously I can't manually generate the tokens every once in a while. It needs to be dynamic, so that the token gets generated in the LS database as soon as a user registers for my site.

Not asking for you to change the plugin any more, but just putting my goals out there in case you or anyone else can help. I'm not sure how much work would be required to make the token generations dynamic...?
The topic has been locked.
  • magiclko
  • magiclko's Avatar
  • Visitor
  • Visitor
12 years 2 months ago #74681 by magiclko
Replied by magiclko on topic Limesurvey with Wordpress?

FreedomTrip wrote: Getting back to the original thread topic...
First of all, thanks magiclko for all the support regarding this setup and your plugin! Your work is very much appreciated. :)

I am much closer now to my goals. Entering the survey ID in the plugin's settings does indeed generate tokens for each current registered user, and this is AWESOME. I was also stoked when I saw the token automatically get submitted when clicking the survey link in a user's dashboard.

My intent is to eventually have a heavily-trafficked, community-driven web presence on my site. So obviously I can't manually generate the tokens every once in a while. It needs to be dynamic, so that the token gets generated in the LS database as soon as a user registers for my site.

Not asking for you to change the plugin any more, but just putting my goals out there in case you or anyone else can help. I'm not sure how much work would be required to make the token generations dynamic...?


That is in my TODO list for now. Adding tokens based on Roles was first step. Adding tokens on user login is second!
The topic has been locked.
  • FreedomTrip
  • FreedomTrip's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #75819 by FreedomTrip
Replied by FreedomTrip on topic Limesurvey with Wordpress?
How goes the update? I would love to see this second feature added.
The topic has been locked.
More
12 years 2 weeks ago #78499 by jpperrein
Replied by jpperrein on topic Limesurvey with Wordpress?
@magiclko : Great work ! great idea !, and thanks a lot to bring this plugin to the community.
I use limesurvey for many purpose, and having the opportunity to connect it with BuddyPress gives a lot of possibility.

I am very impatient to see a next version of this plugin, specially the possibility to create a token at user login, or having automatics synchronizations wordpress->Limesurvey OR wordpress<-Limesurvey OR wordpress<->Limesurvey

Some ideas, could be :
- Having a widget or shortcode showing the list of surveys so users doesn't have to go into the dashboard (Hard for a user to handle Wordpress/buddypress, it may be good to keep the dashboard hidden),
- Giving the possibility to choose a value for the "Uses left", 1 may be too little if the user had a crash or need to go back to the survey,
- Harder: it could be interesting to be able for one user, to show value in wordpress (shortcode for exemple, or profile field of buddypress)of one specifics answer in a survey,

But, humm, can we buy you a cafe ? :-)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose