Force Saving IP adress to be disabled

More
2 weeks 4 days ago #175861 by efingdmi
efingdmi created the topic: Force Saving IP adress to be disabled
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

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #175895 by holch
holch replied the topic: Force Saving IP adress to be disabled
I am not aware of a setting in LS that would allow this.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #175902 by DenisChenu
DenisChenu replied the topic: Force Saving IP adress to be disabled
plugin task : manual.limesurvey.org/BeforeModelSave

Something like :
$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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: efingdmi

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #175922 by jelo
jelo replied the 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.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #175936 by DenisChenu
DenisChenu replied the 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
2 weeks 8 hours ago #176010 by efingdmi
efingdmi replied the topic: Force Saving IP adress to be disabled
Hmm, i did not thought about just hiding it. Not a bad idea :)

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!