Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:49:30-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13009 2011-12-20T09:49:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=57719#p57719 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: December 20, 2011, 9:49 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:02:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=55401#p55401 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: December 7, 2011, 1:02 am

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

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


]]>
2011-11-05T19:25:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=51775#p51775 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: November 5, 2011, 8:25 pm

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

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


]]>
2011-10-29T20:34:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=49870#p49870 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: October 29, 2011, 9:34 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:38:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=47664#p47664 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: October 17, 2011, 1:38 pm

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

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


]]>
2011-10-11T14:34:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=46064#p46064 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: October 11, 2011, 12:34 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:46:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=44195#p44195 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: October 3, 2011, 1:46 pm

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

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


]]>
2011-10-03T03:40:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=42902#p42902 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\custom-reg-fields-4bp.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:25:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=41148#p41148 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: September 27, 2011, 3:25 am

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

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


]]>
2011-09-26T21:02:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=39904#p39904 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: September 26, 2011, 7:02 pm

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

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


]]>
2011-09-17T16:19:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=38048#p38048 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: September 17, 2011, 2:19 pm

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

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


]]>
2011-09-14T01:27:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=36629#p36629 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\custom-reg-fields-4bp.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:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=35357#p35357 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\custom-reg-fields-4bp.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:11:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=31464#p31464 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: August 15, 2011, 3:11 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\custom-reg-fields-4bp.inc.php ?php /** * Custom Registration Fields for BuddyPress integration. * * 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\Custom_Reg_Fields * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_custom_reg_fields_4bp" ) ) { /** * Custom Registration Fields for BuddyPress integration. * * @package s2Member\Custom_Reg_Fields * @since 3.5 */ class c_ws_plugin__s2member_custom_reg_fields_4bp { /** * Adds Custom Fields to BuddyPress Registration Form. * * @package s2Member\Custom_Reg_Fields * @since 110524RC * * @attaches-to: ``add_action("bp_after_signup_profile_fields");`` * * @return null * * @todo Optimize with ``empty()``. */ public static function custom_registration_fields_4bp ( ) { static $processed = false ; /* Process this routine only one time. */ /**/ do_action ( "ws_plugin__s2member_before_custom_registration_fields_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! $processed && in_array ( "registration" , $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields_4bp" ] ) ) if ( apply_filters ( "ws_plugin__s2member_custom_registration_fields_4bp_display" , true , get_defined_vars ( ) ) ) if (bp_is_register_page ( ) && ( $processed = true ) ) { $_p = ( ! empty ( $_POST ) ) ? c_ws_plugin__s2member_utils_strings:: trim_deep ( stripslashes_deep ( $_POST ) ) : array ( ) ; /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "registration" ) /**/ || ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in" ] && c_ws_plugin__s2member_list_servers:: list_servers_integrated ( ) ) ) if ( ( $close_section_container = true ) ) { echo 'div id="ws-plugin--s2member-custom-reg-fields-4bp-section" class="ws-plugin--s2member-custom-reg-fields-4bp-section register-section"' . "\n" ; echo 'div id="ws-plugin--s2member-custom-reg-fields-4bp-container" class="ws-plugin--s2member-custom-reg-fields-4bp-container"' . "\n" ; echo 'input type="hidden" name="ws_plugin__s2member_registration" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-registration" ) ) . '" /' . "\n" ; } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "registration" ) ) { 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_custom_registration_fields_4bp_before_custom_fields" , 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_custom_registration_fields_4bp_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* Starts a new section? */ echo 'div class="ws-plugin--s2member-custom-reg-field-4bp-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div' ; /**/ echo 'div class="ws-plugin--s2member-custom-reg-field-4bp ws-plugin--s2member-custom-reg-field-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' editfield"' . "\n" ; echo 'label for="ws-plugin--s2member-custom-reg-field-4bp-' . esc_attr ( $field_id_class ) . '"' . "\n" ; echo 'span' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? ' style="display:none;"' : '' ) . '' . $field [ "label" ] . ( ( $field [ "required" ] === "yes" ) ? ' *' : '' ) . '/span/label' . "\n" ; echo c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_custom_reg_field_" , "ws-plugin--s2member-custom-reg-field-4bp-" , "ws-plugin--s2member-custom-reg-field-4bp" , "" , "" , "" , $_p , $_p [ "ws_plugin__s2member_custom_reg_field_" . $field_var ] , "registration" ) ; echo '/div' . "\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_custom_registration_fields_4bp_after_custom_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } } /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in" ] && c_ws_plugin__s2member_list_servers:: list_servers_integrated ( ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_before_opt_in" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'div class="ws-plugin--s2member-custom-reg-field-4bp field_opt_in editfield"' . "\n" ; echo 'label for="ws-plugin--s2member-custom-reg-field-4bp-opt-in"' . "\n" ; echo 'input type="checkbox" name="ws_plugin__s2member_custom_reg_field_opt_in" id="ws-plugin--s2member-custom-reg-field-4bp-opt-in" class="ws-plugin--s2member-custom-reg-field-4bp" value="1"' . ( ( ( empty ( $_p ) && $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in" ] == 1 ) || $_p [ "ws_plugin__s2member_custom_reg_field_opt_in" ] ) ? ' checked="checked"' : '' ) . ' /' . "\n" ; echo $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in_label" ] . "\n" ; echo '/label' . "\n" ; echo '/div' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_after_opt_in" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( $close_section_container ) echo '/div/div' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ do_action ( "ws_plugin__s2member_after_custom_registration_fields_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Adds Custom Fields to BuddyPress Profiles. * * @package s2Member\Custom_Reg_Fields * @since 110524RC * * @attaches-to: ``add_action("bp_after_profile_field_content");`` * * @return null */ public static function custom_profile_fields_4bp ( ) { global $bp ; /* Global BuddyPress object reference. */ static $processed = false ; /* Process this routine only one time. */ /**/ do_action ( "ws_plugin__s2member_before_custom_profile_fields_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! $processed && in_array ( "profile" , $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields_4bp" ] ) ) if ( apply_filters ( "ws_plugin__s2member_custom_profile_fields_4bp_display" , true , get_defined_vars ( ) ) ) if (bp_is_user_profile ( ) && bp_is_profile_edit ( ) && (int)bp_get_the_profile_group_id ( ) === 1 ) if ( isset ( $bp - displayed_user - id ) && ( $user_id = $bp - displayed_user - id ) ) if ( ( $processed = true ) ) /* Mark as having been processed now. */ { echo 'input type="hidden" name="ws_plugin__s2member_profile_4bp_save" id="ws-plugin--s2member-profile-4bp-save" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-profile-4bp-save" ) ) . '" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_profile_fields_4bp_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( ( $level = c_ws_plugin__s2member_user_access:: user_access_level ( new WP_User ( $user_id ) ) ) = 0 ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( $level , "profile" ) ) { $fields = get_user_option ( "s2member_custom_fields" , $user_id ) ; /* Existing Custom Fields. */ /**/ 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_custom_profile_fields_4bp_before_custom_fields" , 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_custom_profile_fields_4bp_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* Starts a new section? */ echo 'div class="ws-plugin--s2member-profile-field-4bp-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div' ; /**/ echo 'div class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' editfield"' . "\n" ; echo 'label for="ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . '"' . "\n" ; echo 'span' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? ' style="display:none;"' : '' ) . '' . $field [ "label" ] . ( ( $field [ "required" ] === "yes" ) ? ' *' : '' ) . '/span/label' . "\n" ; echo c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_profile_4bp_" , "ws-plugin--s2member-profile-4bp-" , "ws-plugin--s2member-profile-field-4bp" , "" , "" , "" , $fields , $fields [ $field_var ] , "profile" ) ; echo '/div' . "\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_custom_profile_fields_4bp_after_custom_fields" , 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_custom_profile_fields_4bp_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ do_action ( "ws_plugin__s2member_after_custom_profile_fields_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Adds Custom Fields to BuddyPress Profiles in public view. * * @package s2Member\Custom_Reg_Fields * @since 110524RC * * @attaches-to: ``add_action("bp_profile_field_item");`` * * @return null */ public static function custom_profile_field_items_4bp ( ) { global $bp ; /* Global BuddyPress object reference. */ static $processed = false ; /* Process this routine only one time. */ /**/ do_action ( "ws_plugin__s2member_before_custom_profile_field_items_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! $processed && in_array ( "profile-view" , $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields_4bp" ] ) ) if ( apply_filters ( "ws_plugin__s2member_custom_profile_field_items_4bp_display" , true , get_defined_vars ( ) ) ) if (bp_is_user_profile ( ) && !bp_is_profile_edit ( ) && (int)bp_get_the_profile_group_id ( ) === 1 ) if ( isset ( $bp - displayed_user - id ) && ( $user_id = $bp - displayed_user - id ) ) if ( ( $processed = true ) ) /* Mark as having been processed now. */ { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_profile_field_items_4bp_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( ( $level = c_ws_plugin__s2member_user_access:: user_access_level ( new WP_User ( $user_id ) ) ) = 0 ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( $level , "profile-view" ) ) { $fields = get_user_option ( "s2member_custom_fields" , $user_id ) ; /* Existing Custom Fields. */ /**/ 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_custom_profile_field_items_4bp_before_custom_fields" , 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_custom_profile_field_items_4bp_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* New section? */ { echo 'tr class="ws-plugin--s2member-profile-field-4bp-divider-section"' . "\n" ; echo 'td colspan="2"div class="ws-plugin--s2member-profile-field-4bp-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div/td' . "\n" ; echo '/tr' . "\n" ; } /**/ echo 'tr class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . '"' . "\n" ; echo 'td class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' label"span' . $field [ "label" ] . '/span/td' . "\n" ; echo 'td class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' data"' . c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_profile_4bp_" , "ws-plugin--s2member-profile-4bp-" , "ws-plugin--s2member-profile-field-4bp" , "" , "" , "" , $fields , $fields [ $field_var ] , "profile-view" ) . '/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_custom_profile_field_items_4bp_after_custom_fields" , 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_custom_profile_field_items_4bp_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ do_action ( "ws_plugin__s2member_after_custom_profile_field_items_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member\includes\classes\custom-reg-fields-4bp.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

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


]]>
2011-07-11T17:27:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=27672#p27672 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: July 11, 2011, 6:27 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\custom-reg-fields-4bp.inc.php ?php /** * Custom Registration Fields for BuddyPress integration. * * 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\Custom_Reg_Fields * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_custom_reg_fields_4bp" ) ) { /** * Custom Registration Fields for BuddyPress integration. * * @package s2Member\Custom_Reg_Fields * @since 3.5 */ class c_ws_plugin__s2member_custom_reg_fields_4bp { /** * Adds Custom Fields to BuddyPress Registration Form. * * @package s2Member\Custom_Reg_Fields * @since 110524RC * * @attaches-to: ``add_action("bp_after_signup_profile_fields");`` * * @return null * * @todo Optimize with ``empty()``. */ public static function custom_registration_fields_4bp ( ) { static $processed = false ; /* Process this routine only one time. */ /**/ do_action ( "ws_plugin__s2member_before_custom_registration_fields_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! $processed && in_array ( "registration" , $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields_4bp" ] ) ) if ( apply_filters ( "ws_plugin__s2member_custom_registration_fields_4bp_display" , true , get_defined_vars ( ) ) ) if (bp_is_register_page ( ) && ( $processed = true ) ) { $_p = ( ! empty ( $_POST ) ) ? c_ws_plugin__s2member_utils_strings:: trim_deep ( stripslashes_deep ( $_POST ) ) : array ( ) ; /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "registration" ) /**/ || ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in" ] && c_ws_plugin__s2member_list_servers:: list_servers_integrated ( ) ) ) if ( ( $close_section_container = true ) ) { echo 'div id="ws-plugin--s2member-custom-reg-fields-4bp-section" class="ws-plugin--s2member-custom-reg-fields-4bp-section register-section"' . "\n" ; echo 'div id="ws-plugin--s2member-custom-reg-fields-4bp-container" class="ws-plugin--s2member-custom-reg-fields-4bp-container"' . "\n" ; echo 'input type="hidden" name="ws_plugin__s2member_registration" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-registration" ) ) . '" /' . "\n" ; } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "registration" ) ) { 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_custom_registration_fields_4bp_before_custom_fields" , 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_custom_registration_fields_4bp_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* Starts a new section? */ echo 'div class="ws-plugin--s2member-custom-reg-field-4bp-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div' ; /**/ echo 'div class="ws-plugin--s2member-custom-reg-field-4bp ws-plugin--s2member-custom-reg-field-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' editfield"' . "\n" ; echo 'label for="ws-plugin--s2member-custom-reg-field-4bp-' . esc_attr ( $field_id_class ) . '"' . "\n" ; echo 'span' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? ' style="display:none;"' : '' ) . '' . $field [ "label" ] . ( ( $field [ "required" ] === "yes" ) ? ' *' : '' ) . '/span/label' . "\n" ; echo c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_custom_reg_field_" , "ws-plugin--s2member-custom-reg-field-4bp-" , "ws-plugin--s2member-custom-reg-field-4bp" , "" , "" , "" , $_p , $_p [ "ws_plugin__s2member_custom_reg_field_" . $field_var ] , "registration" ) ; echo '/div' . "\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_custom_registration_fields_4bp_after_custom_fields" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } } /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in" ] && c_ws_plugin__s2member_list_servers:: list_servers_integrated ( ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_before_opt_in" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ echo 'div class="ws-plugin--s2member-custom-reg-field-4bp field_opt_in editfield"' . "\n" ; echo 'label for="ws-plugin--s2member-custom-reg-field-4bp-opt-in"' . "\n" ; echo 'input type="checkbox" name="ws_plugin__s2member_custom_reg_field_opt_in" id="ws-plugin--s2member-custom-reg-field-4bp-opt-in" class="ws-plugin--s2member-custom-reg-field-4bp" value="1"' . ( ( ( empty ( $_p ) && $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in" ] == 1 ) || $_p [ "ws_plugin__s2member_custom_reg_field_opt_in" ] ) ? ' checked="checked"' : '' ) . ' /' . "\n" ; echo $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_opt_in_label" ] . "\n" ; echo '/label' . "\n" ; echo '/div' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_after_opt_in" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ if ( $close_section_container ) echo '/div/div' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_registration_fields_4bp_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ do_action ( "ws_plugin__s2member_after_custom_registration_fields_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Adds Custom Fields to BuddyPress Profiles. * * @package s2Member\Custom_Reg_Fields * @since 110524RC * * @attaches-to: ``add_action("bp_after_profile_field_content");`` * * @return null */ public static function custom_profile_fields_4bp ( ) { static $processed = false ; /* Process this routine only one time. */ /**/ do_action ( "ws_plugin__s2member_before_custom_profile_fields_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! $processed && in_array ( "profile" , $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields_4bp" ] ) ) if ( apply_filters ( "ws_plugin__s2member_custom_profile_fields_4bp_display" , true , get_defined_vars ( ) ) ) if (bp_is_user_profile ( ) && bp_is_profile_edit ( ) && (int)bp_get_the_profile_group_id ( ) === 1 && ( $processed = true ) ) { echo 'input type="hidden" name="ws_plugin__s2member_profile_4bp_save" id="ws-plugin--s2member-profile-4bp-save" value="' . esc_attr ( wp_create_nonce ( "ws-plugin--s2member-profile-4bp-save" ) ) . '" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_profile_fields_4bp_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_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" ) ; /* Existing Custom Fields. */ /**/ 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_custom_profile_fields_4bp_before_custom_fields" , 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_custom_profile_fields_4bp_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* Starts a new section? */ echo 'div class="ws-plugin--s2member-profile-field-4bp-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div' ; /**/ echo 'div class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' editfield"' . "\n" ; echo 'label for="ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . '"' . "\n" ; echo 'span' . ( ( preg_match ( "/^(checkbox|pre_checkbox)$/" , $field [ "type" ] ) ) ? ' style="display:none;"' : '' ) . '' . $field [ "label" ] . ( ( $field [ "required" ] === "yes" ) ? ' *' : '' ) . '/span/label' . "\n" ; echo c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_profile_4bp_" , "ws-plugin--s2member-profile-4bp-" , "ws-plugin--s2member-profile-field-4bp" , "" , "" , "" , $fields , $fields [ $field_var ] , "profile" ) ; echo '/div' . "\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_custom_profile_fields_4bp_after_custom_fields" , 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_custom_profile_fields_4bp_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ do_action ( "ws_plugin__s2member_after_custom_profile_fields_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Adds Custom Fields to BuddyPress Profiles in public view. * * @package s2Member\Custom_Reg_Fields * @since 110524RC * * @attaches-to: ``add_action("bp_profile_field_item");`` * * @return null */ public static function custom_profile_field_items_4bp ( ) { static $processed = false ; /* Process this routine only one time. */ /**/ do_action ( "ws_plugin__s2member_before_custom_profile_field_items_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! $processed && in_array ( "profile-view" , $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields_4bp" ] ) ) if ( apply_filters ( "ws_plugin__s2member_custom_profile_field_items_4bp_display" , true , get_defined_vars ( ) ) ) if (bp_is_user_profile ( ) && !bp_is_profile_edit ( ) && (int)bp_get_the_profile_group_id ( ) === 1 && ( $processed = true ) ) { eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_custom_profile_field_items_4bp_before" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] ) if ( $fields_applicable = c_ws_plugin__s2member_custom_reg_fields:: custom_fields_configured_at_level ( "auto-detection" , "profile-view" ) ) { $fields = get_user_option ( "s2member_custom_fields" ) ; /* Existing Custom Fields. */ /**/ 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_custom_profile_field_items_4bp_before_custom_fields" , 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_custom_profile_field_items_4bp_during_custom_fields_display" , true , get_defined_vars ( ) ) ) { if ( ! empty ( $field [ "section" ] ) && $field [ "section" ] === "yes" ) /* New section? */ { echo 'tr class="ws-plugin--s2member-profile-field-4bp-divider-section"' . "\n" ; echo 'td colspan="2"div class="ws-plugin--s2member-profile-field-4bp-divider-section' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? '-title' : '' ) . '"' . ( ( ! empty ( $field [ "sectitle" ] ) ) ? $field [ "sectitle" ] : '' ) . '/div/td' . "\n" ; echo '/tr' . "\n" ; } /**/ echo 'tr class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . '"' . "\n" ; echo 'td class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' label"span' . $field [ "label" ] . '/span/td' . "\n" ; echo 'td class="ws-plugin--s2member-profile-field-4bp ws-plugin--s2member-profile-4bp-' . esc_attr ( $field_id_class ) . ' field_' . esc_attr ( $field_var ) . ' data"' . c_ws_plugin__s2member_custom_reg_fields:: custom_field_gen ( __FUNCTION__ , $field , "ws_plugin__s2member_profile_4bp_" , "ws-plugin--s2member-profile-4bp-" , "ws-plugin--s2member-profile-field-4bp" , "" , "" , "" , $fields , $fields [ $field_var ] , "profile-view" ) . '/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_custom_profile_field_items_4bp_after_custom_fields" , 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_custom_profile_field_items_4bp_after" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ } /**/ do_action ( "ws_plugin__s2member_after_custom_profile_field_items_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member\includes\classes\custom-reg-fields-4bp.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

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


]]>
2011-07-09T06:08:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13009&p=25304#p25304 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\custom-reg-fields-4bp.inc.php
Docs updated: December 20, 2011, 9:49 am

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

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


]]>