Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Inconsistent data recording

Simple Membership Plugin › Forums › Simple Membership Plugin › Inconsistent data recording

Tagged: member info, translation

  • This topic has 15 replies, 4 voices, and was last updated 6 years, 7 months ago by Marta.
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • April 28, 2019 at 8:21 am #18020
    michael_t
    Participant

    We’re creating a new user summary when a member logs in. There is an annoying “glitch” in the way data is stored:

    Data

    Is there a way that this can be amended so that the “member since field” displays the date as per the expiry date field?

    We’re using the short codes add on to display this data.

    Michael

    April 28, 2019 at 8:22 am #18021
    michael_t
    Participant

    9-A3880-A8-B81-D-4-D51-AD6-F-2-A694-CC2-C527

    May 3, 2019 at 7:46 pm #18109
    michael_t
    Participant

    Any suggestions?

    Regards,

    Michael

    May 4, 2019 at 6:55 am #18112
    mbrsolution
    Moderator

    Hi, are you using the Form Builder addon?

    Regards

    May 4, 2019 at 9:39 pm #18118
    michael_t
    Participant

    Hi, are you using the Form Builder addon?

    Yes, we are.

    Regards,

    Michael

    May 4, 2019 at 9:50 pm #18119
    mbrsolution
    Moderator

    Hi, please submit a premium addon support ticket.

    Thank you

    May 17, 2019 at 6:41 am #18236
    admin
    Keymaster

    I have updated the show members info addon to add a new parameter to show the member since date value in a formatted way according to your WordPress’s date format settings:
    https://simple-membership-plugin.com/simple-membership-addon-show-member-info/

    August 12, 2019 at 4:16 pm #18728
    Marta
    Participant

    Hi,

    I’m using the shortcode [swpm_show_member_info column=”member_since_formatted”] and my site and user are configured to Spanish, but I see the date in English.

    Could you please help?

    August 13, 2019 at 2:03 am #18737
    admin
    Keymaster

    The value comes directly from the database. Then it formats it according to the Date format you have set in your WordPress’s general settings. I don’t know how the date value can be shown in spanish. Don’t you have the spanish date format set in the WordPress’s general settings (for Date formatting)?

    August 13, 2019 at 3:52 pm #18741
    Marta
    Participant

    Hi,

    Yes, the rest of plugins show my dates in Spanish with no problem! It has to be something about Simple Membership plugin.

    My format is customized, “j F Y”.

    I hope you can help!

    Kind regards,
    Marta

    August 14, 2019 at 1:11 am #18745
    admin
    Keymaster

    I have just checked the code and it is definitely reading the date format from the settings menu of WordPress then applying the formatting before returning the value.

    I have just checked it myself and it is outputting the formatted date according to WP settings. For example, I have set the date format to be “F j, Y” in my WP date format settings. The addon is outputting the formatted date like the following (which is correct):

    March 27, 2019

    August 16, 2019 at 4:33 pm #18761
    Marta
    Participant

    Well… strangely, it appears in English, but that’s not the case for other plugins.

    For instance, on mujeressentadasencirculo.org/blog/, you can see my latest blog posts, and their dates appears in Spanish.

    Is there anything else we could investigate?

    Kind regards,
    Marta

    August 18, 2019 at 1:48 am #18781
    admin
    Keymaster

    I have updated the following addon with another change that should show the formatted date in your language:
    https://simple-membership-plugin.com/simple-membership-addon-show-member-info/

    Please download a new copy and use it.

    August 19, 2019 at 5:27 pm #18789
    Marta
    Participant

    Hi, this is working!! Many, many thanks!!

    Before I close this thread as solved, I have another request for this same plugin.

    Could you please also make translatable the information that the plugin provides about the member?

    For instance, I’m using expiry_date, and it says “No expiry”, which is in English.

    And I am using account_state, and it says “active”, which is in English too.

    It would be very appreciated! 🙂

    Marta

    August 20, 2019 at 3:26 am #18792
    admin
    Keymaster

    I have updated the addon so the “No Expiry” text is translatable. Now, the status of the member is actually the value of the database column that just gets shown. It is the raw value of the column. The best way to handle this is probably to customize that addon (or make a small new addon) to add additional conditions in there so it can output custom text based on the raw data it is reading from the database.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy