Welcome to the LimeSurvey Community Forum

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

Force Saving IP adress to be disabled

  • Juseanma_117558
  • Juseanma_117558's Avatar Topic Author
  • Visitor
  • Visitor
5 years 5 months ago #175861 by Juseanma_117558
Force Saving IP adress to be disabled was created by Juseanma_117558
Hi all,

is it possible to set the setting "save IP adress" to NO for all surveys and future surveys?
I know I could set it in the database to N but that would just help for existing surveys.

And how about set anonymous on YES for all surveys?

Thanks,

efingdmi
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175895 by holch
Replied by holch on topic Force Saving IP adress to be disabled
I am not aware of a setting in LS that would allow this.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175902 by DenisChenu
Replied by DenisChenu on topic Force Saving IP adress to be disabled
plugin task : manual.limesurvey.org/BeforeModelSave

Something like :
Code:
$oSurvey = $this->getEvent()->get('model');
$oSurvey->ipaddr = "N";
$oSurvey->anonymized = "Y";

It's better if you add a css to hide this settings in admin GUI

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 following user(s) said Thank You: Juseanma_117558
The topic has been locked.
More
5 years 5 months ago #175922 by jelo
Replied by jelo on topic Force Saving IP adress to be disabled
A more global approach possible? Developer would need to review all settings on application and surveylevel and allow more settings surveywise and allow to have templates for settings to be applied to surveys and group of surveys. That should be considered when thinking about implementing RBAC, because you need to review all things for permissions anyway.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175936 by DenisChenu
Replied by DenisChenu on topic Force Saving IP adress to be disabled

jelo wrote: A more global approach possible?

Allowing update all survey just before saving can not be more global …

Except if we add afterModelFind with same behaviour …

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.
  • Juseanma_117558
  • Juseanma_117558's Avatar Topic Author
  • Visitor
  • Visitor
5 years 5 months ago #176010 by Juseanma_117558
Replied by Juseanma_117558 on topic Force Saving IP adress to be disabled
Hmm, i did not thought about just hiding it. Not a bad idea :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose