• Resolved dmokaren

    (@dmokaren)


    Hi –
    I capture members addresses when they sign up, which displays when I select ‘Members List’ from the Memberships drop down. Lately though (about a month), new member addresses are not displaying though previous members’ addresses are. If I click on the user name, I get taken to the user profile which has captured their address. Does anyone know how to display new user addresses in the Members List?

    TIA for any info!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @dmokaren,

    Thank you for using Paid Memberships Pro.

    Was anything recently changed when you noticed this issue? Such as any new plugins added to your site?

    Are you using an Add On to capture the user’s addresses or are these done by default with the payment gateway?

    By default, the billing fields should show within the Member List table next to each member.

    Thread Starter dmokaren

    (@dmokaren)

    I am using an add on to capture addresses. Somehow it did get deleted when this started, but I quickly realized it was gone and I replaced it. When I first used the add on back in 2013, I don’t remember using the PMPro customizations plugin, but I installed that when I replaced the address add on. The fields show thru the checkout process and the data gets added to the users profile, but doesn’t display in the members list.

    Thanks for the reply.

    Plugin Author Andrew Lima

    (@andrewza)

    That’s strange.

    Are you using the Register Helper Add On?

    Would you mind sharing (non-sensitive) field’s code on how you add the billing fields to your Paid Memberships Pro site?

    It’s possible that the custom fields aren’t quite matching that of the required billing fields that Paid Memberships Pro uses by default.

    Also what payment gateway are you using for checkout?

    Sorry for all these questions.

    Thread Starter dmokaren

    (@dmokaren)

    I do have register helper, though it says it’s not compatible with WP current build…. Payment Gateway is PayPal express.

    I have a pmpro-customizations folder with a pmpro-customizations.php file which contains the following code that I got from Jason years ago:

    <?php
    /*
    Plugin Name: PMPro Customizations
    Plugin URI: https://www.paidmembershipspro.com/wp/pmpro-customizations/
    Description: Customizations for my Paid Memberships Pro Setup
    Version: .1
    Author: Paid Memberships Pro
    Author URI: https://www.paidmembershipspro.com
    */

    //Now start placing your customization code below this line
    function my_pmpro_fields()
    {
    $fields = array();
    $fields[] = new PMProRH_Field(“first_name”, “text”, array(“size”=>40, “label”=>”First Name”, “profile”=>true, “required”=>true));
    $fields[] = new PMProRH_Field(“last_name”, “text”, array(“size”=>40, “label”=>”Last Name”, “profile”=>true, “required”=>true));
    $fields[] = new PMProRH_Field(“address1”, “text”, array(“size”=>40, “label”=>”Address 1”, “profile”=>true, “required”=>true));
    $fields[] = new PMProRH_Field(“address2”, “text”, array(“size”=>40, “label”=>”Address 2”, “profile”=>true, “required”=>true));
    $fields[] = new PMProRH_Field(“city”, “text”, array(“size”=>40, “label”=>”City”, “profile”=>true, “required”=>true));
    $fields[] = new PMProRH_Field(“state”, “text”, array(“size”=>40, “label”=>”State”, “profile”=>true, “required”=>true));
    $fields[] = new PMProRH_Field(“zip”, “text”, array(“size”=>40, “label”=>”Zip”, “profile”=>true, “required”=>true));

    foreach($fields as $field)
    pmprorh_add_registration_field(“after_password”, $field);
    }
    add_action(“init”, “my_pmpro_fields”);
    ?>

    Thread Starter dmokaren

    (@dmokaren)

    actually, I looked back thru my files back in 2013 and Jason followed up with:

    The first and last name should show up.

    The billing address won’t. If the fields you are getting at checkout are the “billing address”, you can change the field names to

    pmpro_baddress1
    pmpro_baddress2
    pmpro_bcity
    pmpro_bstate
    pmpro_bzipcode
    pmpro_bcountry
    pmpro_bphone

    and they will be used in that report.

    Do you agree??

    Thanks again for your help!

    Thread Starter dmokaren

    (@dmokaren)

    Hey now….
    The fix is changing the text fields inside the parens from “address1” to “pmpro_baddress1”, “address2” to “pmpro_baddress2” etc. throughout the php script. I went down to “pmpro_bzipcode” as I don’t need country or phone.

    I created a fake membership and everything shows in the MembersList, tho it didn’t update the few folks that became members during the incorrect php customizations.

    Thanks to all for your help!

    Plugin Author Andrew Lima

    (@andrewza)

    I hope you’ve had a great weekend ??

    This won’t update existing user’s as their data is linked to the metakey “address1” for example.

    User’s will need to adjust their billing details again or this should auto-populate during checkout of renewals and/or new signups.

    It may be possible to migrate the data from “address1” to “pmpro_baddress1” using an import user tool (as this is stored in usermeta).

    I hope this helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Members List not showing Addresses’ is closed to new replies.