Welcome to the LimeSurvey Community Forum

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

Save operations into db

1 year 1 week ago #226103 by maurikef
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.2.6
Own server or LimeSurvey hosting: Own server
Survey theme/template:
I am writing a plugin that allows me to do the following:
- check access to a admin page (url)
- check if survey expiration date is set
- check transactions made on the responses page
- check transactions made on the participant page (not from central database)
- check operations to modify a theme
- check insertion of the captcha
- partial storage of questionnaire replies
My purpose is to record these operations within a database to keep track of any critical issues.
For some operations I am trying to use present events (e.g. beforeResponseSave, beforeResponseDelete, beforeParticipantSave, beforeParticipantDelete) but they do not work or, as in the case of participants, refer only to those of the central database and not to those that are added from the panel only for that survey.
Finally, I would like to know how to differentiate the successful operations from the unsuccessful ones. I am using the request (attached code) but I do not think it is correct.
Thanks to those who will answer me
The topic has been locked.
1 year 1 week ago #226108 by DenisChenu
Replied by DenisChenu on topic Save operations into db

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.

Lime-years ahead

Online-surveys for every purse and purpose