Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:49:59-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13043 2011-12-20T09:49:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=57774#p57774 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\profile-mods-4bp-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:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=55456#p55456 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\profile-mods-4bp-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=13043&p=51830#p51830 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\profile-mods-4bp-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=13043&p=49925#p49925 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\profile-mods-4bp-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=13043&p=47719#p47719 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\profile-mods-4bp-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=13043&p=46119#p46119 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\profile-mods-4bp-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:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=44250#p44250 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\profile-mods-4bp-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=13043&p=42957#p42957 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\profile-mods-4bp-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:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=41203#p41203 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\profile-mods-4bp-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:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=39959#p39959 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\profile-mods-4bp-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:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=38103#p38103 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\profile-mods-4bp-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:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=36684#p36684 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\profile-mods-4bp-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=13043&p=35412#p35412 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\profile-mods-4bp-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:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=31519#p31519 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\profile-mods-4bp-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-mods-4bp-in.inc.php ?php /** * Profile modifications for BuddyPress ( 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_mods_4bp_in" ) ) { /** * Profile modifications for BuddyPress ( inner processing routines ). * * @package s2Member\Profiles * @since 3.5 */ class c_ws_plugin__s2member_profile_mods_4bp_in { /** * Handles Profile modifications for Custom Fields *( created with s2Member )*; integrated with BuddyPress. * * @package s2Member\Profiles * @since 3.5 * * @attaches-to: ``add_action("init");`` * * @return null After re-configuring the ``$current_user`` object. */ public static function handle_profile_modifications_4bp ( ) { global $current_user ; /* We'll need to update this global object. */ /**/ $user = & $current_user ; /* Shorter reference to the $current_user object. */ /**/ do_action ( "ws_plugin__s2member_before_handle_profile_modifications_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! empty ( $_POST [ "ws_plugin__s2member_profile_4bp_save" ] ) && is_user_logged_in ( ) && is_object ( $user ) && ( $user_id = $user - ID ) ) { if ( ( $nonce = $_POST [ "ws_plugin__s2member_profile_4bp_save" ] ) && wp_verify_nonce ( $nonce , "ws-plugin--s2member-profile-4bp-save" ) ) { $GLOBALS [ "ws_plugin__s2member_profile_4bp_saved" ] = true ; /* Global flag as having been saved/updated successfully. */ /**/ $_p = c_ws_plugin__s2member_utils_strings:: trim_deep ( stripslashes_deep ( $_POST ) ) ; /* Clean POST vars. */ /**/ 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" ) ) { $_existing_fields = get_user_option ( "s2member_custom_fields" , $user_id ) ; /**/ foreach ( json_decode ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] , true ) as $field ) { $field_var = preg_replace ( "/[^a-z0-9]/i" , "_" , strtolower ( $field [ "id" ] ) ) ; $field_id_class = preg_replace ( "/_/" , "-" , $field_var ) ; /**/ if ( ! in_array ( $field [ "id" ] , $fields_applicable ) || preg_match ( "/^no/" , $field [ "editable" ] ) ) { if ( isset ( $_existing_fields [ $field_var ] ) && ( ( is_array ( $_existing_fields [ $field_var ] ) && ! empty ( $_existing_fields [ $field_var ] ) ) || strlen ( $_existing_fields [ $field_var ] ) ) ) $fields [ $field_var ] = $_existing_fields [ $field_var ] ; else /* Else unset. */ unset ( $fields [ $field_var ] ) ; } else if ( $field [ "required" ] === "yes" && ( ! isset ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) || ( is_array ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) && empty ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) || ! strlen ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) ) { if ( isset ( $_existing_fields [ $field_var ] ) && ( ( is_array ( $_existing_fields [ $field_var ] ) && ! empty ( $_existing_fields [ $field_var ] ) ) || strlen ( $_existing_fields [ $field_var ] ) ) ) $fields [ $field_var ] = $_existing_fields [ $field_var ] ; else /* Else unset. */ unset ( $fields [ $field_var ] ) ; } else if ( isset ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) { if ( ( is_array ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) && ! empty ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) || strlen ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) $fields [ $field_var ] = $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ; else /* Else unset. */ unset ( $fields [ $field_var ] ) ; } else /* Else ``unset()``. */ unset ( $fields [ $field_var ] ) ; } /**/ if ( ! empty ( $fields ) ) update_user_option ( $user_id , "s2member_custom_fields" , $fields ) ; else /* Else delete their Custom Fields? */ delete_user_option ( $user_id , "s2member_custom_fields" ) ; } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_handle_profile_modifications_4bp" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ $user = new WP_User ( $user_id ) ; /* Update the WP_User object for the current User/Member. */ ( function_exists ( "setup_userdata" ) ) ? setup_userdata ( ) : null ; /* Update global vars. */ } } /**/ do_action ( "ws_plugin__s2member_after_handle_profile_modifications_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member\includes\classes\profile-mods-4bp-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:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=27706#p27706 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\profile-mods-4bp-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-mods-4bp-in.inc.php ?php /** * Profile modifications for BuddyPress ( 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_mods_4bp_in" ) ) { /** * Profile modifications for BuddyPress ( inner processing routines ). * * @package s2Member\Profiles * @since 3.5 */ class c_ws_plugin__s2member_profile_mods_4bp_in { /** * Handles Profile modifications for Custom Fields *( created with s2Member )*; integrated with BuddyPress. * * @package s2Member\Profiles * @since 3.5 * * @attaches-to: ``add_action("init");`` * * @return null After re-configuring the ``$current_user`` object. */ public static function handle_profile_modifications_4bp ( ) { global $current_user ; /* We'll need to update this global object. */ /**/ $user = & $current_user ; /* Shorter reference to the $current_user object. */ /**/ do_action ( "ws_plugin__s2member_before_handle_profile_modifications_4bp" , get_defined_vars ( ) ) ; /**/ if ( ! empty ( $_POST [ "ws_plugin__s2member_profile_4bp_save" ] ) && is_user_logged_in ( ) && is_object ( $user ) && ( $user_id = $user - ID ) ) { if ( ( $nonce = $_POST [ "ws_plugin__s2member_profile_4bp_save" ] ) && wp_verify_nonce ( $nonce , "ws-plugin--s2member-profile-4bp-save" ) ) { $GLOBALS [ "ws_plugin__s2member_profile_4bp_saved" ] = true ; /* Global flag as having been saved/updated successfully. */ /**/ $_p = c_ws_plugin__s2member_utils_strings:: trim_deep ( stripslashes_deep ( $_POST ) ) ; /* Clean POST vars. */ /**/ 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" ) ) { $_existing_fields = get_user_option ( "s2member_custom_fields" , $user_id ) ; /**/ foreach ( json_decode ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "custom_reg_fields" ] , true ) as $field ) { $field_var = preg_replace ( "/[^a-z0-9]/i" , "_" , strtolower ( $field [ "id" ] ) ) ; $field_id_class = preg_replace ( "/_/" , "-" , $field_var ) ; /**/ if ( ! in_array ( $field [ "id" ] , $fields_applicable ) || preg_match ( "/^no/" , $field [ "editable" ] ) ) { if ( isset ( $_existing_fields [ $field_var ] ) && ( ( is_array ( $_existing_fields [ $field_var ] ) && ! empty ( $_existing_fields [ $field_var ] ) ) || strlen ( $_existing_fields [ $field_var ] ) ) ) $fields [ $field_var ] = $_existing_fields [ $field_var ] ; else /* Else unset. */ unset ( $fields [ $field_var ] ) ; } else if ( $field [ "required" ] === "yes" && ( ! isset ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) || ( is_array ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) && empty ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) || ! strlen ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) ) { if ( isset ( $_existing_fields [ $field_var ] ) && ( ( is_array ( $_existing_fields [ $field_var ] ) && ! empty ( $_existing_fields [ $field_var ] ) ) || strlen ( $_existing_fields [ $field_var ] ) ) ) $fields [ $field_var ] = $_existing_fields [ $field_var ] ; else /* Else unset. */ unset ( $fields [ $field_var ] ) ; } else if ( isset ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) { if ( ( is_array ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) && ! empty ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) || strlen ( $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ) ) $fields [ $field_var ] = $_p [ "ws_plugin__s2member_profile_4bp_" . $field_var ] ; else /* Else unset. */ unset ( $fields [ $field_var ] ) ; } else /* Else ``unset()``. */ unset ( $fields [ $field_var ] ) ; } /**/ if ( ! empty ( $fields ) ) update_user_option ( $user_id , "s2member_custom_fields" , $fields ) ; else /* Else delete their Custom Fields? */ delete_user_option ( $user_id , "s2member_custom_fields" ) ; } /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_handle_profile_modifications_4bp" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ $user = new WP_User ( $user_id ) ; /* Update the WP_User object for the current User/Member. */ ( function_exists ( "setup_userdata" ) ) ? setup_userdata ( ) : null ; /* Update global vars. */ } } /**/ do_action ( "ws_plugin__s2member_after_handle_profile_modifications_4bp" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member\includes\classes\profile-mods-4bp-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:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13043&p=25338#p25338 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\profile-mods-4bp-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


]]>