Statistics: Posted by Cristián Lávaque — February 7th, 2012, 1:46 am
Statistics: Posted by Jason Caldwell — February 6th, 2012, 3:50 pm
Statistics: Posted by Jason Caldwell — February 6th, 2012, 3:17 pm
add_filter ("ws_plugin__s2member_during_profile_during_fields_display_custom_fields", "my_function", 10, 2);
function my_function ($bool, $vars = array ())
{
var_dump($vars);
return $vars;
}
Statistics: Posted by Jason Caldwell — February 6th, 2012, 3:05 pm
The transaction was declined because of a merchant risk filter for AVS.
Specifically, the merchant has set to decline transaction when the AVS returned a no match (AVS = N).
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:58 pm
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:46 pm
/**
* 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`.
*
* @package s2Member\Registrations
* @since 3.5
*
* @attaches-to ``add_action("user_register");``
*
* @param int|str $user_id A numeric WordPress® User ID.
* @param 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.
* @param array $meta Optional in most cases. Defaults to false. An array of meta data for a User/Member.
* @return null No return value. Returns `null` in possible every scenario.
*
* @todo Impossible to delete cookies when fired inside: `/wp-activate.php`?
*/
public static function configure_user_registration ($user_id = FALSE, $password = FALSE, $meta = FALSE)
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:40 pm
function prepare_query() {
global $wpdb;
$this->first_user = ($this->page - 1) * $this->users_per_page;
$this->query_limit = $wpdb->prepare(" LIMIT %d, %d", $this->first_user, $this->users_per_page);
$this->query_orderby = ' ORDER BY user_login';
$search_sql = '';
if ( $this->search_term ) {
$searches = array();
$search_sql = 'AND (';
foreach ( array('user_login', 'user_nicename', 'user_email', 'user_url', 'display_name') as $col )
$searches[] = $wpdb->prepare( $col . ' LIKE %s', '%' . like_escape($this->search_term) . '%' );
$search_sql .= implode(' OR ', $searches);
$search_sql .= ')';
}
$this->query_from = " FROM $wpdb->users";
$this->query_where = " WHERE 1=1 $search_sql";
if ( $this->role ) {
$this->query_from .= " INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id";
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:33 pm
<?php
$post_id = 3;
$access_link = c_ws_plugin__s2member_sp_access::sp_access_link_gen($post_id);
wp_redirect($access_link); exit();
?>
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:07 pm
array (
0 => 'IPN received on: Tue Jan 31, 2012 10:41:54 am UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => 'I-NPR3...',
'period1' => '0 D',
'period3' => '1 D',
'item_number' => false,
)
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:02 pm
Statistics: Posted by n1c0_ds — February 4th, 2012, 4:51 pm
Statistics: Posted by GDLTD — February 4th, 2012, 1:57 pm
Statistics: Posted by Russ Smith — February 4th, 2012, 11:50 am
[s2If current_user_is(s2member_level4)]
Some premium content for Level 4 Members only. This is where the download link will go.
[/s2If]
Statistics: Posted by Eduan — February 4th, 2012, 11:36 am
Statistics: Posted by Eduan — February 4th, 2012, 11:15 am
Statistics: Posted by cristiandark — February 4th, 2012, 11:08 am
Statistics: Posted by uncleslinky — February 4th, 2012, 6:30 am
Statistics: Posted by tokyoterri — February 4th, 2012, 6:10 am
Statistics: Posted by dimitriosvasileiou — February 4th, 2012, 5:24 am