latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: lisa carr

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 15 topics - 1 through 15 (of 15 total)
Topic Count Last Reply
Service Temporarily Unavailable

By:  lisa carr in: Community Forum

voices: 3
replies: 21

3 years, 3 months ago  David Rowley

registration email – link expiring right away

By:  lisa carr in: Community Forum

voices: 1
replies: 0

3 years, 3 months ago  lisa carr

using WP password page protection – not S2

By:  lisa carr in: Community Forum

voices: 2
replies: 2

3 years, 4 months ago  lisa carr

members remain free subscribers after Paying!

By:  lisa carr in: Community Forum

voices: 2
replies: 9

3 years, 5 months ago  Mike (Volunteer Moderator)

custom membership labels are lost w/updates

By:  lisa carr in: Community Forum

voices: 2
replies: 3

3 years, 8 months ago  Bruce

member not showing up in users

By:  lisa carr in: Community Forum

voices: 2
replies: 13

3 years, 9 months ago  Cristián Lávaque

changes not updating user/profile

By:  lisa carr in: Community Forum

voices: 2
replies: 6

4 years ago  Cristián Lávaque

client needs mail merge info from S2 database

By:  lisa carr in: Community Forum

voices: 3
replies: 3

4 years, 2 months ago  Raam Dev

level 0 members getting into paid areas

By:  lisa carr in: Community Forum

voices: 4
replies: 20

4 years, 3 months ago  Eduan

getting EOT to show in member profile widget

By:  lisa carr in: Community Forum

voices: 2
replies: 2

4 years, 5 months ago  Eduan

passwords

By:  lisa carr in: Community Forum

voices: 2
replies: 1

4 years, 5 months ago  Raam Dev

Custom fields importing wrong -need HELP

By:  lisa carr in: Community Forum

voices: 2
replies: 4

4 years, 5 months ago  Cristián Lávaque

Import problem

By:  lisa carr in: Community Forum

voices: 3
replies: 3

4 years, 5 months ago  Cristián Lávaque

registration/profile fields won't save

By:  lisa carr in: Community Forum

voices: 2
replies: 3

4 years, 5 months ago  Cristián Lávaque

create an additional paid option to level#

By:  lisa carr in: Community Forum

voices: 2
replies: 3

4 years, 5 months ago  Cristián Lávaque

Viewing 15 topics - 1 through 15 (of 15 total)

Topics I've Started

Viewing 15 topics - 1 through 15 (of 15 total)
Topic Count Last Reply
Service Temporarily Unavailable

By:  lisa carr in: Community Forum

voices: 3
replies: 21

3 years, 3 months ago  David Rowley

registration email – link expiring right away

By:  lisa carr in: Community Forum

voices: 1
replies: 0

3 years, 3 months ago  lisa carr

using WP password page protection – not S2

By:  lisa carr in: Community Forum

voices: 2
replies: 2

3 years, 4 months ago  lisa carr

members remain free subscribers after Paying!

By:  lisa carr in: Community Forum

voices: 2
replies: 9

3 years, 5 months ago  Mike (Volunteer Moderator)

custom membership labels are lost w/updates

By:  lisa carr in: Community Forum

voices: 2
replies: 3

3 years, 8 months ago  Bruce

member not showing up in users

By:  lisa carr in: Community Forum

voices: 2
replies: 13

3 years, 9 months ago  Cristián Lávaque

changes not updating user/profile

By:  lisa carr in: Community Forum

voices: 2
replies: 6

4 years ago  Cristián Lávaque

client needs mail merge info from S2 database

By:  lisa carr in: Community Forum

voices: 3
replies: 3

4 years, 2 months ago  Raam Dev

level 0 members getting into paid areas

By:  lisa carr in: Community Forum

voices: 4
replies: 20

4 years, 3 months ago  Eduan

getting EOT to show in member profile widget

By:  lisa carr in: Community Forum

voices: 2
replies: 2

4 years, 5 months ago  Eduan

passwords

By:  lisa carr in: Community Forum

voices: 2
replies: 1

4 years, 5 months ago  Raam Dev

Custom fields importing wrong -need HELP

By:  lisa carr in: Community Forum

voices: 2
replies: 4

4 years, 5 months ago  Cristián Lávaque

Import problem

By:  lisa carr in: Community Forum

voices: 3
replies: 3

4 years, 5 months ago  Cristián Lávaque

registration/profile fields won't save

By:  lisa carr in: Community Forum

voices: 2
replies: 3

4 years, 5 months ago  Cristián Lávaque

create an additional paid option to level#

By:  lisa carr in: Community Forum

voices: 2
replies: 3

4 years, 5 months ago  Cristián Lávaque

Viewing 15 topics - 1 through 15 (of 15 total)

My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 38 total)
Author Replies
Author Replies
Posted: Wednesday Oct 2nd, 2013 at 12:19 pm #60103
lisa carr
Username: pageadmin

thanks for the info David

for some *reason after i called 1and1 2 different times about this…..it is working ok. Members are registering and it is adding the info to the S2 users… we are getting both paypal and WP emails.

i think that 1and1 could have done something ….but only time will tell ;-)

are you still getting the error?

Posted: Monday Sep 30th, 2013 at 3:59 pm #60018
lisa carr
Username: pageadmin

i am getting password reset emails.

my client was getting the paypal emails and not the WP emails with the user registration – and she was just creating new users manually – so i didn’t know about some of this that was happening for a while.

Posted: Monday Sep 30th, 2013 at 3:25 pm #60016
lisa carr
Username: pageadmin

yes! email settings are configured for new users….

i thought that maybe the server error was affecting that – but if you were getting both emails during the server error era with 1and1 (;-) then maybe it’s something else.

argh – this is really frustrating.

Posted: Monday Sep 30th, 2013 at 2:13 pm #60009
lisa carr
Username: pageadmin

we are getting the paypal emails….. just no email from WP that a new user has registered. You were also getting the WP emails??

Posted: Monday Sep 30th, 2013 at 1:52 pm #60007
lisa carr
Username: pageadmin

Jane or David

have you also received the emails from paypal when a new user pays for access BUT not gotten the email from Worpress with a new user being added to the S2 member users???

Posted: Monday Sep 30th, 2013 at 1:07 pm #60005
lisa carr
Username: pageadmin

just got word from 1and1.com

Thank you for contacting us.

We have tried to install s2members plugin in our wordpress test website and it works fine. We did not receive any error message after a member login to the member area. Please be informed that wordpress is a third party application which is beyond our scope of support. You may contact wordpress support or visit their forum website for more information about the error.

If you have any further questions please do not hesitate to contact us.

Posted: Monday Sep 30th, 2013 at 12:55 pm #60004
lisa carr
Username: pageadmin

Media Temple hosting looks nice – definitely more expensive than 1and1 …. Jane – let us know if the issue clears up with moving the site.

i – unfortunately – have approx 60 sites and moving to another company sounds like a huge undertaking.
I was on tech support – and along with having a hard time understanding the guy, got some canned responses. They asked me to provide screenshots …which i did so i am waiting for a response. Obviously this is a server issue –
David… are you on the shared hosting?

did you get any responses via email from them???

Posted: Friday Sep 27th, 2013 at 9:09 am #59948
lisa carr
Username: pageadmin

huh…. interesting. thanks – if i get a chance later today i’ll call and let you know.

Posted: Friday Sep 27th, 2013 at 8:54 am #59944
lisa carr
Username: pageadmin

my site is also hosted at 1and1.com … David, is your site hosted at 1and1.com?

Posted: Tuesday Aug 13th, 2013 at 1:23 pm #55684
lisa carr
Username: pageadmin

Great Bruce! Thanks ;-)

Posted: Thursday Aug 1st, 2013 at 2:53 pm #54641
lisa carr
Username: pageadmin

i will try that Mike – thanks!

I see that S2 needs to update in my WP installation ….. Is there a “proper” way of doing this?

Posted: Thursday Aug 1st, 2013 at 2:44 pm #54636
lisa carr
Username: pageadmin

hi Mike

ok, so i checked paypal and IPN is enabled. Also i checked the history for the past 28 days and they all have “sent”. no problems that i see (although i don’t necessarily know what it look for ;-)

i uploaded the S2 server scanner and the only thing that came up as an “error” was: [NOTICE] WordPress® Memory Limit – it said to set at least 64M – mine is at 40.

Posted: Thursday Aug 1st, 2013 at 2:29 pm #54628
lisa carr
Username: pageadmin

Hi Mike

this is what i see:

LOG ENTRY: Thu Aug 1st, 2013 @ precisely 6:25 pm UTC
PHP v5.2.17 :: WordPress® v3.5.2 :: s2Member® v130617 :: s2Member® Pro v130617
Memory 20.03 MB :: Real Memory 20.25 MB :: Peak Memory 20.09 MB :: Real Peak Memory 20.25 MB

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Firefox/22.0
array (
  's2member_log' => 
  array (
    0 => 'Unable to verify $_POST vars. This is most likely related to an invalid configuration of s2Member, or a problem with server compatibility.',
    1 => 'Please see this KB article: http://www.s2member.com/kb/server-scanner/. We suggest that you run the s2Member® Server Scanner.',
    2 => 'array (
  \'s2member_paypal_notify\' => \'1\',
)',
  ),
)
Posted: Thursday Aug 1st, 2013 at 1:28 pm #54621
lisa carr
Username: pageadmin

Hi Mike

thanks for your reply

i actually just looked at the paypal ipn log before i did anything and i noticed that the last entry is April 11th – yet the payments that did not upgrade the people to a member are from june and july.

so …. obviously there are problems….. i just don’t know how to fix them!

i am wondering if it is due to updating wordpress ???

Posted: Friday Apr 26th, 2013 at 11:32 am #48499
lisa carr
Username: pageadmin

Hi Bruce,

Yes i do have the safeguards set……

Posted: Tuesday Apr 2nd, 2013 at 11:19 am #46390
lisa carr
Username: pageadmin

Hi Cristian

here is the transcation# and date:
Mar 30, 2013 05:47:09 PDT
Transaction ID: 7UY38838W8896044D

it was for:
Individual 1 year membership / $35
Item #: 1::1 Y
Originating Domain: http://www.giftedpage.org, Customer IP Address: 70.199.2.93

i can also provide you with the person’s name and email if yo want…just let me know!

thanks!

Posted: Monday Apr 1st, 2013 at 9:36 am #46273
lisa carr
Username: pageadmin

Hi Cristian

It happened again. Do you still have login info for this or do you want me to PM you again?
the person paid through paypal for membership – but we did not receive a wordpress notice and she did not appear in the s2 database…..

please let me know what you need – thanks!

Posted: Monday Mar 18th, 2013 at 6:56 pm #45082
lisa carr
Username: pageadmin

sorry Cristian – i just enabled it. thanks for your help!

Posted: Thursday Mar 14th, 2013 at 5:29 pm #44650
lisa carr
Username: pageadmin

Hi Cristian
i sent you a pm – with the login info.
the person who recently had trouble – paid for a membership, clicked the button to register for access to the site and was taken to the homepage (or so she said).
she never saw the registration form….i sent her name in the private message

thanks for any help you could provide!

Posted: Tuesday Mar 12th, 2013 at 2:33 pm #44416
lisa carr
Username: pageadmin

i used the s2 button generator. the weird thing is that many of them go through and are fine, but some don’t.
here are a few levels:

[s2Member-PayPal-Button level="6" ccaps="" desc="Family 1 year member / $45" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.giftedpage.org" ta="0" tp="0" tt="D" ra="45." rp="1" rt="Y" rr="BN" rrt="" rra="1" image="default" output="button" /]

<h3>[divider style="solid"]Family 1 year member + NACG membership $61</h3>
Includes access for a family for 1 year to the PAGE member area, newsletters and publications. Special pricing to our annual PAGE conference PLUS a 1 year non-voting parent membership to the National Association for Gifted Children and 4 issues of <em>"Parenting for High Potential".</em>

[s2Member-PayPal-Button level="7" ccaps="" desc="Family 1 year member + NAGC membership / $61" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.giftedpage.org" ta="0" tp="0" tt="D" ra="61." rp="1" rt="Y" rr="BN" rrt="" rra="1" image="default" output="button" /]
Posted: Tuesday Mar 12th, 2013 at 2:20 pm #44413
lisa carr
Username: pageadmin

they are the standard

Posted: Wednesday Dec 12th, 2012 at 11:19 am #34384
lisa carr
Username: pageadmin

Cristian – i can’t believe i didn’t see that! thanks so much it did the trick!

Posted: Tuesday Dec 11th, 2012 at 11:34 am #34267
lisa carr
Username: pageadmin

Hi Cristian – thanks for your reply. The user profiles are existing accounts that, when i go in to edit the profile field, they won’t update. The profile field has been there since i made it awhile ago and i never noticed that it didn’t work until i actually tried to change someone’s profile (from east to west). I never get an error either, it seems like all is good until I go back into it and realize that indeed, it has defaulted back to the original (east).

so, i did a test after going through all the suggestions in the article (which all did not do the trick), I made another one which was generally the same and tried to change the variable in the pull-down. This one worked. The problem is, there are almost 800 members who have that “region” profile assigned and the new one that i made “region of pa” would obviously be not defined in all of their profiles because i just made it.

I also tried making it a mandatory field and tried again, no change! Any ideas on how to proceed???
thanks,
lisa

Posted: Monday Oct 22nd, 2012 at 11:42 am #29268
lisa carr
Username: pageadmin

Hi Christian,

you posted to modify the exports-in.inc.php file with this:
——————————–
function get_s2member_custom_fields($user_id = ”) {
$return = array();
$user = get_user_option(‘s2member_custom_fields’, $user_id);

foreach ((array)json_decode($GLOBALS[‘WS_PLUGIN__’][‘s2member’][‘o’][‘custom_reg_fields’], true) as $field) {
if (isset($user[$field[‘id’]])) {
$return[$field[‘id’]][‘label’] = $field[‘label’];

if (empty($field[‘options’]))
$return[$field[‘id’]][‘value’] = $user[$field[‘id’]];
else {
$field[‘options’] = strpos($field[‘options’], “\n”) ? explode(“\n”, $field[‘options’]) : (array)$field[‘options’];
foreach ($field[‘options’] as $option) {
$option = explode(‘|’, $option);
$options[$option[0]] = $option[1];
}
foreach ((array)$user[$field[‘id’]] as $choice)
$return[$field[‘id’]][‘options’][$choice] = $options[$choice];
}
}
}
return $return;
}

—————————-

Keeping in mind that i do not know php…..when i opened the file up, there were 290 lines of code. I am at a loss as to where i would add this without messing things up!
Where exactly does it go?

here’s what my file looks like:

= 1) ? $start : 1; /* Must be 1 or higher. */
$sql_s = ($start === 1) ? 0 : $start; /* 1 should be 0. */
/**/
$export = “”; /* Initialize the export file variable. */
/**/
$s2map = array ( /* Map s2Member fields. */
“custom” => $wpdb->prefix . “s2member_custom”,/**/
“subscr_id” => $wpdb->prefix . “s2member_subscr_id”,/**/
“subscr_gateway” => $wpdb->prefix . “s2member_subscr_gateway”,/**/
“auto_eot_time” => $wpdb->prefix . “s2member_auto_eot_time”,/**/
“last_payment_time” => $wpdb->prefix . “s2member_last_payment_time”,/**/
“paid_registration_times” => $wpdb->prefix . “s2member_paid_registration_times”,/**/
“custom_fields” => $wpdb->prefix . “s2member_custom_fields”);
/**/
if (is_array ($_users = $wpdb->get_results (“SELECT `” . $wpdb->users . “`.`ID` FROM `” . $wpdb->users . “`, `” . $wpdb->usermeta . “` WHERE `” . $wpdb->users . “`.`ID` = `” . $wpdb->usermeta . “`.`user_id` AND `” . $wpdb->usermeta . “`.`meta_key` = ‘” . esc_sql ($wpdb->prefix . “capabilities”) . “‘ LIMIT ” . $sql_s . “, 250″)))
{
if (is_multisite () && c_ws_plugin__s2member_utils_conds::is_multisite_farm () && !is_main_site ())
$export .= ‘”ID”,”Username”,”First Name”,”Last Name”,”Display Name”,”Email”,”Website”,”Role”,”Custom Capabilities”,”Registration Date”,”First Payment Date”,”Last Payment Date”,”Auto-EOT Date”,”Custom Value”,”Paid Subscr. ID”,”Paid Subscr. Gateway”‘ . “\n”;
else /* Otherwise, we use the standardized format for exportation.*/
$export .= ‘”ID”,”Username”,”Password”,”First Name”,”Last Name”,”Display Name”,”Email”,”Website”,”Role”,”Custom Capabilities”,”Registration Date”,”First Payment Date”,”Last Payment Date”,”Auto-EOT Date”,”Custom Value”,”Paid Subscr. ID”,”Paid Subscr. Gateway”‘ . “\n”;
/**/
foreach ($_users as $_user) /* Go through each User/Member in this result set. */
{
if (is_object ($user = new WP_User ($_user->ID)) && $user->ID)
{
$custom_capabilities = “”; /* Reset each time. */
/**/
foreach ($user->allcaps as $cap => $cap_enabled)
if (preg_match (“/^access_s2member_ccap_/”, $cap))
if ($cap = preg_replace (“/^access_s2member_ccap_/”, “”, $cap))
$custom_capabilities .= “,” . $cap;
/**/
$custom_capabilities = trim ($custom_capabilities, “,”);
/**/
$custom = (isset ($user->$s2map[“custom”])) ? $user->$s2map[“custom”] : “”;
$subscr_id = (isset ($user->$s2map[“subscr_id”])) ? $user->$s2map[“subscr_id”] : “”;
$subscr_gateway = (isset ($user->$s2map[“subscr_gateway”])) ? $user->$s2map[“subscr_gateway”] : “”;
/**/
$auto_eot_time = (isset ($user->$s2map[“auto_eot_time”])) ? $user->$s2map[“auto_eot_time”] : “”;
$last_payment_time = (isset ($user->$s2map[“last_payment_time”])) ? $user->$s2map[“last_payment_time”] : “”;
$paid_registration_times = (isset ($user->$s2map[“paid_registration_times”])) ? $user->$s2map[“paid_registration_times”] : “”;
$custom_fields = (isset ($user->$s2map[“custom_fields”]) && is_array ($user->$s2map[“custom_fields”])) ? $user->$s2map[“custom_fields”] : array ();
/**/
$paid_registration_date = ($paid_registration_times[“level”]) ? date (“m/d/Y”, $paid_registration_times[“level”]) : “”;
$paid_registration_times = (is_array ($paid_registration_times) && !empty ($paid_registration_times)) ? serialize ($paid_registration_times) : “”;
$registration_date = ($user->user_registered) ? date (“m/d/Y”, strtotime ($user->user_registered)) : “”;
$last_payment_date = ($last_payment_time) ? date (“m/d/Y”, $last_payment_time) : “”;
$auto_eot_date = ($auto_eot_time) ? date (“m/d/Y”, $auto_eot_time) : “”;
/**/
ksort ($custom_fields); /* Make sure Custom Fields are always in the same order.
This provides clarity/uniformity in the export file. */
/**/
if (is_multisite () && c_ws_plugin__s2member_utils_conds::is_multisite_farm () && !is_main_site ())
{
if ($format === “readable”) /* Human readable format; easier for some. */
{
$line = ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->ID) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_login) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->first_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->last_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->display_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_email) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_url) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq (reset ($user->roles)) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_capabilities) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($registration_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($paid_registration_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($last_payment_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($auto_eot_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_id) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_gateway) . ‘”,’;
/**/
foreach ($custom_fields as $custom_field_var => $custom_field_value)
{
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_field_var) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq /* Implode array? */
(implode (“|”, (array)$custom_field_value)) . ‘”,’;
}
}
else /* Otherwise, we can just use the default re-importation format. */
{
$line = ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->ID) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_login) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->first_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->last_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->display_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_email) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_url) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq (reset ($user->roles)) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_capabilities) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($registration_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($paid_registration_times) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($last_payment_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($auto_eot_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_id) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_gateway) . ‘”,’;
/**/
foreach ($custom_fields as $custom_field_var => $custom_field_value)
{
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_field_var) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq /* Serialize? */
(maybe_serialize ($custom_field_value)) . ‘”,’;
}
}
}
else /* Otherwise, we use the standardized formats for exportation.*/
{
if ($format === “readable”) /* Human readable format; easier for some. */
{
$line = ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->ID) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_login) . ‘”,’;
$line .= ‘””,’; /* The Password field is left blank on export. */
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->first_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->last_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->display_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_email) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_url) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq (reset ($user->roles)) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_capabilities) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($registration_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($paid_registration_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($last_payment_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($auto_eot_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_id) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_gateway) . ‘”,’;
/**/
foreach ($custom_fields as $custom_field_var => $custom_field_value)
{
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_field_var) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq /* Implode array? */
(implode (“|”, (array)$custom_field_value)) . ‘”,’;
}
}
else /* Otherwise, we can just use the default re-importation format. */
{
$line = ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->ID) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_login) . ‘”,’;
$line .= ‘””,’; /* The Password field is left blank on export. */
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->first_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->last_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->display_name) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_email) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($user->user_url) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq (reset ($user->roles)) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_capabilities) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($registration_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($paid_registration_times) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($last_payment_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($auto_eot_date) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_id) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($subscr_gateway) . ‘”,’;
/**/
foreach ($custom_fields as $custom_field_var => $custom_field_value)
{
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq ($custom_field_var) . ‘”,’;
$line .= ‘”‘ . c_ws_plugin__s2member_utils_strings::esc_dq /* Serialize? */
(maybe_serialize ($custom_field_value)) . ‘”,’;
}
}
}
/**/
$export .= trim ($line, ” \r\n\t\x0B,”) . “\n”;
}
}
}
/**/
status_header (200); /* 200 OK status header. */
/**/
header (“Content-Encoding:”);
header (“Accept-Ranges: none”);
header (“Content-Type: text/csv; charset=utf-8”);
header (“Content-Length: ” . strlen ($export));
header (“Expires: ” . gmdate (“D, d M Y H:i:s”, strtotime (“-1 week”)) . ” GMT”);
header (“Last-Modified: ” . gmdate (“D, d M Y H:i:s”) . ” GMT”);
header (“Cache-Control: no-cache, must-revalidate, max-age=0”);
header (“Cache-Control: post-check=0, pre-check=0”, false);
header (“Pragma: no-cache”);
/**/
header (‘Content-Disposition: attachment; filename=”export-‘ . $start . ‘-‘ . ($start + 249) . ‘.csv”‘);
/**/
exit ($export); /* Exportation file. */
}
}
/**
* Handles the exportation of options.
*
* @package s2Member\Exports
* @since 110815
*
* @return null Or exits script execution after issuing file download prompt with TXT file.
*/
public static function export_ops ()
{
if (!empty ($_GET[“ws_plugin__s2member_pro_export_ops”]) && ($nonce = $_GET[“ws_plugin__s2member_pro_export_ops”]) && wp_verify_nonce ($nonce, “ws-plugin–s2member-pro-export-ops”) && current_user_can (“create_users”))
{
$export = serialize (c_ws_plugin__s2member_pro_utils_ops::op_replace ($GLOBALS[“WS_PLUGIN__”][“s2member”][“o”]));
/**/
@set_time_limit (0) . @ini_set (“memory_limit”, apply_filters (“admin_memory_limit”, WP_MAX_MEMORY_LIMIT));
@ini_set (“zlib.output_compression”, 0) . eval (‘while (@ob_end_clean ());’);
/**/
status_header (200); /* 200 OK status header. */
/**/
header (“Content-Encoding:”);
header (“Accept-Ranges: none”);
header (“Content-Type: text/plain; charset=utf-8”);
header (“Content-Length: ” . strlen ($export));
header (“Expires: ” . gmdate (“D, d M Y H:i:s”, strtotime (“-1 week”)) . ” GMT”);
header (“Last-Modified: ” . gmdate (“D, d M Y H:i:s”) . ” GMT”);
header (“Cache-Control: no-cache, must-revalidate, max-age=0”);
header (“Cache-Control: post-check=0, pre-check=0”, false);
header (“Pragma: no-cache”);
/**/
header (‘Content-Disposition: attachment; filename=”export.s2e”‘);
/**/
exit ($export); /* Exportation file. */
}
}
}
}
?>

Posted: Wednesday Sep 12th, 2012 at 9:00 am #25008
lisa carr
Username: pageadmin

Hi Cristian,

Yes, i did set the S2 options to collect first and last names during registration. And it looks like the person registered through the site and paid through paypal – but there is no record of this person in the S2 users area at all. I’ve searched for their email and N/A – because that’s all the info that i got from the Paypal email.
I went into the Paypal acct and it lists the name as N/A as well….the only extra info i was able to get in the Paypal acct was a company profile with a web address.
I’ve tried emailing the person with no reply as of yet……

If a person registers through the S2 form, and the first and last names (as well as the address) are required, how could it not transfer to the user section?

Viewing 25 replies - 1 through 25 (of 38 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.