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

Reply To: 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 › Reply To: Your membership level does not allow you to view rest of content

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

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