Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Your membership level does not allow you to view rest of content

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Your membership level does not allow you to view rest of content

Tagged: categories, category, eMember, fix, permission, posts, protection

  • This topic has 11 replies, 5 voices, and was last updated 15 years, 2 months ago by Ivy.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • January 25, 2010 at 11:03 pm #703
    manos_m
    Member

    The procedure goes:

    1) Select “General Protection” and check the checkboxes next to the pages that you want to protect.

    2) Hit the “Set Protection” button to protect these pages (this makes the pages not accessible).

    3) Now select the membership level that you want to give access to this page to and grant access accordingly.”

    When a member goes into categories, he can see the protected content (and of course all other free users can not). But when he goes to the first page (with the latest posts) he sees (even though he is logged in) “Your membership level does not allow you to view rest of content.”

    Why is that?

    January 26, 2010 at 5:26 am #17520
    Ivy
    Member

    Hi Manos, When the member is logged in what is his membership level? And for his membership level have you protected his post?

    Ivy

    January 28, 2010 at 10:48 am #17521
    manos_m
    Member

    I have protected the categories. It happens to all the membership levels. They can’t see the latest posts in the first page.

    January 29, 2010 at 6:27 am #17522
    Ivy
    Member

    Hi Manos, I emailed you asking for site access so we can troubleshoot this some more. Please let me know if you did not get the email.

    Ivy

    January 30, 2010 at 10:00 pm #17523
    manos_m
    Member

    I have received the email. I’m designing the website locally on my computer and it’s not online to give you access.

    February 27, 2010 at 10:40 pm #17524
    Jan Michalicka
    Member

    I’ve found this error too. There is a problem with missing check when you are using category permission, but not posts protection.

    Modify line 683 in wp_eMember1.php in function auth_check_post

    from

    if($perms->is_permitted_post($id))

    to

    if(!$perms->is_protected_post($id)||$perms->is_permitted_post($id))

    and then you dont need to set all posts as protected.

    Or set all posts as protected everytime you create a new post.

    I recommend to fix this problem directly in the next release of eMember.

    Could any admin provide a comment if this is a good solution?

    Thanks

    Jan

    February 27, 2010 at 10:48 pm #17525
    Jan Michalicka
    Member

    Maybe the similar problem could be with comments.

    If you don’t want to exaclty allow each comment,

    you could update line 790 in wp_eMember1.php from

    if($perms->is_permitted_comment($id))

    to

    if(!$perms->is_protected_comment($id)||$perms->is_permitted_comment($id))

    February 28, 2010 at 3:00 am #17526
    nur
    Member

    hey jan,

    our code structure is like:

    if($perms->is_protected_post($id))
    {
    ......../***more code *****/.........
    if($perms->is_permitted_post($id))
    {
    $return $content;
    }
    ......../***more code *****/..........
    }

    !$perms->is_protected_post($id) is just opposite of $perms->is_protected_post($id). so

    !$perms->is_protected_post($id) will always evaluate to false inside `

    if($perms->is_protected_post($id)){} code block. as a result, adding that condition to $perms->is_permitted_post($id) has no effect on the code flow.

    FYI in our codebase, line 683 doesn’t have the code u mentioned. which version r u using?

    Thanks

    ~NuR

    March 10, 2010 at 7:56 pm #17527
    renata
    Member

    I’m having this trouble too. After seeing the last post here, though, I’m unclear what the solution is. I’m using eMember v4.9.4 and WP2.9.2.

    I’ve protected Pages and Categories with General Protection. I’ve granted access to the Basic membership level to the individual Pages and Categories.

    When logged in as a Basic member, I can view the blog page, but receive the same “Your membership level does not allow you to view rest of content.” for the Posts.

    Any help is greatly appreciated. So, thanks.

    March 10, 2010 at 11:18 pm #17528
    Ivy
    Member

    Hi Renata,

    I emailed you regarding this issue. Please let me know if you do not receive the email.

    Cheers,

    Ivy

    March 12, 2010 at 3:13 am #17529
    renata
    Member

    Thanks for the speedy assistance and for the plug in update! It’s all working as expected now.

    You completely rock!

    renata

    March 12, 2010 at 4:23 am #17530
    Ivy
    Member

    I am glad everything is working now. If you need anything else please let me know.

    Cheers,

    Ivy

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ