PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

BUG in Member Profile Modification file

s2Member Plugin. A Membership plugin for WordPress®.

BUG in Member Profile Modification file

Postby toddz88 » May 14th, 2011, 3:32 pm

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).
User avatar
toddz88
Experienced User
Experienced User
 
Posts: 61
Joined: November 19, 2010

Re: BUG in Member Profile Modification file

Postby Cristián Lávaque » May 14th, 2011, 7:52 pm

Thanks Tod! I forwarded it to Jason.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: BUG in Member Profile Modification file

Postby Jason Caldwell » May 18th, 2011, 12:58 am

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
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron