Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:47:31-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=12820 2011-12-20T09:47:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=57520#p57520 <![CDATA[s2Member v111220 / Package Class: s2Member...]]>
s2Member v111220
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: December 20, 2011, 9:47 am

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

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


]]>
2011-12-07T01:00:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=55202#p55202 <![CDATA[s2Member v111206 / Package Class: s2Member...]]>
s2Member v111206
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: December 7, 2011, 1:00 am

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

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


]]>
2011-11-05T19:23:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=51577#p51577 <![CDATA[s2Member v111105 / Package Class: s2Member...]]>
s2Member v111105
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: November 5, 2011, 8:23 pm

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

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


]]>
2011-10-29T20:32:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=49672#p49672 <![CDATA[s2Member v111029 / Package Class: s2Member...]]>
s2Member v111029
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: October 29, 2011, 9:32 pm

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

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


]]>
2011-10-17T15:36:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=47466#p47466 <![CDATA[s2Member v111017 / Package Class: s2Member...]]>
s2Member v111017
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: October 17, 2011, 1:36 pm

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

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


]]>
2011-10-11T14:19:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=45860#p45860 <![CDATA[s2Member v111011 / Package Class: s2Member...]]>
s2Member v111011
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: October 11, 2011, 12:19 pm

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

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


]]>
2011-10-03T15:44:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=43997#p43997 <![CDATA[s2Member v111003 / Package Class: s2Member...]]>
s2Member v111003
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: October 3, 2011, 1:44 pm

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

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


]]>
2011-10-03T03:38:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=42704#p42704 <![CDATA[s2Member v111002 / Package Class: s2Member...]]>
s2Member v111002
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: October 3, 2011, 1:38 am

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

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


]]>
2011-09-27T05:09:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=40948#p40948 <![CDATA[s2Member v110927 / Package Class: s2Member...]]>
s2Member v110927
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: September 27, 2011, 3:09 am

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

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


]]>
2011-09-26T21:00:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=39706#p39706 <![CDATA[s2Member v110926 / Package Class: s2Member...]]>
s2Member v110926
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: September 26, 2011, 7:01 pm

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

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


]]>
2011-09-17T16:17:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=37857#p37857 <![CDATA[s2Member v110915 / Package Class: s2Member...]]>
s2Member v110915
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: September 17, 2011, 2:17 pm

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

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


]]>
2011-09-14T01:25:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=36438#p36438 <![CDATA[s2Member v110913 / Package Class: s2Member...]]>
s2Member v110913
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: September 13, 2011, 11:26 pm

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

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


]]>
2011-09-13T12:00:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=35166#p35166 <![CDATA[s2Member v110912 / Package Class: s2Member...]]>
s2Member v110912
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: September 13, 2011, 10:00 am

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

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


]]>
2011-08-15T13:34:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=31279#p31279 <![CDATA[s2Member v110815 / Package Class: s2Member...]]>
s2Member v110815
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: August 15, 2011, 2:35 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Class Summary Classes Hooks/Filters Field Summary | Method Summary | Field Detail | Method Detail Package s2Member\Registrations s2member\includes\classes\registrations.inc.php at line #28 Class c_ws_plugin__s2member_registrations c_ws_plugin__s2member_registrations public class c_ws_plugin__s2member_registrations Registration handlers. Since: 3.5 ( 10 Methods )Method Summary public static null configure_user_on_ms_blog_activation(int|str $blog_id, int|str $user_id, str $password, str $title, array $meta) Configures new Users on a Multisite Network installation. public static null configure_user_on_ms_user_activation(int|str $user_id, str $password, array $meta) Configures new Users on a Multisite Network installation. public static null configure_user_registration(int|str $user_id, str $password, array $meta) Configures all new Users. public static str generate_password(str $password) Filters WordPress® randomly generated Passwords. public static obj|array ms_activate_existing_user(obj $_error, array $vars) Intersects with wpmu_activate_signup() through s2Member's Multisite Networking patch. public static int|false ms_create_existing_user(str $user_login, str $user_email, str $user_pass, int|str $user_id) For Multisite Networks, this function is used to add a User to an existing Blog; and to simulate wp_create_user() behavior. public static null ms_process_signup_hidden_fields() Adds hidden fields for $_POST vars on signup. public static array ms_process_signup_meta(array $meta) Adds Customs Fields to $meta on signup. public static obj ms_register_existing_user(obj $errors, str $user_login, str $user_email) Intersects with register_new_user() through s2Member's Multisite Networking patch. public static array ms_validate_user_signup(array $result) Filters Multisite User validation. ( 10 Methods )Method Detail s2member\includes\classes\registrations.inc.php at line #273 configure_user_on_ms_blog_activation() public static null configure_user_on_ms_blog_activation(int|str $blog_id, int|str $user_id, str $password, str $title, array $meta) Configures new Users on a Multisite Network installation. This does NOT fire for a Super Admin managing Network Blogs. Actually it does; BUT it's blocked by the routine below. A Super Admin should NOT trigger this event. This function should ONLY be fired through /wp-activate.php. Or also through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_action ( "wpmu_activate_blog" ) ; Parameters: int|str $blog_id - A numeric WordPress® Blog ID. int|str $user_id - A numeric WordPress® User ID. str $password - Plain text Password should be passed through by the Action Hook. str $title - The title that a User chose during signup; for their new Blog on the Network. array $meta - Expects an array of $meta details, passed through by the Action Hook. Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #232 configure_user_on_ms_user_activation() public static null configure_user_on_ms_user_activation(int|str $user_id, str $password, array $meta) Configures new Users on a Multisite Network installation. This can ONLY be fired in the admin via /user-new.php. Or also during an actual activation; through /wp-activate.php. Or also during an actual activation; through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_action ( "wpmu_activate_user" ) ; Parameters: int|str $user_id - A numeric WordPress® User ID. str $password - Plain text Password should be passed through by the Action Hook. array $meta - Expects an array of $meta details, passed through by the Action Hook. Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #411 configure_user_registration() public static null configure_user_registration(int|str $user_id, str $password, array $meta) Configures all new Users. The Hook user_register is also fired by calling: c_ws_plugin__s2member_registrations:: ms_create_existing_user ( ) and/or wpmu_create_user ( ) . This function also receives hand-offs from s2Member's handlers for these two Hooks: wpmu_activate_user and wpmu_activate_blog. Since: 3.5 Attaches-to:: add_action ( "user_register" ) ; Parameters: int|str $user_id - A numeric WordPress® User ID. str $password - Optional in most cases. A User's plain text Password. If unspecified, attempts are made to collect the plain text Password from other sources. array $meta - Optional in most cases. An array of meta data added by s2Member for Multisite Network processing. Returns: null Todo: Continue optimizing with empty ( ) and isset ( ) . Impossible to delete cookies when fired inside: /wp-activate.php? [ back to top ] s2member\includes\classes\registrations.inc.php at line #44 generate_password() public static str generate_password(str $password) Filters WordPress® randomly generated Passwords. Also captures Passwords generated by WordPress® ( with a global var ), for internal use. Since: 3.5 Attaches-to:: add_filter ( "random_password" ) ; Parameters: str $password - Expects a plain text Password passed through by the Filter. Returns: str - Password, possibly assigned through s2Member Custom Registration Field input. [ back to top ] s2member\includes\classes\registrations.inc.php at line #189 ms_activate_existing_user() public static obj|array ms_activate_existing_user(obj $_error, array $vars) Intersects with wpmu_activate_signup ( ) through s2Member's Multisite Networking patch. This function should return the same array that wpmu_activate_signup() returns; with the assumption that $user_already_exists . Which is exactly where this function intersects inside the /wp-includes/ms-functions.php. This can ONLY be fired through /wp-activate.php on the front-side. Or through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "_wpmu_activate_existing_error_" ) ; Parameters: obj $_error - Expects a WP_Error object to be passed through by the Filter. array $vars - Expects the defined variables from the scope of the calling Filter. Returns: obj|array - If unable to add an existing User, the original $_error obj is returned. Otherwise we return an array of User details for continued processing by the caller. [ back to top ] s2member\includes\classes\registrations.inc.php at line #365 ms_create_existing_user() public static int|false ms_create_existing_user(str $user_login, str $user_email, str $user_pass, int|str $user_id) For Multisite Networks, this function is used to add a User to an existing Blog; and to simulate wp_create_user ( ) behavior. The $user_id value will be returned by this function, just like wp_create_user ( ) does. This function will fire the Hook user_register. Since: 3.5 Parameters: str $user_login - Expects the User's Username. str $user_email - Expects the User's Email Address. str $user_pass - Expects the User's plain text Password. int|str $user_id - Optional. A numeric WordPress® User ID. If unspecified, a lookup is performed with $user_login and $user_email . Returns: int|false - Returns numeric $user_id on success, else false on failure. [ back to top ] s2member\includes\classes\registrations.inc.php at line #114 ms_process_signup_hidden_fields() public static null ms_process_signup_hidden_fields() Adds hidden fields for $_POST vars on signup. This can ONLY be fired through /wp-signup.php on the front-side. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "signup_hidden_fields" ) ; Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #149 ms_process_signup_meta() public static array ms_process_signup_meta(array $meta) Adds Customs Fields to $meta on signup. This can ONLY be fired through /wp-signup.php on the front-side. Or possibly through /user-new.php in the admin. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "add_signup_meta" ) ; add_filter ( "bp_signup_usermeta" ) ; Parameters: array $meta - Expects an array of meta-data to be passed in by the Filter. Returns: array - Full $meta array with s2Member Custom Fields included. [ back to top ] s2member\includes\classes\registrations.inc.php at line #308 ms_register_existing_user() public static obj ms_register_existing_user(obj $errors, str $user_login, str $user_email) Intersects with register_new_user ( ) through s2Member's Multisite Networking patch. This function Filters registration errors inside /wp-login.php via register_new_user ( ) . When an existing Multisite User is registering, this takes over registration processing. This can ONLY be fired through /wp-login.php on the front-side. Since: 3.5 Attaches-to:: add_filter ( "registration_errors" ) ; Parameters: obj $errors - Expects a WP_Error object passed in by the Filter. str $user_login - Expects the User's Username, passed in by the Filter. str $user_email - Expects the User's Email Address, passed in by the Filter. Returns: obj - A WP_Error object, or exits script execution after handling registration redirection. [ back to top ] s2member\includes\classes\registrations.inc.php at line #82 ms_validate_user_signup() public static array ms_validate_user_signup(array $result) Filters Multisite User validation. This can ONLY be fired through /wp-signup.php on the front-side. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "wpmu_validate_user_signup" ) ; Parameters: array $result - Expects a $result array to be passed through by the Filter. Returns: array - The Filtered $result array. Possibly containing errors introduced by s2Member. [ back to top ] Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Class Summary Classes Hooks/Filters Field Summary | Method Summary | Field Detail | Method Detail(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 1:34 pm


]]>
2011-07-11T17:24:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=27484#p27484 <![CDATA[s2Member v110710 / Package Class: s2Member...]]>
s2Member v110710
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: July 11, 2011, 6:24 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Class Summary Classes Hooks/Filters Field Summary | Method Summary | Field Detail | Method Detail Package s2Member\Registrations s2member\includes\classes\registrations.inc.php at line #28 Class c_ws_plugin__s2member_registrations c_ws_plugin__s2member_registrations public class c_ws_plugin__s2member_registrations Registration handlers. Since: 3.5 ( 10 Methods )Method Summary public static null configure_user_on_ms_blog_activation(int|str $blog_id, int|str $user_id, str $password, str $title, array $meta) Configures new Users on a Multisite Network installation. public static null configure_user_on_ms_user_activation(int|str $user_id, str $password, array $meta) Configures new Users on a Multisite Network installation. public static null configure_user_registration(int|str $user_id, str $password, array $meta) Configures all new Users. public static str generate_password(str $password) Filters WordPress® randomly generated Passwords. public static obj|array ms_activate_existing_user(obj $_error, array $vars) Intersects with wpmu_activate_signup() through s2Member's Multisite Networking patch. public static int|false ms_create_existing_user(str $user_login, str $user_email, str $user_pass, int|str $user_id) For Multisite Networks, this function is used to add a User to an existing Blog; and to simulate wp_create_user() behavior. public static null ms_process_signup_hidden_fields() Adds hidden fields for $_POST vars on signup. public static array ms_process_signup_meta(array $meta) Adds Customs Fields to $meta on signup. public static obj ms_register_existing_user(obj $errors, str $user_login, str $user_email) Intersects with register_new_user() through s2Member's Multisite Networking patch. public static array ms_validate_user_signup(array $result) Filters Multisite User validation. ( 10 Methods )Method Detail s2member\includes\classes\registrations.inc.php at line #264 configure_user_on_ms_blog_activation() public static null configure_user_on_ms_blog_activation(int|str $blog_id, int|str $user_id, str $password, str $title, array $meta) Configures new Users on a Multisite Network installation. This does NOT fire for a Super Admin managing Network Blogs. Actually it does; BUT it's blocked by the routine below. A Super Admin should NOT trigger this event. This function should ONLY be fired through /wp-activate.php. Or also through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_action ( "wpmu_activate_blog" ) ; Parameters: int|str $blog_id - A numeric WordPress® Blog ID. int|str $user_id - A numeric WordPress® User ID. str $password - Plain text Password should be passed through by the Action Hook. str $title - The title that a User chose during signup; for their new Blog on the Network. array $meta - Expects an array of $meta details, passed through by the Action Hook. Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #223 configure_user_on_ms_user_activation() public static null configure_user_on_ms_user_activation(int|str $user_id, str $password, array $meta) Configures new Users on a Multisite Network installation. This can ONLY be fired in the admin via /user-new.php. Or also during an actual activation; through /wp-activate.php. Or also during an actual activation; through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_action ( "wpmu_activate_user" ) ; Parameters: int|str $user_id - A numeric WordPress® User ID. str $password - Plain text Password should be passed through by the Action Hook. array $meta - Expects an array of $meta details, passed through by the Action Hook. Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #404 configure_user_registration() public static null configure_user_registration(int|str $user_id, str $password, array $meta) Configures all new Users. The Hook user_register is also fired by calling: c_ws_plugin__s2member_registrations:: ms_create_existing_user ( ) and/or wpmu_create_user ( ) . This function also receives hand-offs from s2Member's handlers for these two Hooks: wpmu_activate_user and wpmu_activate_blog. This function also receives simulated events from s2Member Pro. Since: 3.5 Attaches-to:: add_action ( "user_register" ) ; Parameters: int|str $user_id - A numeric WordPress® User ID. str $password - Optional in most cases. A User's plain text Password. If unspecified, attempts are made to collect the plain text Password from other sources. array $meta - Optional in most cases. An array of meta data added by s2Member for Multisite Network processing. Returns: null Todo: Continue optimizing with empty ( ) and isset ( ) . Impossible to delete cookies when fired inside: /wp-activate.php? [ back to top ] s2member\includes\classes\registrations.inc.php at line #44 generate_password() public static str generate_password(str $password) Filters WordPress® randomly generated Passwords. Also captures Passwords generated by WordPress® ( with a global var ), for internal use. Since: 3.5 Attaches-to:: add_filter ( "random_password" ) ; Parameters: str $password - Expects a plain text Password passed through by the Filter. Returns: str - Password, possibly assigned through s2Member Custom Registration Field input. [ back to top ] s2member\includes\classes\registrations.inc.php at line #180 ms_activate_existing_user() public static obj|array ms_activate_existing_user(obj $_error, array $vars) Intersects with wpmu_activate_signup ( ) through s2Member's Multisite Networking patch. This function should return the same array that wpmu_activate_signup() returns; with the assumption that $user_already_exists . Which is exactly where this function intersects inside the /wp-includes/ms-functions.php. This can ONLY be fired through /wp-activate.php on the front-side. Or through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "_wpmu_activate_existing_error_" ) ; Parameters: obj $_error - Expects a WP_Error object to be passed through by the Filter. array $vars - Expects the defined variables from the scope of the calling Filter. Returns: obj|array - If unable to add an existing User, the original $_error obj is returned. Otherwise we return an array of User details for continued processing by the caller. [ back to top ] s2member\includes\classes\registrations.inc.php at line #356 ms_create_existing_user() public static int|false ms_create_existing_user(str $user_login, str $user_email, str $user_pass, int|str $user_id) For Multisite Networks, this function is used to add a User to an existing Blog; and to simulate wp_create_user ( ) behavior. The $user_id value will be returned by this function, just like wp_create_user ( ) does. This function will fire the Hook user_register. Since: 3.5 Parameters: str $user_login - Expects the User's Username. str $user_email - Expects the User's Email Address. str $user_pass - Expects the User's plain text Password. int|str $user_id - Optional. A numeric WordPress® User ID. If unspecified, a lookup is performed with $user_login and $user_email . Returns: int|false - Returns numeric $user_id on success, else false on failure. [ back to top ] s2member\includes\classes\registrations.inc.php at line #105 ms_process_signup_hidden_fields() public static null ms_process_signup_hidden_fields() Adds hidden fields for $_POST vars on signup. This can ONLY be fired through /wp-signup.php on the front-side. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "signup_hidden_fields" ) ; Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #140 ms_process_signup_meta() public static array ms_process_signup_meta(array $meta) Adds Customs Fields to $meta on signup. This can ONLY be fired through /wp-signup.php on the front-side. Or possibly through /user-new.php in the admin. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "add_signup_meta" ) ; add_filter ( "bp_signup_usermeta" ) ; Parameters: array $meta - Expects an array of meta-data to be passed in by the Filter. Returns: array - Full $meta array with s2Member Custom Fields included. [ back to top ] s2member\includes\classes\registrations.inc.php at line #299 ms_register_existing_user() public static obj ms_register_existing_user(obj $errors, str $user_login, str $user_email) Intersects with register_new_user ( ) through s2Member's Multisite Networking patch. This function Filters registration errors inside /wp-login.php via register_new_user ( ) . When an existing Multisite User is registering, this takes over registration processing. This can ONLY be fired through /wp-login.php on the front-side. Since: 3.5 Attaches-to:: add_filter ( "registration_errors" ) ; Parameters: obj $errors - Expects a WP_Error object passed in by the Filter. str $user_login - Expects the User's Username, passed in by the Filter. str $user_email - Expects the User's Email Address, passed in by the Filter. Returns: obj - A WP_Error object, or exits script execution after handling registration redirection. [ back to top ] s2member\includes\classes\registrations.inc.php at line #73 ms_validate_user_signup() public static array ms_validate_user_signup(array $result) Filters Multisite User validation. This can ONLY be fired through /wp-signup.php on the front-side. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "wpmu_validate_user_signup" ) ; Parameters: array $result - Expects a $result array to be passed through by the Filter. Returns: array - The Filtered $result array. Possibly containing errors introduced by s2Member. [ back to top ] Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Class Summary Classes Hooks/Filters Field Summary | Method Summary | Field Detail | Method Detail(!-- :: s-words --)

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


]]>
2011-07-11T15:08:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=26865#p26865 <![CDATA[s2Member v110710 / Package Class: s2Member...]]>
s2Member v110710
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: July 11, 2011, 4:08 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Class Summary Classes Hooks/Filters Field Summary | Method Summary | Field Detail | Method Detail Package s2Member\Registrations s2member\includes\classes\registrations.inc.php at line #28 Class c_ws_plugin__s2member_registrations c_ws_plugin__s2member_registrations public class c_ws_plugin__s2member_registrations Registration handlers. Since: 3.5 ( 10 Methods )Method Summary public static null configure_user_on_ms_blog_activation(int|str $blog_id, int|str $user_id, str $password, str $title, array $meta) Configures new Users on a Multisite Network installation. public static null configure_user_on_ms_user_activation(int|str $user_id, str $password, array $meta) Configures new Users on a Multisite Network installation. public static null configure_user_registration(int|str $user_id, str $password, array $meta) Configures all new Users. public static str generate_password(str $password) Filters WordPress® randomly generated Passwords. public static obj|array ms_activate_existing_user(obj $_error, array $vars) Intersects with wpmu_activate_signup() through s2Member's Multisite Networking patch. public static int|false ms_create_existing_user(str $user_login, str $user_email, str $user_pass, int|str $user_id) For Multisite Networks, this function is used to add a User to an existing Blog; and to simulate wp_create_user() behavior. public static null ms_process_signup_hidden_fields() Adds hidden fields for $_POST vars on signup. public static array ms_process_signup_meta(array $meta) Adds Customs Fields to $meta on signup. public static obj ms_register_existing_user(obj $errors, str $user_login, str $user_email) Intersects with register_new_user() through s2Member's Multisite Networking patch. public static array ms_validate_user_signup(array $result) Filters Multisite User validation. ( 10 Methods )Method Detail s2member\includes\classes\registrations.inc.php at line #264 configure_user_on_ms_blog_activation() public static null configure_user_on_ms_blog_activation(int|str $blog_id, int|str $user_id, str $password, str $title, array $meta) Configures new Users on a Multisite Network installation. This does NOT fire for a Super Admin managing Network Blogs. Actually it does; BUT it's blocked by the routine below. A Super Admin should NOT trigger this event. This function should ONLY be fired through /wp-activate.php. Or also through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_action ( "wpmu_activate_blog" ) ; Parameters: int|str $blog_id - A numeric WordPress® Blog ID. int|str $user_id - A numeric WordPress® User ID. str $password - Plain text Password should be passed through by the Action Hook. str $title - The title that a User chose during signup; for their new Blog on the Network. array $meta - Expects an array of $meta details, passed through by the Action Hook. Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #223 configure_user_on_ms_user_activation() public static null configure_user_on_ms_user_activation(int|str $user_id, str $password, array $meta) Configures new Users on a Multisite Network installation. This can ONLY be fired in the admin via /user-new.php. Or also during an actual activation; through /wp-activate.php. Or also during an actual activation; through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_action ( "wpmu_activate_user" ) ; Parameters: int|str $user_id - A numeric WordPress® User ID. str $password - Plain text Password should be passed through by the Action Hook. array $meta - Expects an array of $meta details, passed through by the Action Hook. Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #404 configure_user_registration() public static null configure_user_registration(int|str $user_id, str $password, array $meta) Configures all new Users. The Hook user_register is also fired by calling: c_ws_plugin__s2member_registrations:: ms_create_existing_user ( ) and/or wpmu_create_user ( ) . This function also receives hand-offs from s2Member's handlers for these two Hooks: wpmu_activate_user and wpmu_activate_blog. This function also receives simulated events from s2Member Pro. Since: 3.5 Attaches-to:: add_action ( "user_register" ) ; Parameters: int|str $user_id - A numeric WordPress® User ID. str $password - Optional in most cases. A User's plain text Password. If unspecified, attempts are made to collect the plain text Password from other sources. array $meta - Optional in most cases. An array of meta data added by s2Member for Multisite Network processing. Returns: null Todo: Continue optimizing with empty ( ) and isset ( ) . Impossible to delete cookies when fired inside: /wp-activate.php? [ back to top ] s2member\includes\classes\registrations.inc.php at line #44 generate_password() public static str generate_password(str $password) Filters WordPress® randomly generated Passwords. Also captures Passwords generated by WordPress® ( with a global var ), for internal use. Since: 3.5 Attaches-to:: add_filter ( "random_password" ) ; Parameters: str $password - Expects a plain text Password passed through by the Filter. Returns: str - Password, possibly assigned through s2Member Custom Registration Field input. [ back to top ] s2member\includes\classes\registrations.inc.php at line #180 ms_activate_existing_user() public static obj|array ms_activate_existing_user(obj $_error, array $vars) Intersects with wpmu_activate_signup ( ) through s2Member's Multisite Networking patch. This function should return the same array that wpmu_activate_signup() returns; with the assumption that $user_already_exists . Which is exactly where this function intersects inside the /wp-includes/ms-functions.php. This can ONLY be fired through /wp-activate.php on the front-side. Or through /activate via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "_wpmu_activate_existing_error_" ) ; Parameters: obj $_error - Expects a WP_Error object to be passed through by the Filter. array $vars - Expects the defined variables from the scope of the calling Filter. Returns: obj|array - If unable to add an existing User, the original $_error obj is returned. Otherwise we return an array of User details for continued processing by the caller. [ back to top ] s2member\includes\classes\registrations.inc.php at line #356 ms_create_existing_user() public static int|false ms_create_existing_user(str $user_login, str $user_email, str $user_pass, int|str $user_id) For Multisite Networks, this function is used to add a User to an existing Blog; and to simulate wp_create_user ( ) behavior. The $user_id value will be returned by this function, just like wp_create_user ( ) does. This function will fire the Hook user_register. Since: 3.5 Parameters: str $user_login - Expects the User's Username. str $user_email - Expects the User's Email Address. str $user_pass - Expects the User's plain text Password. int|str $user_id - Optional. A numeric WordPress® User ID. If unspecified, a lookup is performed with $user_login and $user_email . Returns: int|false - Returns numeric $user_id on success, else false on failure. [ back to top ] s2member\includes\classes\registrations.inc.php at line #105 ms_process_signup_hidden_fields() public static null ms_process_signup_hidden_fields() Adds hidden fields for $_POST vars on signup. This can ONLY be fired through /wp-signup.php on the front-side. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "signup_hidden_fields" ) ; Returns: null [ back to top ] s2member\includes\classes\registrations.inc.php at line #140 ms_process_signup_meta() public static array ms_process_signup_meta(array $meta) Adds Customs Fields to $meta on signup. This can ONLY be fired through /wp-signup.php on the front-side. Or possibly through /user-new.php in the admin. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "add_signup_meta" ) ; add_filter ( "bp_signup_usermeta" ) ; Parameters: array $meta - Expects an array of meta-data to be passed in by the Filter. Returns: array - Full $meta array with s2Member Custom Fields included. [ back to top ] s2member\includes\classes\registrations.inc.php at line #299 ms_register_existing_user() public static obj ms_register_existing_user(obj $errors, str $user_login, str $user_email) Intersects with register_new_user ( ) through s2Member's Multisite Networking patch. This function Filters registration errors inside /wp-login.php via register_new_user ( ) . When an existing Multisite User is registering, this takes over registration processing. This can ONLY be fired through /wp-login.php on the front-side. Since: 3.5 Attaches-to:: add_filter ( "registration_errors" ) ; Parameters: obj $errors - Expects a WP_Error object passed in by the Filter. str $user_login - Expects the User's Username, passed in by the Filter. str $user_email - Expects the User's Email Address, passed in by the Filter. Returns: obj - A WP_Error object, or exits script execution after handling registration redirection. [ back to top ] s2member\includes\classes\registrations.inc.php at line #73 ms_validate_user_signup() public static array ms_validate_user_signup(array $result) Filters Multisite User validation. This can ONLY be fired through /wp-signup.php on the front-side. Or through /register via BuddyPress. Since: 3.5 Attaches-to:: add_filter ( "wpmu_validate_user_signup" ) ; Parameters: array $result - Expects a $result array to be passed through by the Filter. Returns: array - The Filtered $result array. Possibly containing errors introduced by s2Member. [ back to top ] Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Class Summary Classes Hooks/Filters Field Summary | Method Summary | Field Detail | Method Detail(!-- :: s-words --)

Statistics: Posted by System Robot — July 11th, 2011, 3:08 pm


]]>
2011-07-09T05:31:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=12820&p=25114#p25114 <![CDATA[s2Member v111220 / Package Class: s2Member...]]>
s2Member v111220
Package Class: s2Member\Registrations\c_ws_plugin__s2member_registrations
Docs updated: December 20, 2011, 9:47 am

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

Statistics: Posted by System Robot — July 9th, 2011, 5:31 am


]]>