Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Partial Page Content Protection Not Working
- This topic has 5 replies, 2 voices, and was last updated 13 years, 6 months ago by amin007.
-
AuthorPosts
-
May 9, 2011 at 11:29 pm #3361lkincaMember
I have a PayPal subscription option on my site and want to require users to log in before accessing. I am following a suggestion by amin in another post to set up partial page content protection to ensure that only logged in members can see the subscribe buttons. I got shortcodes from the docs and came up with the to display different messages to logged in users and not logged in users, however not logged in users are seeing neither of the content sections and logged in users are seeing both.
Am I using this the wrong way?
[emember_protected scope=not_logged_in_users_only]
In order to facilitate instant account set up, you must be logged in before you can set up a trial or new subscription. If you already have an account, please log in below. Otherwise, click ‘Join Us’ below.
[wp_eMember_login_form:end]
[/emember_protected]
[emember_protected scope=verified_users_only]
Please choose from among the following subscription options.
[wp_eStore_subscribe_fancy id=1]
[wp_eStore_subscribe_fancy id=2]
[wp_eStore_subscribe_fancy id=3]
[/emember_protected]
I have verified that the eMember Content protection for this page is set to ‘No do not protect content’.
Any ideas?
May 10, 2011 at 1:14 am #32230amin007ParticipantThe “not_logged_in_users_only” scope was recently added to the plugin. Did you upgrade the plugin with a recent build from here?
May 10, 2011 at 2:21 am #32231lkincaMemberI had updated a week or two ago. I just ran a new update (deactivate, upload, reactivate) which put me at v 6.4.3, but it is still not working. Is that the latest version?
May 10, 2011 at 3:55 am #32232amin007ParticipantYeah you should be find with that version. I tested the content you are using and it works as expected on my test site. The only possibility is the following:
You have two copies of the WP eMember plugin lying around on your server. Some people tend to upload a new copy of the plugin at upgrade time without deleting the old copy (even though the instruction says to delete the old copy of the plugin). Do you have two versions of the eMember plugin in your plugins directory?
Do the following:
Go to the plugins directory and delete every trace of any eMember plugin (make sure the plugins directory is completely clean of eMember plugin). Then upload a fresh eMember version and test it out.
May 10, 2011 at 5:23 am #32233lkincaMemberThere was only one version. To make sure, I:
1. Deactivated plugin
2. FTP’d in and deleted the only WP eMember folder in the plugins folder
3. Installed latest version
4. Reactivated
Still no luck though.
By the way, I am pretty sure that the eStore upgrade instructions say to delete the plugin folder, but I don’t thing the eMember docs (http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-installation-upgrade-instructions-3) explicitly state that.
May 11, 2011 at 1:20 am #32234amin007ParticipantHmmm.. that is a little weird. Can you please post a link to this page in question?
Just to double check. You haven’t protected this post or page or it’s category from the “Manage Content Protection” menu, have you?
-
AuthorPosts
- You must be logged in to reply to this topic.