- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
automatically generate tokens without using 'Generate Tokens'
- David_B
- Topic Author
- Offline
- New Member
Less
More
7 years 1 month ago #147560
by David_B
automatically generate tokens without using 'Generate Tokens' was created by David_B
Hello,
I create new survey tokens using the "Add token entry" and then use a cron script later to automatically send the survey invitations. Unfortunately, I sometimes forget to "generate tokens" which means that survey participants get an error.
Is there a way for Limesurvey to generate the token codes for me either
1. automatically when "Add token entry" is submitted or
2. using a cron script?
Any help for this problem would be appreciated.
David
I create new survey tokens using the "Add token entry" and then use a cron script later to automatically send the survey invitations. Unfortunately, I sometimes forget to "generate tokens" which means that survey participants get an error.
Is there a way for Limesurvey to generate the token codes for me either
1. automatically when "Add token entry" is submitted or
2. using a cron script?
Any help for this problem would be appreciated.
David
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
7 years 1 month ago #147586
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 automatically generate tokens without using 'Generate Tokens'
2: yes ... using a plugin for example
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.
- David_B
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
7 years 1 month ago #147646
by David_B
Replied by David_B on topic automatically generate tokens without using 'Generate Tokens'
Thanks for the comment. Can you point me in the right direction? I haven't seen a plugin that generates tokens.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
7 years 1 month ago #147652
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic automatically generate tokens without using 'Generate Tokens'
You can use the RemoteControl 2 API to add tokens:
manual.limesurvey.org/RemoteControl_2_API
api.limesurvey.org/classes/remotecontrol...hod_add_participants
manual.limesurvey.org/RemoteControl_2_API
api.limesurvey.org/classes/remotecontrol...hod_add_participants
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
7 years 1 month ago - 7 years 1 month ago #147738
by DenisChenu
, for token creation : see LimeSUrvey code.
If you need a plugin development : extensions.sondages.pro/about/contact
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 automatically generate tokens without using 'Generate Tokens'
Code example framagit.org/SondagePro-LimeSurvey-plugin/sendMailCronDavid_B wrote: Thanks for the comment. Can you point me in the right direction? I haven't seen a plugin that generates tokens.
, for token creation : see LimeSUrvey code.
If you need a plugin development : extensions.sondages.pro/about/contact
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: 7 years 1 month ago by DenisChenu.
The topic has been locked.