To bump an old thread, can anybody help here?

On version 4.2.1 I have edited line 194 from the "Sorry..." message to a 
message explaining to the user that they already have this device registered 
and to contact the helpdesk". This seemed to work for a period of time, but for 
some reason the users that reconnect to the captive portal with a registered 
device have started to see the original Sorry message. Despite the edited text 
still being in the redir.cgi file.

I presume there's somewhere else I need to edit this. Can anyone please point 
me at this?

Also, is the ability for users to unregister their own devices on the roadmap 
at all?

Cheers,
Andi

From: Derek Wuelfrath [mailto:[email protected]]
Sent: 17 September 2014 15:06
To: ML PF
Subject: Re: [PacketFence-users] redir.cgi

Hello Andy,

I am looking to modify the "Sorry! Your network should be enabled within a 
minute or two. If it is not reboot your computer" message as in our environment 
it is always shown when a user connects a registered device to the registration 
network. On my 4.2.1 environment I have successfully just changed the string 
within redir.cgi, but I've just gone to do this on my 4.3.0 environment and I 
see the captive portal file structure has vastly changed and there is no longer 
cgi created pages.

That's right. We changed from perl cgi to perl Catalyst between the two 
versions.

Can anyone tell me where the string is to edit within the file structure of 4.3 
please?

Have a look at the following file / line.

/html/captive-portal/lib/captiveportal/PacketFence/Controller/CaptivePortal.pm:403

Cheers!
dw.

-
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

On Sep 17, 2014, at 6:33, Morris, Andi 
<[email protected]<mailto:[email protected]>> wrote:


Hi,
I am looking to modify the "Sorry! Your network should be enabled within a 
minute or two. If it is not reboot your computer" message as in our environment 
it is always shown when a user connects a registered device to the registration 
network. On my 4.2.1 environment I have successfully just changed the string 
within redir.cgi, but I've just gone to do this on my 4.3.0 environment and I 
see the captive portal file structure has vastly changed and there is no longer 
cgi created pages.

Can anyone tell me where the string is to edit within the file structure of 4.3 
please?

Cheers,
Andi

-------------------------------------
Andi Morris
IT Security Officer
Cardiff Metropolitan University
T: 02920 205720
E: [email protected]<mailto:[email protected]>
--------------------------------------

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to