Welcome, Guest
Username: Password: Remember me

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

customization for all surveys to be public and support public statistics 1 year 8 months 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.

Re: customization for all surveys to be public and support public statistics 1 year 8 months ago #83668

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 5845
  • Thank you received: 715
  • Karma: 222
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.
The administrator has disabled public write access.

Re: customization for all surveys to be public and support public statistics 1 year 8 months 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.

Re: customization for all surveys to be public and support public statistics 1 year 8 months 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.112 seconds
Donation Image