• Resolved Webfolio Webdesign

    (@webreneszansz)


    Hi,

    Please be so kind and let me know, how can I modify the pmpro_card_content for not logged in users:
    You must be a member to access this content.

    Unfotunately, we need more concrete text here.

    Thank you very much!

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to the Paid Memberships Pro team.

    Paid Memberships Pro v3.1 introduces a smartly generated message based on lots of conditions including whether the user is logged in, other Add Ons you have active in your site, the current user’s membership level, and the specific protection settings for the content being viewed.

    To make this message as accurate as possible for all these conditions, we removed the ability for sites to edit their protected content messages in Advanced Settings. We highly recommend that most membership sites do not customize this message and leave the optimized default message in place.

    For sites that had not customized the messages, you will not see a setting to make changes. We have a code recipe that can restore the field, but before we share that I’d like to know what you specifically want to adjust.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter Webfolio Webdesign

    (@webreneszansz)

    Hi,

    Thank you very much for the cooperation.

    We need to modify the . class content:
    You must be a member to access this content.

    Which is visible for not logged in users, in case of the restricted content.

    The reason is that we use this great pugin not only classic membership, this is another restricted content type for distributors, techers or parents in school websites (or in case of another pages for special website customer etc.), so this shot message with the expression of “member” is a very disturbing in a lot of cases.

    Please be so kind and let me know, how can I modifyy it.

    Additionally, as developer I strongly suggest to recover the original, flexible option to use taylor made messeges / texts within this plugin.

    Thank you very much for the help.
    KR,
    Andrea Hugyak

    Plugin Support Jarryd Long

    (@jarryd-long)

    Thank you for your feedback, Andrea.

    The pmpro_no_access_message_body filter can be used to change the wording of the no access message. More information on how this filter is used can be found in https://github.com/strangerstudios/paid-memberships-pro/blob/dev/includes/functions.php#L2156C28-L2156C56

    The pmpro_no_access_message_html filter is also available and can be found in https://github.com/strangerstudios/paid-memberships-pro/blob/dev/includes/functions.php#L2195

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Plugin Support Jarryd Long

    (@jarryd-long)

    Because there have not been any recent updates to this topic, we will be changing the status to resolved. If you have any other questions regarding this issue please start a new topic for each question to ensure we can provide the best support possible.

    If you’re enjoying Paid Memberships Pro, would you mind rating it 5-stars to help spread the word? https://www.ads-software.com/support/plugin/paid-memberships-pro/reviews/

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter Webfolio Webdesign

    (@webreneszansz)

    Hi,

    Thanky ou very much, I checked both options, but I am still not sure, unfortunately, how can I change this sentence.

    Thanky ou very much!

    Plugin Support Jarryd Long

    (@jarryd-long)

    Here’s a sample code recipe of hooking into the pmpro_no_access_message_body filter that you can use to get started:

    https://gist.github.com/dwanjuki/e1d393e0ad506acacc8f724324160269

    Be sure to change line 28 to the wording of your preference.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter Webfolio Webdesign

    (@webreneszansz)

    Hi,

    Thank you very much for the help, I really appreace it.

    I will try it!

    Plugin Support Jarryd Long

    (@jarryd-long)

    Only a pleasure, feel free to reach out if there’s anything else we can assist you with.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.