add authentication page for global limesurvey site

Mehr
3 Jahre 3 Monate her - 3 Jahre 3 Monate her #104937 von rigen
rigen erstellte das Thema add authentication page for global limesurvey site
Hi,
I actually face a problem with limesurvey. I need to force all user to have couple login/password before accessing any survey.
The context is that the survey have to be edited by the same persons (5 to 10). They will have to fill the survey for illiterates. So before let's them access to the survey's pages I want to authenticate them.

Can anyone helps me please?
Thanks.
Letzte Änderung: 3 Jahre 3 Monate her von rigen.

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 3 Monate her - 3 Jahre 3 Monate her #104984 von mrli999
mrli999 antwortete auf das Thema: add authentication page for global limesurvey site
I am also interested in the function. It should be very useful.

Maybe lime survey team can create a special survey in the survey (maybe name the survey can be LOGIN), and let that survey serve as the login page. Then the administrator can edit it(login page) as neccsary.
Letzte Änderung: 3 Jahre 3 Monate her von mrli999.

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 3 Monate her #105411 von mrli999
mrli999 antwortete auf das Thema: add authentication page for global limesurvey site

mrli999 schrieb: I am also interested in the function. It should be very useful.

Maybe lime survey team can create a special survey in the survey (maybe name the survey can be LOGIN), and let that survey serve as the login page. Then the administrator can edit it(login page) as neccsary.


Any suggestions?

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 3 Monate her #105636 von DenisChenu
DenisChenu antwortete auf das Thema: add authentication page for global limesurvey site
beforeSurveyPage event plugin with some PHP developpement

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 3 Monate her #105655 von mrli999
mrli999 antwortete auf das Thema: add authentication page for global limesurvey site

DenisChenu schrieb: beforeSurveyPage event plugin with some PHP developpement


Thany you very much! Where can I find the beforeSurveypage event plugin?

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 3 Monate her #105671 von DenisChenu
DenisChenu antwortete auf das Thema: add authentication page for global limesurvey site

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her - 3 Jahre 2 Monate her #106051 von rigen
rigen antwortete auf das Thema: add authentication page for global limesurvey site
Hi everybody.

Appologies for that long silence.
I got some result with DenisChenu proposition.

What you will find attached is the plugin i wrote for the moment. It does in a way what I want but i want to improve it.

Actually I use the admin login page to authenticate users so i have to hack limesurvey souce code to redirect the user to the resqueted survey page.

What I want now is to developp a custom authentication page in this plugin to facilitate redirection.

If someone hav an idea he is welcome.

Thanks.
Letzte Änderung: 3 Jahre 2 Monate her von rigen.
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106075 von DenisChenu
DenisChenu antwortete auf das Thema: add authentication page for global limesurvey site
Hi,

Think it's a bad idea to use Admin Login : better to use partcipant DB with one column for password.

To use "beforSurveyPage" , you can take some code here : git.sondages.pro/?p=ls-replaceregister.git/.git;a=summary

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106081 von mrli999
mrli999 antwortete auf das Thema: add authentication page for global limesurvey site

DenisChenu schrieb: Hi,

Think it's a bad idea to use Admin Login : better to use partcipant DB with one column for password.

To use "beforSurveyPage" , you can take some code here : git.sondages.pro/?p=ls-replaceregister.git/.git;a=summary


Totally agree!

If the user in the central participant DB can have more attribute including password, username and etc. And the limesurvey can let public user register into the central participant DB. That would be great!

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106087 von DenisChenu
DenisChenu antwortete auf das Thema: add authentication page for global limesurvey site
You can add an Attribute password if needed.

And maybe 2 option :
When you import/update manually : add the password witout crypting.
When user log in via your own log in system : update the password crypted with some 'tag' : sha256:cryptedpassword.

I think here you need an plugin event :
Idea 1: beforeSurveysList : github.com/LimeSurvey/LimeSurvey/blob/ma...urveysController.php here
Idea 2: defaultController : github.com/LimeSurvey/LimeSurvey/blob/ma...fig/internal.php#L72

Please put a feature reuest for 2.06 LS core version if you need some plugin event :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106094 von mrli999
mrli999 antwortete auf das Thema: add authentication page for global limesurvey site

DenisChenu schrieb: You can add an Attribute password if needed.

And maybe 2 option :
When you import/update manually : add the password witout crypting.
When user log in via your own log in system : update the password crypted with some 'tag' : sha256:cryptedpassword.

I think here you need an plugin event :
Idea 1: beforeSurveysList : github.com/LimeSurvey/LimeSurvey/blob/ma...urveysController.php here
Idea 2: defaultController : github.com/LimeSurvey/LimeSurvey/blob/ma...fig/internal.php#L72

Please put a feature reuest for 2.06 LS core version if you need some plugin event :)




This is a very important function. Would you limesurvey add it to the new version? As you know, when I created some survey online, I don't want the survey is open is every body, and hope it is only open to registered member.
Folgende Benutzer bedankten sich: rigen

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106145 von rigen
rigen antwortete auf das Thema: add authentication page for global limesurvey site
Ok.
Thanks for your remarks.

That's why share is very important in life. :) :)

I'll correct it and feedback the result.

Yes it would be great if limesurvey can handle this function in future version.

Thanks.

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106156 von DenisChenu
DenisChenu antwortete auf das Thema: add authentication page for global limesurvey site

mrli999 schrieb: This is a very important function. Would you limesurvey add it to the new version? As you know, when I created some survey online, I don't want the survey is open is every body, and hope it is only open to registered member.

You can set all of your survey to 'public' => NO : they don't show in public list
All your survey with a token table, and use some replace register plugin to use your own identificatio system on each 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106161 von mrli999
mrli999 antwortete auf das Thema: add authentication page for global limesurvey site

DenisChenu schrieb:

mrli999 schrieb: This is a very important function. Would you limesurvey add it to the new version? As you know, when I created some survey online, I don't want the survey is open is every body, and hope it is only open to registered member.

You can set all of your survey to 'public' => NO : they don't show in public list
All your survey with a token table, and use some replace register plugin to use your own identificatio system on each survey.

Denis


thank you very much. Where can I find such plugin?

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 2 Monate her #106173 von DenisChenu
DenisChenu antwortete auf das Thema: add authentication page for global limesurvey site
There are no existing plugin, you need to construct one yourself.

git.sondages.pro/?p=ls-replaceregister.g...;h=refs/heads/master

And yes : you right : we don't have actually a solution in plugins event to replace 'survey listing' i think we need a new event, in LS core.

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Folgende Benutzer bedankten sich: mrli999

Bitte Anmelden um der Konversation beizutretten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten