Viewing 8 replies - 1 through 8 (of 8 total)
  • There should be a Change / Cancel button where the membership information is displayed on the members profile on the membership-account/ page.

    and there should be a Cancel Page that was setup (membership-cancel/ ) In Memberships and Page Settings.

    You can Include the shortcode [pmpro_cancel] anywhere as well.

    Thread Starter Rick5150

    (@rick5150)

    Thank you. I do not see the cancel button.

    When I go to Memberships / Page Settings I can see the cancel page listed as “Membership Cancel”.

    If I click the edit button, it brings me to a page listed as Membership Cancel with the [pmpro_cancel]shortcode.

    But when I try to view the page it brings me to:

    https://www.mysite/membership-cancel/ which quickly redirects to:
    https://www.mysite/membership-levels/

    I logged in as a test member and eventually found the change button, but clicking it brings me back to the membership levels page as well.

    Then I made a test page with only the shortcode on it and previewed it and it brought me to the membership-levels page as well.

    Did I do something to screw up the code somehow? I have not intentionally altered it.

    is the settings page set right??

    There should be a Cancel Page that was setup (membership-cancel/ ) In Memberships and Page Settings.

    Thread Starter Rick5150

    (@rick5150)

    The settings look correct.

    The permalink is
    https://mysite/mysite-membership/membership-cancel/ (edited for privacy)

    The only thing on the cancel page is the shortcode of [pmpro_cancel]

    Like I said, it originally tries to go to the cancel page, then redirects to the membership-levels page.

    Ok let me run thru this

    in TML I have these ticked in the Modules area
    Enable Custom Redirection –
    Enabling this module will initialize custom redirection. You will then have to configure the settings via the “Redirection” tab.
    Enable Custom User Links –
    Enabling this module will initialize custom user links. You will then have to configure the settings via the “User Links” tab.

    Memberships – Page Settings are set as per this image
    Page Settings

    the only other thing I can think of at this stage is that maybe you have a redirection plugin or 404 plugin working.. Hoping you dont..

    Thread Starter Rick5150

    (@rick5150)

    Thank you Pete.

    What is TML?

    As far as page settings, it looks like the membership pages are the same, except my pages have upper case letters at the beginning of each word.

    Where yours says “membership cancel” mine says “Membership Cancel” but other than that, the same. My pages for the plugin reflect the same thing and have upper case letters matching my page settings.

    Theme My Login
    https://www.ads-software.com/plugins/theme-my-login/
    This plugin themes the WordPress login, registration and forgot password pages according to your current theme. It creates a page to use in place of wp-login.php, using a page template from your theme. Also includes a widget for sidebar login.

    all my code is in lower case. i.e. membership-cancel
    however if it is wording or a title on a page then that doesnt matter

    I see all this sort of code is lower case in PMPro, so best to stick to that, that way there is no confusion or errors within the coding.

    And to quote the Codex
    To quote the Codex – “Shortcode names should be all lowercase and use all letters, but numbers and underscores should work fine too. Be wary of using hyphens (dashes), you’ll be better off not using them. “
    https://codex.www.ads-software.com/Shortcode_API

    Thread Starter Rick5150

    (@rick5150)

    So if I do not have the TML plugin, it cannot be that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How does a member cancel their own account?’ is closed to new replies.