I have a situation where because of various security issues, I need to alter the token after a user enters it into the form so that when Limesurvey checks the participants database table the result passes and grants access to the survey.
I need to convert a password that contains spaces to one without spaces, as limesurvey does not allow spaces in passwords, yet because of the population I'm surveying, we need easy-to-remember passwords, i.e., words separated by spaces.
I'm thinking something in the form submissions should work but am hesitant to change that because of potentially catastrophic results.
By the way for anyone viewing this thread - Tony worked on a project I'm developing freelance and did an excellent job! Very professional, on-time and very reasonable price.
If you need a professional LimeSurvey consultant, please consider him.
Okay, thanks for the tip. I've extended and am now using that one but the /var/www/html/limesurvey/upload/themes/survey/extends_vanilla/views/subviews/logincomponents/ directory is empty. Am I supposed to also copy over that core directory files when extending?
Yes, you will need to copy the token.twig file from the vanilla theme.
You can either copy it via FTP into /upload/themes/survey/extends_vanilla/views/subviews/logincomponents/ or you can use the theme editor to create a copy.
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.