Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approval message for Blocks or Shortcode for users awaiting approval. #192

Open
kimwhite opened this issue Sep 9, 2024 · 0 comments
Open

Comments

@kimwhite
Copy link
Contributor

kimwhite commented Sep 9, 2024

Describe the bug

BLOCKS:
A user awaiting approval can see member content in a block using the Enable content visibility for this block for members.
and no longer see content for non-members.

SHORTCODE:
When using the [membership level="0"] or [membership level="1,2,3"] shortcode,
while waiting for approval, the users see nothing. This can make the page blank.

To Reproduce

Steps to reproduce BLOCK behavior:

  1. create a page or post using with two paraphrase blocks
  2. Show one block to All Members and hide the other from All Members.
  3. Sign up with level requiring approval
  4. See Members Only Content

Steps to reproduce SHORTCODE behavior:

  1. create a page or post using two shortcodes. (most often this is a site using a page builder).
    [membership level="1,2,3,4,5,6"]Will only show up for Members.[/membership]
    and
    [membership level="0"]This is what non-members will see.[/membership]
  2. Sign up with a level requiring approval
  3. See nothing.

Screenshots
If applicable, please attach a screenshot to make your issue clearer.

Expected behavior
Users awaiting Approval should see an approval message on the page.

Isolating the problem (mark completed items with an [x]):

  • [ x] I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
  • [x ] This bug happens with a default WordPress theme active, or Memberlite.
  • [ x] I can reproduce this bug consistently using the steps above.

WordPress Environment

``` Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, Paid Memberships Pro and any related plugins versions. ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant