Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: customization for all surveys to be public and support public statistics

customization for all surveys to be public and support public statistics 4 years 1 month ago #83659

  • kaval
  • kaval's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
Is there a way to allow all surveys to be public, and to allow public statistics either via a settings menu or alternatively by setting a config.php or changing some PHP global variables? I currenly have to do it for all individual surverys. Thanks,
-kaval
The administrator has disabled public write access.

customization for all surveys to be public and support public statistics 4 years 1 month ago #83668

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9305
  • Thank you received: 1330
  • Karma: 386
Hello,

No, by default public statistics is not active. You can do a cron script to set public statistics to Y each 5 minutes for example.
Or hack the LS code.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

customization for all surveys to be public and support public statistics 4 years 1 month ago #83995

  • kaval
  • kaval's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
I was looking into hacking the LS code, but it seems to be buried in there. Any idea of how to proceed.
The administrator has disabled public write access.

customization for all surveys to be public and support public statistics 4 years 4 weeks ago #84093

  • kaval
  • kaval's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
I did figure this out for anyone else who is interested. It is not very difficult. You can mod the file /admin/editsurveysettings.php.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.273 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form