Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: add authentication page for global limesurvey site

add authentication page for global limesurvey site 2 Monate 1 Woche her #104937

  • rigen
  • rigens Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
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: 2 Monate 1 Woche her von rigen.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

add authentication page for global limesurvey site 2 Monate 1 Woche her #104984

  • mrli999
  • mrli999s Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 84
  • Dank erhalten: 1
  • Karma: 0
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: 2 Monate 1 Woche her von mrli999.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

add authentication page for global limesurvey site 2 Monate 2 Tage her #105411

  • mrli999
  • mrli999s Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 84
  • Dank erhalten: 1
  • Karma: 0
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?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

add authentication page for global limesurvey site 1 Monat 4 Wochen her #105636

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5869
  • Dank erhalten: 719
  • Karma: 223
beforeSurveyPage event plugin with some PHP developpement
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mrli999

add authentication page for global limesurvey site 1 Monat 4 Wochen her #105655

  • mrli999
  • mrli999s Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 84
  • Dank erhalten: 1
  • Karma: 0
DenisChenu schrieb:
beforeSurveyPage event plugin with some PHP developpement

Thany you very much! Where can I find the beforeSurveypage event plugin?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

add authentication page for global limesurvey site 1 Monat 4 Wochen her #105671

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5869
  • Dank erhalten: 719
  • Karma: 223
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mrli999

add authentication page for global limesurvey site 1 Monat 2 Wochen her #106051

  • rigen
  • rigens Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
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: 1 Monat 2 Wochen her von rigen.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

add authentication page for global limesurvey site 1 Monat 2 Wochen her #106075

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5869
  • Dank erhalten: 719
  • Karma: 223
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mrli999

add authentication page for global limesurvey site 1 Monat 2 Wochen her #106081

  • mrli999
  • mrli999s Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 84
  • Dank erhalten: 1
  • Karma: 0
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

add authentication page for global limesurvey site 1 Monat 2 Wochen her #106087

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5869
  • Dank erhalten: 719
  • Karma: 223
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 :)
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mrli999
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.176 Sekunden
Donation Image