• I set up a new Membership Level that I set a user to while we await email confirmation named “Awaiting Confirmation”.

    I have the “Check to hide this level from the membership levels page and disable registration” checked for the level. It doesn’t show up for NEW signups, however, I can see it if I go to the “Change Membership Level” member link. Is this intended?

    https://www.ads-software.com/plugins/paid-memberships-pro/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hey there,

    No, that is not intended. Unfortunately, I can’t recreate the error on my dev setup. Do you have any addons/custom code installed? You might want to try deactivating your plugins one by one and/or switching to a default WordPress theme such as twentyfourteen to try to isolate the issue.

    If you want, we can also take a look at your site if you sign up for PMPro membership and post on our member support forums.

    Thanks,
    Jess

    Thread Starter icyplains

    (@icyplains)

    I’ll try deactivating some plugins.

    Below are some screenshots so you can see what I have set up.

    Screenshot 2

    Screenshot 1

    Thread Starter icyplains

    (@icyplains)

    Looks like it has something to do with my theme.

    Thread Starter icyplains

    (@icyplains)

    I did a little more digging and narrowed it down this line of code I’m using:

    $has_membership = pmpro_hasMembershipLevel(6);

    Level 6 is that “hidden” level. I tried sticking the line above in the levels.php page after line 8. This is causing the hidden row to appear for me.

    Thread Starter icyplains

    (@icyplains)

    I should also add that I tried the above will all plugins disabled (except for PMPro) and using the 2014 theme.

    Is there a reason you have that code in there? Are you trying to do something with the levels template?

    Thread Starter icyplains

    (@icyplains)

    I was just trying to narrow it down by putting that line in there. I was checking for that in my functions.php, but by disabling all plugins along with my functions.php and moving that line into that page (levels.php) I was able to see that it happens in only the plugin if that makes sense.

    Is the problem resolved? It sounds like you figured it out, correct?

    Thread Starter icyplains

    (@icyplains)

    I had to do this instead:

    $_not_has_membership = !pmpro_hasMembershipLevel(1,2,3,4,5,7);

    I believe there is still an underlying issue with PMPro though.

    Plugin Author Jason Coleman

    (@strangerstudios)

    Icy, are you running the latest version of the plugin? We fixed something related to this a few versions back.

    Thread Starter icyplains

    (@icyplains)

    I’m running Version 1.7.13.1.

    I just reverted my code to see if it was still doing the same thing – and it is.

    If you want, we can log in and take a look at your site and code if you become a PMPro member and post on the member forums.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Hidden Level – not always hidden’ is closed to new replies.