Page 1 of 1

BUG in Member Profile Modification file

PostPosted: May 14th, 2011, 3:32 pm
by toddz88
I found a BUG in the Member Profile Modification file (s2member/includes/profile.inc.php), at line 154. The "after" Hook for the "Display Name" row says "last_name" instead of "display_name":

Code: Select all
do_action ("ws_plugin__s2member_during_profile_during_fields_after_last_name", get_defined_vars ());

but should be
Code: Select all
do_action ("ws_plugin__s2member_during_profile_during_fields_after_display_name", get_defined_vars ());


I am trying to use this hook to hide the entire Display Name row, based on my tip here (viewtopic.php?f=4&t=6433).

Re: BUG in Member Profile Modification file

PostPosted: May 14th, 2011, 7:52 pm
by Cristián Lávaque
Thanks Tod! I forwarded it to Jason.

Re: BUG in Member Profile Modification file

PostPosted: May 18th, 2011, 12:58 am
by Jason Caldwell
Thanks SO much for reporting this.
I'm having this corrected in the next release, coming very soon.

Updating to:
Code: Select all
ws_plugin__s2member_during_profile_during_fields_after_display_name
* Inside these two files:
1. /s2member/includes/profile.inc.php
2. /s2member/includes/classes/sc-profile-in.inc.php