Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: add authentication page for global limesurvey site

add authentication page for global limesurvey site 7 months 2 weeks ago #106094

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 95
  • Thank you received: 2
  • Karma: 0
DenisChenu wrote:
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.
The administrator has disabled public write access.
The following user(s) said Thank You: rigen

add authentication page for global limesurvey site 7 months 2 weeks ago #106145

  • rigen
  • rigen's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
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.
The administrator has disabled public write access.

add authentication page for global limesurvey site 7 months 2 weeks ago #106156

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
mrli999 wrote:
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
The administrator has disabled public write access.
The following user(s) said Thank You: mrli999

add authentication page for global limesurvey site 7 months 2 weeks ago #106161

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 95
  • Thank you received: 2
  • Karma: 0
DenisChenu wrote:
mrli999 wrote:
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?
The administrator has disabled public write access.

add authentication page for global limesurvey site 7 months 2 weeks ago #106173

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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
The administrator has disabled public write access.
The following user(s) said Thank You: mrli999

add authentication page for global limesurvey site 5 months 3 weeks ago #108036

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 95
  • Thank you received: 2
  • Karma: 0
rigen wrote:
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.

Thank you very much. Where can I find you attachment?
The administrator has disabled public write access.

add authentication page for global limesurvey site 5 months 3 weeks ago #108037

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 95
  • Thank you received: 2
  • Karma: 0
DenisChenu wrote:
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


What is the main purpose of replaceRegister.php? How to use it? thanks.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.148 seconds
Donation Image