Membership plugin showing restricted content
-
I guess I’m going to be the slow one in the class, but I can’t seem to get Membership to work.
With a fresh install of WordPress, a clean database, an empty plugins folder (other than Membership) and no other plugins active, I created a post called “Restricted content” with the category of “restricted.”
I installed the Membership (lite) plugin.
I activated the Membership plugin.
I enabled Membership.
I did not create short codes because I only want to restrict content by categories. I’m wondering if that’s the problem.
I created a registration page, called Register, and added the short code: [subscriptionform].
I created an account page, called Account, and added the short code [accountform].
I turned off “Anyone can register” in WordPress Settings > General. (I also tried turning it back on later to see if that made a difference, and the answer was no.)
Under Edit Levels, I created a level by clicking “Add new” and giving it a name of Subscriber, then dragged “Categories” into the Positive Rules section and checked next to my category of “restricted.” I clicked Add.
On the Levels overview page, I activated the Subscriber level.
Under Edit Subscriptions, I clicked “Add new,” pulled in “Subscriber” and clicked “Add.” Honestly, I’m not sure what this step does, but I did it anyway.
In the Subscriptions overview page, I activated Subscriber.
In Edit Options, I set the registration page to the “Register” page and set the account page to the “Account” page. I set the protected content page to redirect to the “Register” page so if someone wasn’t signed in and they clicked on the one restricted page called “Restricted content,” they would go to the registration page.
I saved all my changes as I went.
In a different browser, where I wasn’t logged into the site, I called up the site, and it showed the full “Restricted” post on the home page. When I clicked on it, the “Restricted” post opened rather than the user being redirected to the registration page.
What step am I missing that I can’t keep unregistered users from reading this restricted post with the category “restricted?”
The URL is whinnymagazine.com.
Thanks in advance.
- The topic ‘Membership plugin showing restricted content’ is closed to new replies.