Hi Marko,
On 09/11/2012 03:49 PM, Marko Mrvelj wrote:
> I was experimenting with billing, and what I see is that once I enable
> billing webpage changes in a way that I can only pay for access. What I
> would like is to have option to charge user and in the same time I would
> like to provide access to internal users without payment.
>
>
>
> I guess that I could use portal profiles for this, but in this case it
> would not work on wired (seems to me it depends on SSID).
>
> Is there a way to have both billing enabled and local authentication option?
It is a very interesting idea that we haven't thought about.
Currently at the bottom of the form you have:
Login[1] or signup[2]
[1]: the button
[2]: the link to guest self-registration
How do you think this should be presented to the user?
Login or pay (maybe?)
I think it would be nice to have it as a feature that is configurable
but not sure how to present it. Opening a feature request on our bug
tracker (packetfence.org/bugs) is probably the best medium to discuss that.
Meanwhile, you could always modify the
html/captive-portal/templates/login.html template and put somewhere a
link to /pay which will show the billing engine and comment the
following block from redir.cgi:
if ( isenabled($portalSession->getProfile->getBillingEngine) ) {
$logger->info("$mac redirected to billing page");
pf::web::billing::generate_billing_page($portalSession);
exit(0);
}
Regards,
--
Olivier Bilodeau
[email protected] :: +1.514.447.4918 *115 :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users