Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Global use of Token

  • evaluation2023
  • evaluation2023's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 11 months ago #240949 by evaluation2023
Global use of Token was created by evaluation2023
Hi,
is there a way in limesurvey to enter a token on the landing page (index) to begin the survey instead of using the specific survey url?

I have been looking for a plug-in - unfortunately didn’t find something…

Kind regards!


 

PHP Version 8.0.28
Version 5.6.4+230206

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #240952 by Joffm
Replied by Joffm on topic Global use of Token
This is standard behaviour.

Either you list the survey publicly.
Now you only provide the link to the general page, like  www.myServer/limesurvey
Then you see all publicly listed survey, select the one you want to answer and on the next page you have to enter your token
 

 

Or you provide the general link to the survey like  www.myServer/limesurvey/123456
and you are on the page to enter the token.

So I do not know exactly what you are trying to achieve.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • evaluation2023
  • evaluation2023's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago #242133 by evaluation2023
Replied by evaluation2023 on topic Global use of Token
Sorry for confusion, this is not relating to my issue...

If i have for example 10 surveys activated with token-access - is there a plugin available to start the survey NOT via the individual survey url (like /index.php/993889) but via the dashboard (/index.php) and enter there a code (token) - in the next step the server wil forward to the correct survey?

PHP Version 8.0.28
Version 5.6.4+230206

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #242174 by tpartner
Replied by tpartner on topic Global use of Token
As far as I know, you would need to develop that.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: evaluation2023

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #242176 by holch
Replied by holch on topic Global use of Token
This isn't possible, because tokens could be the same in different surveys, so LImesurvey wouldn't know to which survey redirect to.

As Tpartner, you would probably have to create your own landing page that will look up the token and the survey it belongs to and then redirect accordingly. But you will have to make sure that the token is unique over all surveys.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu, evaluation2023

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 year 10 months ago - 1 year 10 months ago #242259 by DenisChenu
Replied by DenisChenu on topic Global use of Token

This isn't possible, because tokens could be the same in different surveys, so LImesurvey wouldn't know to which survey redirect to.

As Tpartner, you would probably have to create your own landing page that will look up the token and the survey it belongs to and then redirect accordingly. But you will have to make sure that the token is unique over all surveys.

 
Create a plugin using Global CDB particumant tabe
Adding a Account option : password, password reset, 2FA etc ..
Find all surey with this Particiant id (token can be different)
List this survey and show link
Add a GDPR system to allow user to delete whole data
etc …

4 weeks work minimum.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 1 year 10 months ago by DenisChenu.
The following user(s) said Thank You: evaluation2023

Please Log in to join the conversation.

More
1 year 10 months ago #242279 by jelo
Replied by jelo on topic Global use of Token
Perhaps you can use a short subdomain or domain to redirect to one survey.
This master survey contains all token of all surveys (which you would need to check for uniqueness) and has an attribute which contains the surveyid.
The EndURL would be the surveyurl and a placeholder for the token and the surveyid.
That way the respondent would be redirected to the correct survey depending on the given token.

I have uses that approach to have one survey-URL with two surveys (one before an event and one afterwards).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: evaluation2023

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose