Welcome to the LimeSurvey Community Forum

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

Login with username and password for users who are going to take survey

  • garvsaxena
  • garvsaxena's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #120901 by garvsaxena
Hey, Hello!!!
We need that a simple user registration before start the survey. In user registration fields should be first name, lastname, username, email, password. After successful registration, user can enter his details into the login form and if the details matched he will be able to enter the survey and complete it.

In short we need a login based authentication not token based authentication.

Now my question is that is there any way to make this functionality in limesurvey??? Please help me out its very important for me...plz help!!
The topic has been locked.
  • elissa
  • elissa's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #120905 by elissa
Hi,
Maybe you can achieve this by Allow public registration option in Survey Settings > Tokens. Check the manual: manual.limesurvey.org/Survey_settings#Tokens
Regards
Elisa

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
The topic has been locked.
  • garvsaxena
  • garvsaxena's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #120906 by garvsaxena
Thanks maam for your reply!

But we dont want to use this token based authentication. We just need that when a user access the link for the survey then he should ask a username and password to enter into the survey, if he didnt have username and password then there is a link of registration form. In reg form there are some fields like USERNAME, EMAIL ADDRESS, PASSWORD, CONFIRM PASSWORD.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago - 8 years 9 months ago #120915 by DenisChenu
You can replace the register system using plugin event.

Inspiration : gitlab.com/Shnoulle-LimeSurvey-plugin/replaceRegister

Here we send the email again ( gitlab.com/Shnoulle-LimeSurvey-plugin/re...aceRegister.php#L261 ).

PS: OR you can use default save system : a link is added allowing to save their survey.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 8 years 9 months ago by DenisChenu.
The topic has been locked.
  • garvsaxena
  • garvsaxena's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #120918 by garvsaxena
Thanks..!
Actually I am new to limesurvey so can you please guide me to how I can use this plugin or install this plugin to working correctly.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #120919 by DenisChenu
Bfore try the "Save feature".

To test the plugin : you have to download the zip, extract put in in ./plugins/ directory (./plugins/replaceRegister/replaceRegister.php).

Activate the plugin via the admin GUI.

But here : it's more a starting point to your own system (need PHP dev).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • garvsaxena
  • garvsaxena's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #120924 by garvsaxena
After activate the plugin, and start the survey a registration page in displaying. But when we enter the details in the form and submit it, it throws an error
"404 Not found.

Unable to resolve the request "cse/index.php/266617/action/register/lang/en".

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster."

How to resolve this error??
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #120928 by DenisChenu
You're right. A old plugin not updated ;)


Fixed with : git.framasoft.org/SondagePro-LimeSurvey-...8af96a4f3ae923259a26

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • garvsaxena
  • garvsaxena's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #120929 by garvsaxena
I have used used this plugin but nothing will changed.
Basically we need that: When a user open the survey site a login form will appear everytime. If the user have the username and password then the user may enter into the website and fill the survey questions, otherwise there is a new registration form for new users. Thats it! Now plz tell me that is this possible in limesurrvey???
The topic has been locked.
  • elissa
  • elissa's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #120933 by elissa
What is wrong with the form that shows when the "Allow public registration" is on?

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
The topic has been locked.
  • garvsaxena
  • garvsaxena's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #120934 by garvsaxena
Nothing is wrong with the form, form is exactly the same that we need.

But the functionality we have to change little bit. Currently what happens: when we set anonymous response == NO from the admin panel, then when an user try to open a survey from the direct link he is asked for a registration. And after filling the form a survey link with the token has been emailed to that particular user by which user can enter the survey and take the survey because the token is saved in the database.Right??

But now we need little bit change scenario, We need that when a user open a survey from the direct link, then a login form will appear instead of registration form, if the user doesnt have the Username and Password to login then for those users there is also a registration link on the page., And only after a successful login an user can enter into the survey.??

This process we need basically. So please suggest me that it is possible or not in limesurvey.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #120943 by DenisChenu
Hi,

In LS core : no
With actual know plugin : no
With some PHP : yes.

If you look at the new README : git.framasoft.org/SondagePro-LimeSurvey-...lob/master/README.md

This plugin is a starting point to do another update in registering.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: garvsaxena
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose