Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:allow answer to users that already are in database (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:allow answer to users that already are in database
#19906
camidin (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
[done] allow answer to users that are in database 1 Month, 1 Week ago Karma: 0  
hi

the question is: ¿how can i restrict the limesurvey to allow questions to users that already are in some database?

thanks in advance.
 
Logged Logged  
 
Last Edit: 2008/10/15 11:00 By Mazi.
  The administrator has disabled public write access.
#19926
ITEd (Moderator)
LimeSurvey Team
Posts: 352
graphgraph
User Offline Click here to see the profile of this user
Re:allow answer to users that already are in database 1 Month, 1 Week ago Karma: 8  
Use a non-anonymous survey with tokens. Populate the tokens table with the necessary data exported from your other database, if necessary.

Regards.
 
Logged Logged  
  The administrator has disabled public write access.
#19930
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:allow answer to users that already are in database 1 Month, 1 Week ago Karma: 25  
Your description as rather vague. Can you please describe your problem in more detail?
What do you do exactly?
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#19955
camidin (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:allow answer to users that already are in database 1 Month, 1 Week ago Karma: 0  
hi. sorry if the text is vague.

to my university i want to make a survey only to students, and only to teachers, and they are in a databases. the question is, how can i do that? how can i connect limesurvey with the database to do the survey only for teachers or only for students?
(also, this same situation is if a want to do surveys in schools, universities, government, etc, and each situation maybe with differents database systems.)

¿the tokens is the solution?

thanks in advance.
 
Logged Logged  
  The administrator has disabled public write access.
#19956
camidin (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:allow answer to users that already are in database 1 Month, 1 Week ago Karma: 0  
thanks! the tokens seems that it is the answer but ¿is the only way?
 
Logged Logged  
 
Last Edit: 2008/10/14 20:11 By camidin.
  The administrator has disabled public write access.
#19989
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:allow answer to users that already are in database 1 Month, 1 Week ago Karma: 25  
Token is the only and therefore best way to do this. Just create a user yourself and export this user to a .csv file to see which data format limesurvey uses. Then you can write a script to export data from your other database and import this data into the limesurvey tokens table.

Keep in mind to use a raw text editor because using excel results in problems because excel changes the internal data format.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#20009
camidin (User)
Junior Lime
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:allow answer to users that already are in database 1 Month, 1 Week ago Karma: 0  
ok mazi, lots of thanks

i go to the wiki to learn about tokens.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top