2015-05-28 - Re: [GRASE-Hotspot] Re: temporary disable button for free login

Header Data

From: Timothy White <ti***8@gmail.com>
Message Hash: 62e282263c8f8b71e01aff088fe5809b55dd206e7fe25cd121908a40970da5cd
Message ID: <CAESLx0LS4AAinaoX3P8beXjvhQx4X=aGF6dnP_NmSjqSa4YbFA@mail.gmail.com>
Reply To: <91308854-a3da-46d0-bc78-43b69fc00fe4@grasehotspot.org>
UTC Datetime: 2015-05-28 21:01:51 UTC
Raw Date: Fri, 29 May 2015 14:01:51 +1000

Raw message

Feel free to open a feature request for this. If there really is enough
demand, I can look at implementing it. How often do you need to toggle it
that it's easier to use buttons on an IP phone than to login to the web
interface?

Regards

Tim

On Sat, Apr 25, 2015 at 10:04 AM, Michael Raynor <mx***1@gmail.com> wrote:

> Hi Dave,
>
> Attached are the files for a simple web app (separate to Grase) to Toggle
> the Free Access on and off.
>
> It talks directly to the radmin database and either sets autocreategroup
> or clears it
>
> Enable Free Access -> "UPDATE settings SET value='Free' WHERE
> setting='autocreategroup'"
>
> Disable Free Access -> "UPDATE settings SET value='' WHERE
> setting='autocreategroup'"
>
> Lots can be improved, but you can use something like the two URLs below to
> toggle the setting
>
> http://SERVER-URL/setfree.php?key=SECRET-KEY&free=enable
> http://SERVER-URL/setfree.php?key=SECRET-KEY&free=disable
>
> This should work if you wanted to bind two buttons on an IP Phone to
> toggle the setting - as these need to be GET requests.
>
> Hope this helps if others want something similar, and hopefully in the
> future it could be re-factored in the project.
>
> Michael
>
> On Friday, 17 April 2015 20:43:58 UTC+10, dave wrote:
>>
>> Hi
>>
>> Is it possible to add a "Disable" checkbox for the free login account.
>> We want the wifi free some of the time but not all of the time.
>>
>> We now have it setup, and it seems to be working fine but I can't
>> temporarily disable it without deleting the group altogether.
>> It would be great if I could leave it setup and just check on the
>> "Disable Checkbox"
>>
>>
>> Dave
>>
>  --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/91308854-a3da-46d0-bc78-43b69fc00fe4%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/91308854-a3da-46d0-bc78-43b69fc00fe4%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>

Thread