The sponsor field is currently displayed no matter what… We fixed it in our
latest devel.
What you could do is the following:
Change the following line (around line 26):
[% skipFields = {firstname => undef, lastname => undef} %]
To be like:
[% skipFields = {firstname => undef, lastname => undef, sponsor_email => undef}
%]
That should fix it. Please report to make sure that doesn’t break anything else
:)
Cheers!
dw.
—
Derek Wuelfrath
[email protected] :: www.inverse.ca
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
> On Aug 5, 2015, at 10:50, Louis Munro <[email protected]> wrote:
>
> That is probably a caching issue.
>
> What services did you restart after updating the file?
>
> Try this.
>
> # /usr/local/pf/bin/pfcmd cache httpd.portal clear
>
>
> --
> Louis Munro
> [email protected] <mailto:[email protected]> :: www.inverse.ca
> <http://www.inverse.ca/>
> +1.514.447.4918 x125 :: +1 (866) 353-6153 x125
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and
> PacketFence (www.packetfence.org <http://www.packetfence.org/>)
>
> On Aug 5, 2015, at 10:40 , Chris Abel <[email protected]
> <mailto:[email protected]>> wrote:
>
>> Just did that. I don't get the weird text anymore, but it is showing the
>> sponsor field even though I don't have it specified in my captive portal
>> settings as a source or field.
>>
>> On Wed, Aug 5, 2015 at 10:37 AM, Andy A <[email protected]
>> <mailto:[email protected]>> wrote:
>> We weren't using any sponsor field. It kept showing up for sign up by email
>> once we upgraded to 5.2
>> We don't have any custom fields either.
>>
>> From: [email protected] <mailto:[email protected]>
>> Date: Wed, 5 Aug 2015 10:18:19 -0400
>>
>> To: [email protected]
>> <mailto:[email protected]>
>> Subject: Re: [PacketFence-users] Weird text on registration page after 5.2
>> upgrade
>>
>> What's the easiest way to restore the default template to packetfence so
>> that I can see if the modifications I made are causing issues?
>>
>> On Wed, Aug 5, 2015 at 10:15 AM, Chris Abel <[email protected]
>> <mailto:[email protected]>> wrote:
>> Nope. Just changed the colors, logo, and acceptable use policy.
>>
>> On Wed, Aug 5, 2015 at 10:12 AM, Louis Munro <[email protected]
>> <mailto:[email protected]>> wrote:
>> Don’t do that.
>> Those files are used for internationalization (i18n) and localization.
>>
>> Rather, what fields should be displayed on the form at that position?
>>
>> It looks like the i18n function returns an incorrect localization.
>>
>> Do you have any custom fields of your own in that template?
>>
>>
>> --
>> Louis Munro
>> [email protected] <mailto:[email protected]> :: www.inverse.ca
>> <http://www.inverse.ca/>
>> +1.514.447.4918 x125 <> :: +1 (866) 353-6153 x125 <>
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and
>> PacketFence (www.packetfence.org <http://www.packetfence.org/>)
>>
>> On Aug 5, 2015, at 9:59 , Andy A <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> I had the same issue and I found that these appear in
>> /pf/conf/locale/en/LC_MESSAGES/packetfence.po.
>> Not quite sure what is the purpose of these messages though. Maybe you could
>> comment them out.
>>
>> From: [email protected] <mailto:[email protected]>
>> Date: Wed, 5 Aug 2015 09:47:43 -0400
>> To: [email protected]
>> <mailto:[email protected]>
>> Subject: Re: [PacketFence-users] Weird text on registration page after 5.2
>> upgrade
>>
>> Yea, I am upgraded to 5.3.1 actually and the patch is already applied. Still
>> have this weird issue though.
>>
>> On Tue, Aug 4, 2015 at 5:21 PM, Louis Munro <[email protected]
>> <mailto:[email protected]>> wrote:
>> Sorry,
>> I misread your email.
>>
>> That patch is for another bug.
>> There would not be anything wrong with applying it but it’s not going to fix
>> your problem.
>>
>> --
>> Louis Munro
>> [email protected] <mailto:[email protected]> :: www.inverse.ca
>> <http://www.inverse.ca/>
>> +1.514.447.4918 x125 <> :: +1 (866) 353-6153 x125 <>
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and
>> PacketFence (www.packetfence.org <http://www.packetfence.org/>)
>>
>> On Aug 4, 2015, at 17:07 , Louis Munro <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hi Chris,
>> It’s a known bug, fixed in a maintenance patch and in 5.3.1.
>>
>> Apply this patch:
>> https://github.com/inverse-inc/packetfence/commit/befb1620d5f00c04009c8264e7de574c3eea198d.diff
>>
>> <https://github.com/inverse-inc/packetfence/commit/befb1620d5f00c04009c8264e7de574c3eea198d.diff>
>>
>> Regards,
>> --
>> Louis Munro
>> [email protected] <mailto:[email protected]> :: www.inverse.ca
>> <http://www.inverse.ca/>
>> +1.514.447.4918 x125 <> :: +1 (866) 353-6153 x125 <>
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and
>> PacketFence (www.packetfence.org <http://www.packetfence.org/>)
>>
>> On Aug 4, 2015, at 16:05 , Chris Abel <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> I'm getting some weird text on the registration page of packetfence after my
>> upgrade to 5.2. It seems to only show up when I list a source on my captive
>> portal.
>>
>> This is what it looks like: http://i.imgur.com/o2FfFGO.png
>> <http://i.imgur.com/o2FfFGO.png>
>>
>> Project-Id-Version: PacketFence PO-Revision-Date: 2012-02-14 10:44-0400
>> Last-Translator: Derek Wuelfrath Language-Team: PacketFence support
>> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=n != 1;
>>
>>
>> Any ideas?
>>
>> --
>> Chris Abel
>> Systems and Network Administrator
>> Wildwood Programs
>> 2995 Curry Road Extension
>> Schenectady, NY 12303
>> 518-836-2341 <>
>> IMPORTANT NOTICE: This message and any attachments are solely for the
>> intended recipient and may contain confidential information, which is, or
>> may be, legally privileged or otherwise protected by law from further
>> disclosure. If you are not the intended recipient, any disclosure, copying,
>> use, or distribution of the information included in this email and any
>> attachments is prohibited. If you have received this communication in error,
>> please notify the sender by reply email and immediately and permanently
>> delete this email and any
>> attachments.------------------------------------------------------------------------------
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>>
>>
>>
>>
>> --
>> Chris Abel
>> Systems and Network Administrator
>> Wildwood Programs
>> 2995 Curry Road Extension
>> Schenectady, NY 12303
>> 518-836-2341 <>
>> IMPORTANT NOTICE: This message and any attachments are solely for the
>> intended recipient and may contain confidential information, which is, or
>> may be, legally privileged or otherwise protected by law from further
>> disclosure. If you are not the intended recipient, any disclosure, copying,
>> use, or distribution of the information included in this email and any
>> attachments is prohibited. If you have received this communication in error,
>> please notify the sender by reply email and immediately and permanently
>> delete this email and any attachments.
>> ------------------------------------------------------------------------------
>> _______________________________________________ PacketFence-users mailing
>> list [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>------------------------------------------------------------------------------
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>>
>>
>>
>>
>> --
>> Chris Abel
>> Systems and Network Administrator
>> Wildwood Programs
>> 2995 Curry Road Extension
>> Schenectady, NY 12303
>> 518-836-2341 <>
>>
>>
>> --
>> Chris Abel
>> Systems and Network Administrator
>> Wildwood Programs
>> 2995 Curry Road Extension
>> Schenectady, NY 12303
>> 518-836-2341 <tel:518-836-2341>
>> IMPORTANT NOTICE: This message and any attachments are solely for the
>> intended recipient and may contain confidential information, which is, or
>> may be, legally privileged or otherwise protected by law from further
>> disclosure. If you are not the intended recipient, any disclosure, copying,
>> use, or distribution of the information included in this email and any
>> attachments is prohibited. If you have received this communication in error,
>> please notify the sender by reply email and immediately and permanently
>> delete this email and any attachments.
>> ------------------------------------------------------------------------------
>> _______________________________________________ PacketFence-users mailing
>> list [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>> <https://lists.sourceforge.net/lists/listinfo/packetfence-users>
>>
>>
>>
>>
>> --
>> Chris Abel
>> Systems and Network Administrator
>> Wildwood Programs
>> 2995 Curry Road Extension
>> Schenectady, NY 12303
>> 518-836-2341
>>
>>
>> IMPORTANT NOTICE: This message and any attachments are solely for the
>> intended recipient and may contain confidential information, which is, or
>> may be, legally privileged or otherwise protected by law from further
>> disclosure. If you are not the intended recipient, any disclosure, copying,
>> use, or distribution of the information included in this email and any
>> attachments is prohibited. If you have received this communication in error,
>> please notify the sender by reply email and immediately and permanently
>> delete this email and any
>> attachments.------------------------------------------------------------------------------
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
> ------------------------------------------------------------------------------
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users