- Posts: 11
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
E-mail registration on only a limited scope
- Mutos
- Topic Author
- Offline
- New Member
Less
More
4 years 1 month ago - 4 years 1 month ago #195333
by Mutos
@+
Benoît 'Mutos' Robin
E-mail registration on only a limited scope was created by Mutos
Hello all,
I'm new to LimeSurvey, so please indicate me if I write something considered gross here ^-^
I'm creating surveys for a CGT workers' union inside a company and I want that only the workers from our company can take our surveys.
I previously used Framaforms, based on the Webforms Drupal module, with a specific work mail address checking process :
Unfortunately, this feature has been broken by a Drupal update. As I have access to our union's site's hosting, I searched for an open-source survey engine to install on it. So I found LimeSurvey, which seems to have everything we want and more ^-^
Alas, for validation, I still have nothing working and this is a required feature for all our surveys.
I explored the two following paths :
Do anyone here has already achieved that or know of a way to do it, be it from one of the path listed before, or in any other way ?
Thanks for any hint !
Benoît 'Mutos' Robin
I'm new to LimeSurvey, so please indicate me if I write something considered gross here ^-^
I'm creating surveys for a CGT workers' union inside a company and I want that only the workers from our company can take our surveys.
I previously used Framaforms, based on the Webforms Drupal module, with a specific work mail address checking process :
- User entered their work mail address, validated by a regex on its domain name ;
- When they confirmed their answer, a confirmation e-mail was sent to that address ;
- User clicked on the confirmation link included in the mail ;
- That action would set the answer to confirmed status.
Unfortunately, this feature has been broken by a Drupal update. As I have access to our union's site's hosting, I searched for an open-source survey engine to install on it. So I found LimeSurvey, which seems to have everything we want and more ^-^
Alas, for validation, I still have nothing working and this is a required feature for all our surveys.
I explored the two following paths :
- Activate closed surveys with public registration : I don't know if it's possible to check the registration mail address against a regex to limit its scope.
- Ask for a mail address and check it against a regex : done, but I have no way to generate a confirmation mail to that address, with a link that the user would click to confirm their answer.
Do anyone here has already achieved that or know of a way to do it, be it from one of the path listed before, or in any other way ?
Thanks for any hint !
Benoît 'Mutos' Robin
@+
Benoît 'Mutos' Robin
Last edit: 4 years 1 month ago by Mutos.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
4 years 1 month ago #195337
by DenisChenu
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.
Replied by DenisChenu on topic E-mail registration on only a limited scope
You host yourself and can add some plugins ?
If yes : use this plugin : gitlab.com/SondagesPro/SurveyAccess/surveyRegister
Since you can make any restriction on the 1st survey you can validate email.
I made it a long time ago : can not be sure at 100% it work on 3.X
Must be update for 4.X
Else : the only solution seems to be a javascript solution ....
If yes : use this plugin : gitlab.com/SondagesPro/SurveyAccess/surveyRegister
Since you can make any restriction on the 1st survey you can validate email.
I made it a long time ago : can not be sure at 100% it work on 3.X
Must be update for 4.X
Else : the only solution seems to be a javascript solution ....
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.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago #195338
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Thanks Denis,
I'll try it, but I'm on the latest 4.x version, so it may need some update. I'll dive into it to try and understand what it does ^-^
Is there a doc somewhere ? On GitHub I see only 2 files : license and php.
Mutos
I'll try it, but I'm on the latest 4.x version, so it may need some update. I'll dive into it to try and understand what it does ^-^
Is there a doc somewhere ? On GitHub I see only 2 files : license and php.
Mutos
@+
Benoît 'Mutos' Robin
The topic has been locked.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago - 4 years 1 month ago #195340
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Hi Denis,
I added a config.xml derived from the information in the licence file and specifying compatibility with 4.x, and installed it.
Now it's installed, and what must I do ?
If I understand the idea, I must make 2 surveys, A and B.
But when I look at the code, I see it makes use of token, seemingly survey A will redirect to survey B. There must be somewhere a config to do to link the surveys, but where ?
I'll try and grok it ^-^
Mutos
I added a config.xml derived from the information in the licence file and specifying compatibility with 4.x, and installed it.
Now it's installed, and what must I do ?
If I understand the idea, I must make 2 surveys, A and B.
- Survey A will only take and validate the email address ;
- it'll send a mail to get to survey B ;
- Then the user will take survey B normally.
But when I look at the code, I see it makes use of token, seemingly survey A will redirect to survey B. There must be somewhere a config to do to link the surveys, but where ?
I'll try and grok it ^-^
Mutos
@+
Benoît 'Mutos' Robin
Last edit: 4 years 1 month ago by Mutos. Reason: Clarification
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
4 years 1 month ago - 4 years 1 month ago #195341
by DenisChenu
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.
Replied by DenisChenu on topic E-mail registration on only a limited scope
The settings are in Simple plugins settings
The 2nd plugin MUST have token, not the 1st one
A: no token
B : token
The 2nd plugin MUST have token, not the 1st one
ExactlyIf I understand the idea, I must make 2 surveys, A and B.
A: no token
B : token
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: 4 years 1 month ago by DenisChenu.
The topic has been locked.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago #195350
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Hello Denis,
I think I've found the page, on other plugins it displays a list of parameters looking like the screenshot. The path is :
Configuration > Plugin Manager > [Plugin Name] > Setttings
But for your plugin, I have only a blank page. Likely a version issue if this interface was modified between versions 2.x and 4.x.
I'll look inside two plugins I got that display parameters in that page, compare with your screenshot and search the LimeSurvey doc, and maybe I'll be able to fix this ^-^
@+
Benoît 'Mutos' Robin
I think I've found the page, on other plugins it displays a list of parameters looking like the screenshot. The path is :
Configuration > Plugin Manager > [Plugin Name] > Setttings
But for your plugin, I have only a blank page. Likely a version issue if this interface was modified between versions 2.x and 4.x.
I'll look inside two plugins I got that display parameters in that page, compare with your screenshot and search the LimeSurvey doc, and maybe I'll be able to fix this ^-^
@+
Benoît 'Mutos' Robin
@+
Benoît 'Mutos' Robin
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
4 years 1 month ago #195351
by DenisChenu
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.
Replied by DenisChenu on topic E-mail registration on only a limited scope
No,
It's on Survey / Simple plugins settings at bottom left menu.
It's on Survey / Simple plugins settings at bottom left menu.
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.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago #195360
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Hello Denis,
OK, thanks !
So for reaching it :
"Surveys" menu ;
Click on the survey ;
"Simple plugins settings" on bottom of the left menu bar.
As a noob on LimeSurvey, I have to imagine how things work and sometimes ake false assumptions ^-^
@+
Benoît 'Mutos' Robin
OK, thanks !
So for reaching it :
"Surveys" menu ;
Click on the survey ;
"Simple plugins settings" on bottom of the left menu bar.
As a noob on LimeSurvey, I have to imagine how things work and sometimes ake false assumptions ^-^
@+
Benoît 'Mutos' Robin
@+
Benoît 'Mutos' Robin
The topic has been locked.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago - 4 years 1 month ago #195361
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Hi Denis,
Sorry to bother you...
I now have created both surveys, configured them with what I think is "A-no tokens ; B-tokens", and tried them. After I complete Survey A, I got the following error :
500 : Erreur interne au serveur
Survey and its behaviors do not have a method or closure named "hasTokens".
I guess that it means my settings for Survey B are wrong. So I'll try some more settings, but for now I'm lost.
@+
Benoît 'Mutos' Robin
Sorry to bother you...
I now have created both surveys, configured them with what I think is "A-no tokens ; B-tokens", and tried them. After I complete Survey A, I got the following error :
500 : Erreur interne au serveur
Survey and its behaviors do not have a method or closure named "hasTokens".
I guess that it means my settings for Survey B are wrong. So I'll try some more settings, but for now I'm lost.
@+
Benoît 'Mutos' Robin
@+
Benoît 'Mutos' Robin
Last edit: 4 years 1 month ago by Mutos.
The topic has been locked.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago - 4 years 1 month ago #195362
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Hi Denis,
Here are the surveys I configured. Do you have a clue about what could be wrong ? Thanks in advance.
@+
Benoît 'Mutos' Robin
Here are the surveys I configured. Do you have a clue about what could be wrong ? Thanks in advance.
@+
Benoît 'Mutos' Robin
@+
Benoît 'Mutos' Robin
Attachments:
Last edit: 4 years 1 month ago by Mutos.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
4 years 1 month ago #195365
by DenisChenu
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.
Replied by DenisChenu on topic E-mail registration on only a limited scope
Please : report the issue at giltlab.
Like i say : i didn't test plugin in 4.X, seems a function have disappear.
Like i say : i didn't test plugin in 4.X, seems a function have disappear.
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.
- Mutos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 2
4 years 1 month ago #195377
by Mutos
@+
Benoît 'Mutos' Robin
Replied by Mutos on topic E-mail registration on only a limited scope
Hi Denis,
Thanks for the time you took to answer my noob questions !
I'll get an account at GitLab and report the issue.
Thanks for the time you took to answer my noob questions !
I'll get an account at GitLab and report the issue.
@+
Benoît 'Mutos' Robin
The following user(s) said Thank You: DenisChenu
The topic has been locked.