Page 1 of 1

s2member custom fields not saving in profile form

PostPosted: October 4th, 2011, 4:47 am
by beetle
Hi,

I've been pulling my hair out trying to figure out why my custom fields weren't updating when the user modifies their selections in the profile modification form.

Then finally -- I realised it's the type of field that makes the difference -- all but a REQUIRED multi-choice checkbox saves ok (most of my form is made up of required multi-choice checkboxes!)

if UNREQUIRED, then the multi-choice checkbox values can be updated by the user - but make it REQUIRED and the user can't update their profile field for the custom field via the [s2Member-Profile /] profile modification form.

i tried upgrading to s2member v111003 (the latest release) and this doesn't make any difference.

has anyone else found this happens to them??

thanks for your help!

Re: s2member custom fields not saving in profile form

PostPosted: October 5th, 2011, 1:31 am
by Cristián Lávaque
Thanks for your report! I wasn't aware of this. I'm emailing Jason to look into it. :)

Re: s2member custom fields not saving in profile form

PostPosted: October 5th, 2011, 1:36 am
by beetle
Thank you!!

Re: s2member custom fields not saving in profile form

PostPosted: October 8th, 2011, 8:03 pm
by Jason Caldwell
Investigating this now.

Re: s2member custom fields not saving in profile form

PostPosted: October 8th, 2011, 10:06 pm
by Jason Caldwell
Thanks for reporting this important issue.

OK. This bug has been identified, and will be corrected in the next official release. Until then, you can use this patch file if you like. Unzip and upload the attached file, and let it override your existing copy of /s2member/includes/classes/profile-mods-in.inc.php. This bug actually affects three separate portions of s2Member. All three instances have been corrected in the development copy, coming soon in public release. None the less, this patch file should fix your immediate issue for now, as the other two instances of this bug are related to the admin side and BuddyPress.

profile-mods-in.inc.zip
(2.25 KiB) Downloaded 45 times

Re: s2member custom fields not saving in profile form

PostPosted: October 9th, 2011, 8:36 pm
by beetle
Thanks for providing the bug-fix so quickly :)

Re: s2member custom fields not saving in profile form

PostPosted: October 12th, 2011, 2:50 pm
by Jason Caldwell
Very welcome. s2Member v111011 is now available, and it corrects all instances of this bug.

Re: s2member custom fields not saving in profile form

PostPosted: November 10th, 2011, 10:26 am
by webamin
Ha! I thought it was just me having this problem. I'm glad to see it was a bug and I wasn't the only one having the problem. At first I thought it might be the cloud storage. Glad to hear that the bug has been identified, and will be corrected in the next official release. Do you know when the next official release is? Thanks for the patch file. I'll be sure to fix this ASAP!

Re: s2member custom fields not saving in profile form

PostPosted: November 11th, 2011, 2:37 am
by Cristián Lávaque
v111011 is already available, actually the current release is now v111105. :)