Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:50:21-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13069 2011-12-20T09:50:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=57805#p57805 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\sc-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:50 am


]]>
2011-12-07T01:03:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=55487#p55487 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\sc-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:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=51861#p51861 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\sc-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:35:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=49956#p49956 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\sc-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:35 pm


]]>
2011-10-17T15:39:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=47750#p47750 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\sc-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:35:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=46151#p46151 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\sc-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:35 pm


]]>
2011-10-03T15:47:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=44281#p44281 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\sc-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:41:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=42988#p42988 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\sc-profile-in.inc.php
Docs updated: October 3, 2011, 1:41 am

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

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


]]>
2011-09-27T05:26:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=41234#p41234 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\sc-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:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=39990#p39990 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\sc-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:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=38132#p38132 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\sc-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:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=36713#p36713 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\sc-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:03:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=35441#p35441 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\sc-profile-in.inc.php
Docs updated: September 13, 2011, 10:03 am

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

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


]]>
2011-08-15T14:13:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=31546#p31546 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\sc-profile-in.inc.php
Docs updated: August 15, 2011, 3:14 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\sc-profile-in.inc.php ?php /** * Shortcode for `[s2Member-Profile /]` ( 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_sc_profile_in" ) ) { /** * Shortcode for `[s2Member-Profile /]` ( inner processing routines ). * * @package s2Member\Profiles * @since 3.5 */ class c_ws_plugin__s2member_sc_profile_in { /** * Handles the Shortcode for: `[s2Member-Profile /]`. * * @package s2Member\Profiles * @since 3.5 * * @attaches-to: ``add_shortcode("s2Member-Profile");`` * * @param array $attr An array of Attributes. * @param str $content Content inside the Shortcode. * @param str $shortcode The actual Shortcode name itself. * @return str|null The resulting Profile Modifiation Form *( inline )*, or null if not logged-in. */ public static function sc_profile ( $attr = FALSE , $content = FALSE , $shortcode = FALSE ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_before_sc_profile" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ c_ws_plugin__s2member_no_cache:: no_cache_constants ( true ) ; /* No caching. */ /**/ $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 ) ) { $attr = c_ws_plugin__s2member_utils_strings:: trim_quot_deep ( ( array ) $attr ) ; /**/ $attr = shortcode_atts ( array ( ) , $attr ) ; /* Possible Attributes. None. */ /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_before_sc_profile_after_shortcode_atts" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ ob_start ( ) ; /* Start buffering. Allows Hooks to echo output like: `/?s2member_profile=1`. */ /**/ echo 'form method="post" name="ws_plugin__s2member_profile" id="ws-plugin--s2member-profile"' . "\n" ; /**/ if ( $GLOBALS [ "ws_plugin__s2member_profile_saved" ] ) /* Respond to successful updates. */ { echo 'div id="ws-plugin--s2member-profile-saved"' . "\n" ; echo 'Profile updated successfully.' . "\n" ; echo '/div' . "\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_sc_profile_save" id="ws-plugin--s2member-sc-profile-save" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-sc-profile-save" ) ) . '" /' . "\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" ; /**/ $code = ob_get_clean ( ) ; } /**/ return apply_filters ( "ws_plugin__s2member_sc_profile" , ( ( ! empty ( $code ) ) ? $code : null ) , get_defined_vars ( ) ) ; } } } ? [ full view ]s2member\includes\classes\sc-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:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=27732#p27732 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\sc-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\sc-profile-in.inc.php ?php /** * Shortcode for `[s2Member-Profile /]` ( 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_sc_profile_in" ) ) { /** * Shortcode for `[s2Member-Profile /]` ( inner processing routines ). * * @package s2Member\Profiles * @since 3.5 */ class c_ws_plugin__s2member_sc_profile_in { /** * Handles the Shortcode for: `[s2Member-Profile /]`. * * @package s2Member\Profiles * @since 3.5 * * @attaches-to: ``add_shortcode("s2Member-Profile");`` * * @param array $attr An array of Attributes. * @param str $content Content inside the Shortcode. * @param str $shortcode The actual Shortcode name itself. * @return str|null The resulting Profile Modifiation Form *( inline )*, or null if not logged-in. */ public static function sc_profile ( $attr = FALSE , $content = FALSE , $shortcode = FALSE ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_before_sc_profile" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ c_ws_plugin__s2member_no_cache:: no_cache_constants ( true ) ; /* No caching. */ /**/ $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 ) ) { $attr = c_ws_plugin__s2member_utils_strings:: trim_quot_deep ( ( array ) $attr ) ; /**/ $attr = shortcode_atts ( array ( ) , $attr ) ; /* Possible Attributes. None. */ /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_before_sc_profile_after_shortcode_atts" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ ob_start ( ) ; /* Start buffering. Allows Hooks to echo output like: `/?s2member_profile=1`. */ /**/ echo 'form method="post" name="ws_plugin__s2member_profile" id="ws-plugin--s2member-profile"' . "\n" ; /**/ if ( $GLOBALS [ "ws_plugin__s2member_profile_saved" ] ) /* Respond to successful updates. */ { echo 'div id="ws-plugin--s2member-profile-saved"' . "\n" ; echo 'Profile updated successfully.' . "\n" ; echo '/div' . "\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_sc_profile_save" id="ws-plugin--s2member-sc-profile-save" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-sc-profile-save" ) ) . '" /' . "\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" ; /**/ $code = ob_get_clean ( ) ; } /**/ return apply_filters ( "ws_plugin__s2member_sc_profile" , ( ( ! empty ( $code ) ) ? $code : null ) , get_defined_vars ( ) ) ; } } } ? [ full view ]s2member\includes\classes\sc-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:09:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13069&p=25364#p25364 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\sc-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:09 am


]]>