Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:49:59-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13042 2011-12-20T09:49:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=57773#p57773 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: December 20, 2011, 9:50 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 20th, 2011, 9:49 am


]]>
2011-12-07T01:03:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=55455#p55455 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: December 7, 2011, 1:03 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 7th, 2011, 1:03 am


]]>
2011-11-05T19:26:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=51829#p51829 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: November 5, 2011, 8:26 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — November 5th, 2011, 7:26 pm


]]>
2011-10-29T20:34:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=49924#p49924 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: October 29, 2011, 9:35 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 29th, 2011, 8:34 pm


]]>
2011-10-17T15:39:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=47718#p47718 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: October 17, 2011, 1:39 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 17th, 2011, 3:39 pm


]]>
2011-10-11T14:34:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=46118#p46118 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: October 11, 2011, 12:35 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 11th, 2011, 2:34 pm


]]>
2011-10-03T15:47:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=44249#p44249 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: October 3, 2011, 1:47 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:47 pm


]]>
2011-10-03T03:40:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=42956#p42956 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: October 3, 2011, 1:40 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:40 am


]]>
2011-09-27T05:26:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=41202#p41202 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: September 27, 2011, 3:26 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 27th, 2011, 5:26 am


]]>
2011-09-26T21:03:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=39958#p39958 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: September 26, 2011, 7:03 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 26th, 2011, 9:03 pm


]]>
2011-09-17T16:20:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=38102#p38102 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: September 17, 2011, 2:20 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 17th, 2011, 4:20 pm


]]>
2011-09-14T01:27:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=36683#p36683 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: September 13, 2011, 11:27 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 14th, 2011, 1:27 am


]]>
2011-09-13T12:02:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=35411#p35411 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: September 13, 2011, 10:02 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 13th, 2011, 12:02 pm


]]>
2011-08-15T14:13:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=31518#p31518 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: August 15, 2011, 3:13 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\classes\profile-in.inc.php ?php /** * s2Member Stand-Alone Profile page ( inner processing routines ). * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Profiles * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_profile_in" ) ) { /** * s2Member Stand-Alone Profile page ( inner processing routines ). * * @package s2Member\Profiles * @since 3.5 */ class c_ws_plugin__s2member_profile_in { /** * Displays a Stand-Alone Profile Modification Form. * * @package s2Member\Profiles * @since 3.5 * * @attaches-to: ``add_action("init");`` * * @return null Or exits script execution after display. */ public static function profile ( ) { do_action ( "ws_plugin__s2member_before_profile" , get_defined_vars ( ) ) ; /**/ if ( ! empty ( $_GET [ "s2member_profile" ] ) ) /* Requesting Profile? */ { c_ws_plugin__s2member_no_cache:: no_cache_constants ( true ) ; /**/ $tabindex = apply_filters ( "ws_plugin__s2member_sc_profile_tabindex" , 0 , get_defined_vars ( ) ) ; /**/ if ( ( $user = ( is_user_logged_in ( ) ) ? wp_get_current_user ( ) : false ) && ( $user_id = $user - ID ) ) { echo c_ws_plugin__s2member_utils_html:: doctype_html_head ( "My Profile" , "ws_plugin__s2member_during_profile_head" ) ; /**/ echo 'body style="' . esc_attr ( apply_filters ( "ws_plugin__s2member_profile_body_styles" , "background:#FFFFFF; color:#333333; font-family:'Verdana', sans-serif; font-size:13px;" , get_defined_vars ( ) ) ) . '"' . "\n" ; /**/ echo 'form method="post" name="ws_plugin__s2member_profile" id="ws-plugin--s2member-profile" action="' . esc_attr ( site_url ( "/" ) ) . '"' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_before_table" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'table cellpadding="0" cellspacing="0"' . "\n" ; echo 'tbody' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_before_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_username" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_username" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-login"' . "\n" ; echo 'strongUsername */strong small( cannot be changed )/smallbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="60" name="ws_plugin__s2member_profile_login" id="ws-plugin--s2member-profile-login" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - user_login ) . '" disabled="disabled" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_username" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_email" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_email" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-email"' . "\n" ; echo 'strongEmail Address */strongbr /' . "\n" ; echo 'input aria-required="true" data-expected="email" type="text" maxlength="100" name="ws_plugin__s2member_profile_email" id="ws-plugin--s2member-profile-email" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - user_email ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_email" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_names" ] ) { if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_first_name" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_first_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-first-name"' . "\n" ; echo 'strongFirst Name */strongbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="100" name="ws_plugin__s2member_profile_first_name" id="ws-plugin--s2member-profile-first-name" class="ws-plugin--s2member-profile-field" value="' . esc_attr ( $user - first_name ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_first_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_last_name" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_last_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-last-name"' . "\n" ; echo 'strongLast Name */strongbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="100" name="ws_plugin__s2member_profile_last_name" id="ws-plugin--s2member-profile-last-name" class="ws-plugin--s2member-profile-field" value="' . esc_attr ( $user - last_name ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_last_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_display_name" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_display_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-display-name"' . "\n" ; echo 'strongDisplay Name */strongbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="100" name="ws_plugin__s2member_profile_display_name" id="ws-plugin--s2member-profile-display-name" class="ws-plugin--s2member-profile-field" value="' . esc_attr ( $user - display_name ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_display_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_custom_fields" , true , get_defined_vars ( ) ) ) { if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) /* Now, do we have Custom Fields? */ if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "profile" ) ) { $fields = get_user_option ( "s2member_custom_fields" , $user_id ) ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_custom_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ foreach ( json_decode ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] , true ) as $field ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_during_custom_fields_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( in_array ( $field [ "id" ] , $fields_applicable ) ) /* Field applicable? */ { $field_var = preg_replace ( "/[^a-z0-9]/i" , "_" , strtolower ( $field [ "id" ] ) ) ; $field_id_class = preg_replace ( "/_/" , "-" , $field_var ) ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* Starts a new section? */ echo 'trtddiv class="ws-plugin--s2member-profile-field-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div/td/tr' ; /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-' . esc_attr ( $field_id_class ) . '"' . "\n" ; echo 'strong' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? ' style="display:none;"' : '' ) . '' . $field [ "label" ] . ( ( $field [ "required" ] === "yes" ) ? ' *' : '' ) . '/strong/label' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? '' : 'br /' ) . "\n" ; echo c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_profile_" , "ws-plugin--s2member-profile-" , "ws-plugin--s2member-profile-field" , "" , ( $tabindex = $tabindex + 10 ) , "" , $fields , $fields [ $field_var ] , "profile" ) ; echo '/td' . "\n" ; echo '/tr' . "\n" ; } unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_during_custom_fields_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_custom_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_password" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_password" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; /**/ echo 'label for="ws-plugin--s2member-profile-password1" title="Please type your Password twice to confirm."' . "\n" ; echo 'strongNew Password?/strong em( please type it twice )/embr /' . "\n" ; echo 'emOnly if changing password, otherwise leave blank./embr /' . "\n" ; echo 'input type="password" maxlength="100" autocomplete="off" name="ws_plugin__s2member_profile_password1" id="ws-plugin--s2member-profile-password1" class="ws-plugin--s2member-profile-field" value="" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '"' . ( ( $user - user_login === "demo" ) ? ' disabled="disabled"' : '' ) . ' /' . "\n" ; echo '/label' . "\n" ; /**/ echo 'label for="ws-plugin--s2member-profile-password2" title="Please type your Password twice to confirm."' . "\n" ; echo 'input type="password" maxlength="100" autocomplete="off" name="ws_plugin__s2member_profile_password2" id="ws-plugin--s2member-profile-password2" class="ws-plugin--s2member-profile-field" value="" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '"' . ( ( $user - user_login === "demo" ) ? ' disabled="disabled"' : '' ) . ' /' . "\n" ; echo '/label' . "\n" ; /**/ echo 'div id="ws-plugin--s2member-profile-password-strength" class="ws-plugin--s2member-password-strength"empassword strength indicator/em/div' . "\n" ; /**/ echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_password" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_after_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'input type="hidden" name="ws_plugin__s2member_profile_save" id="ws-plugin--s2member-profile-save" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-profile-save" ) ) . '" /' . "\n" ; echo 'input id="ws-plugin--s2member-profile-submit" type="submit" value="Save All Changes" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ echo '/tbody' . "\n" ; echo '/table' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_after_table" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo '/form' . "\n" ; /**/ echo '/body' . "\n" ; echo '/html' ; } /**/ exit ( ) ; /* Clean exit. */ } /**/ do_action ( "ws_plugin__s2member_after_profile" , get_defined_vars ( ) ) ; } } } ? [ full view ]s2member\includes\classes\profile-in.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 2:13 pm


]]>
2011-07-11T17:29:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=27705#p27705 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: July 11, 2011, 6:29 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\classes\profile-in.inc.php ?php /** * s2Member Stand-Alone Profile page ( inner processing routines ). * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Profiles * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_profile_in" ) ) { /** * s2Member Stand-Alone Profile page ( inner processing routines ). * * @package s2Member\Profiles * @since 3.5 */ class c_ws_plugin__s2member_profile_in { /** * Displays a Stand-Alone Profile Modification Form. * * @package s2Member\Profiles * @since 3.5 * * @attaches-to: ``add_action("init");`` * * @return null Or exits script execution after display. */ public static function profile ( ) { do_action ( "ws_plugin__s2member_before_profile" , get_defined_vars ( ) ) ; /**/ if ( ! empty ( $_GET [ "s2member_profile" ] ) ) /* Requesting Profile? */ { c_ws_plugin__s2member_no_cache:: no_cache_constants ( true ) ; /**/ $tabindex = apply_filters ( "ws_plugin__s2member_sc_profile_tabindex" , 0 , get_defined_vars ( ) ) ; /**/ if ( ( $user = ( is_user_logged_in ( ) ) ? wp_get_current_user ( ) : false ) && ( $user_id = $user - ID ) ) { echo '!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"' . "\n" ; /**/ echo 'html xmlns="http://www.w3.org/1999/xhtml"' . "\n" ; echo 'head' . "\n" ; /**/ echo 'meta http-equiv="Content-Type" content="text/html; charset=utf-8" /' . "\n" ; /**/ echo 'script type="text/javascript" src="' . esc_attr ( site_url ( "/wp-includes/js/jquery/jquery.js?ver=" . urlencode (c_ws_plugin__s2member_utilities:: ver_checksum ( ) ) ) ) . '"/script' . "\n" ; echo 'script type="text/javascript" src="' . esc_attr ( site_url ( "/wp-includes/js/l10n.js?ver=" . urlencode (c_ws_plugin__s2member_utilities:: ver_checksum ( ) ) ) ) . '"/script' . "\n" ; echo 'script type="text/javascript"var pwsL10n = {empty: "Strength indicator", short: "Very weak", bad: "Weak", good: "Medium", strong: "Strong", mismatch: "Mismatch"}; try{convertEntities(pwsL10n);}catch(e){};/script' . "\n" ; echo 'script type="text/javascript" src="' . esc_attr ( site_url ( "/wp-admin/js/password-strength-meter.js?ver=" . urlencode (c_ws_plugin__s2member_utilities:: ver_checksum ( ) ) ) ) . '"/script' . "\n" ; echo 'script type="text/javascript" src="' . esc_attr ( site_url ( "/?ws_plugin__s2member_js_w_globals=" . urlencode (WS_PLUGIN__S2MEMBER_API_CONSTANTS_MD5) . "&qcABC=1&ver=" . urlencode (c_ws_plugin__s2member_utilities:: ver_checksum ( ) ) ) ) . '"/script' . "\n" ; echo 'link href="' . esc_attr ( site_url ( "/?ws_plugin__s2member_css=1&qcABC=1&ver=" . urlencode (c_ws_plugin__s2member_utilities:: ver_checksum ( ) ) ) ) . '" type="text/css" rel="stylesheet" media="all" /' . "\n" ; /**/ echo 'titleMy Profile/title' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_head" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo '/head' . "\n" ; /**/ echo 'body style="' . esc_attr ( apply_filters ( "ws_plugin__s2member_profile_body_styles" , "background:#FFFFFF; color:#333333; font-family:'Verdana', sans-serif; font-size:13px;" , get_defined_vars ( ) ) ) . '"' . "\n" ; /**/ echo 'form method="post" name="ws_plugin__s2member_profile" id="ws-plugin--s2member-profile" action="' . esc_attr ( site_url ( "/" ) ) . '"' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_before_table" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'table cellpadding="0" cellspacing="0"' . "\n" ; echo 'tbody' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_before_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_username" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_username" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-login"' . "\n" ; echo 'strongUsername */strong small( cannot be changed )/smallbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="60" name="ws_plugin__s2member_profile_login" id="ws-plugin--s2member-profile-login" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - user_login ) . '" disabled="disabled" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_username" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_email" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_email" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-email"' . "\n" ; echo 'strongEmail Address */strongbr /' . "\n" ; echo 'input aria-required="true" data-expected="email" type="text" maxlength="100" name="ws_plugin__s2member_profile_email" id="ws-plugin--s2member-profile-email" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - user_email ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_email" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_names" ] ) { if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_first_name" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_first_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-first-name"' . "\n" ; echo 'strongFirst Name */strongbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="100" name="ws_plugin__s2member_profile_first_name" id="ws-plugin--s2member-profile-first-name" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - first_name ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_first_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_last_name" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_last_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-last-name"' . "\n" ; echo 'strongLast Name */strongbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="100" name="ws_plugin__s2member_profile_last_name" id="ws-plugin--s2member-profile-last-name" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - last_name ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_last_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_display_name" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_display_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-display-name"' . "\n" ; echo 'strongDisplay Name */strongbr /' . "\n" ; echo 'input aria-required="true" type="text" maxlength="100" name="ws_plugin__s2member_profile_display_name" id="ws-plugin--s2member-profile-display-name" class="ws-plugin--s2member-profile-field" value="' . format_to_edit ( $user - display_name ) . '" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/label' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_display_name" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_custom_fields" , true , get_defined_vars ( ) ) ) { if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) /* Now, do we have Custom Fields? */ if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "profile" ) ) { $fields = get_user_option ( "s2member_custom_fields" , $user_id ) ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_custom_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ foreach ( json_decode ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] , true ) as $field ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_during_custom_fields_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( in_array ( $field [ "id" ] , $fields_applicable ) ) /* Field applicable? */ { $field_var = preg_replace ( "/[^a-z0-9]/i" , "_" , strtolower ( $field [ "id" ] ) ) ; $field_id_class = preg_replace ( "/_/" , "-" , $field_var ) ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* Starts a new section? */ echo 'trtddiv class="ws-plugin--s2member-profile-field-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div/td/tr' ; /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'label for="ws-plugin--s2member-profile-' . esc_attr ( $field_id_class ) . '"' . "\n" ; echo 'strong' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? ' style="display:none;"' : '' ) . '' . $field [ "label" ] . ( ( $field [ "required" ] === "yes" ) ? ' *' : '' ) . '/strong/label' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? '' : 'br /' ) . "\n" ; echo c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_profile_" , "ws-plugin--s2member-profile-" , "ws-plugin--s2member-profile-field" , "" , ( $tabindex = $tabindex + 10 ) , "" , $fields , $fields [ $field_var ] , "profile" ) ; echo '/td' . "\n" ; echo '/tr' . "\n" ; } unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_during_custom_fields_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_custom_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } } /**/ if ( apply_filters ( "ws_plugin__s2member_during_profile_during_fields_display_password" , true , get_defined_vars ( ) ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_before_password" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; /**/ echo 'label for="ws-plugin--s2member-profile-password1" title="Please type your Password twice to confirm."' . "\n" ; echo 'strongNew Password?/strong em( please type it twice )/embr /' . "\n" ; echo 'emOnly if changing password, otherwise leave blank./embr /' . "\n" ; echo 'input type="password" maxlength="100" autocomplete="off" name="ws_plugin__s2member_profile_password1" id="ws-plugin--s2member-profile-password1" class="ws-plugin--s2member-profile-field" value="" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '"' . ( ( $user - user_login === "demo" ) ? ' disabled="disabled"' : '' ) . ' /' . "\n" ; echo '/label' . "\n" ; /**/ echo 'label for="ws-plugin--s2member-profile-password2" title="Please type your Password twice to confirm."' . "\n" ; echo 'input type="password" maxlength="100" autocomplete="off" name="ws_plugin__s2member_profile_password2" id="ws-plugin--s2member-profile-password2" class="ws-plugin--s2member-profile-field" value="" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '"' . ( ( $user - user_login === "demo" ) ? ' disabled="disabled"' : '' ) . ' /' . "\n" ; echo '/label' . "\n" ; /**/ echo 'div id="ws-plugin--s2member-profile-password-strength" class="ws-plugin--s2member-password-strength"empassword strength indicator/em/div' . "\n" ; /**/ echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_during_fields_after_password" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_after_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'tr' . "\n" ; echo 'td' . "\n" ; echo 'input type="hidden" name="ws_plugin__s2member_profile_save" id="ws-plugin--s2member-profile-save" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-profile-save" ) ) . '" /' . "\n" ; echo 'input id="ws-plugin--s2member-profile-submit" type="submit" value="Save All Changes" tabindex="' . esc_attr ( ( $tabindex = $tabindex + 10 ) ) . '" /' . "\n" ; echo '/td' . "\n" ; echo '/tr' . "\n" ; /**/ echo '/tbody' . "\n" ; echo '/table' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_profile_after_table" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo '/form' . "\n" ; /**/ echo '/body' . "\n" ; echo '/html' ; } /**/ exit ( ) ; /* Clean exit. */ } /**/ do_action ( "ws_plugin__s2member_after_profile" , get_defined_vars ( ) ) ; } } } ? [ full view ]s2member\includes\classes\profile-in.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — July 11th, 2011, 5:29 pm


]]>
2011-07-09T06:08:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13042&p=25337#p25337 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\profile-in.inc.php
Docs updated: December 20, 2011, 9:50 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — July 9th, 2011, 6:08 am


]]>