4 pointsGetting my WPMU DEV WingsI'm new here
intellisites
Member
—
14th December 2011 (5 months ago)
I have the default access level set to a level I call "disabled access", so guests are treated as such. When I add a negative rule of pages, for all of them or none of them, I can still view the page as a user with disabled access. I used a snippet and it's definitely recognizing the users role as "disabled access":
$membershipPlugin = new M_Membership(get_current_user_id());
var_dump($membershipPlugin->on_level(3));
So I'm unsure why it's not even recognizing the disabled access.
I have the default access level set to a level I call "disabled access", so guests are treated as such. When I add a negative rule of pages, for all of them or none of them, I can still view the page as a user with disabled access. I used a snippet and it's definitely recognizing the users role as "disabled access":
$membershipPlugin = new M_Membership(get_current_user_id());
var_dump($membershipPlugin->on_level(3));
So I'm unsure why it's not even recognizing the disabled access.
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
14th December 2011 (5 months ago)
#
Hi intellisites,
There was a recent update to coincide with the WordPress 3.3 update. Are you using that version, along with WP 3.3 and if not, is there any chance you could upgrade to see how that works for you?
If not, could you maybe try moving the Page rule to the positive section and inverting your ticked items to see how that works for you?
I'm going through some tests over here as well, but just wanted to check on these few items first off.
I did update both Wordpress and Membership, however the same issue still occurs. Inverting did nothing, at this point I have a test post with a positive rule for access level "Organization General Manager" and a negative rule for access level "Disabled Access". Is it possible it's hooking into something that's usually in templates but isn't in mine? The only hooking I saw was mostly with pre_get_posts.
The boolean var dump of true/false is whether or not you're on access level 3, which is the ID of "Disabled Access". It dumps false for not logged in users, I can log in and make it turn true and still see the page though. To my knowledge it should be true for not logged in users based on this screenshot, correct? http://screencast.com/t/HlhlN3Fyv3C
Sorry for throwing a lot out there, I just don't want to have to custom program this functionality if it's built in, which it seems to be.
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
19th January 2012 (4 months ago)
#
Hiya intellisites,
We have a massive update coming to the membership plugin. I'll ask the developer to take a look at this with you, but the next update will streamline the setup process immensely. It's currently in the works and we hope to have it out as quickly as possible.
Again, I'll ask the developer to chime in here though.
Can you pop up a sceenshot of the level that isn't working correctly? As @masonjames says, we have a huge update in the works at the moment which will hopefully solve a lot of issues.
7257 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Support Chimp
—
29th January 2012 (3 months ago)
#
Hey there! :-)
Just checking in to see how things are going with this one and if you need any further help. :-)
We haven't heard from you on this thread for a while, perhaps you got help over our email. I'm going to presume your all fixed up now and don't need any further assistance.
However if you have more questions or need some more help then please feel free to respond in this thread or create a new one and we will be more than happy to offer assistance. :-)
Responses (6)
WPMU DEV Fanatic — 14th December 2011 (5 months ago) #
Hi intellisites,
There was a recent update to coincide with the WordPress 3.3 update. Are you using that version, along with WP 3.3 and if not, is there any chance you could upgrade to see how that works for you?
If not, could you maybe try moving the Page rule to the positive section and inverting your ticked items to see how that works for you?
I'm going through some tests over here as well, but just wanted to check on these few items first off.
Thanks,
David
Member — 15th December 2011 (5 months ago) #
Hi David,
I did update both Wordpress and Membership, however the same issue still occurs. Inverting did nothing, at this point I have a test post with a positive rule for access level "Organization General Manager" and a negative rule for access level "Disabled Access". Is it possible it's hooking into something that's usually in templates but isn't in mine? The only hooking I saw was mostly with pre_get_posts.
Also, I have all guests treated as "Disabled Access", so really no one should be able to view the post located here:
http://test.nysba.intelli-dev.com/2011/12/test-post/
The boolean var dump of true/false is whether or not you're on access level 3, which is the ID of "Disabled Access". It dumps false for not logged in users, I can log in and make it turn true and still see the page though. To my knowledge it should be true for not logged in users based on this screenshot, correct?
http://screencast.com/t/HlhlN3Fyv3C
Sorry for throwing a lot out there, I just don't want to have to custom program this functionality if it's built in, which it seems to be.
Thanks for the help!
Member — 20th December 2011 (5 months ago) #
Is there any update on this?
Sales & Support Lead — 19th January 2012 (4 months ago) #
Hiya intellisites,
We have a massive update coming to the membership plugin. I'll ask the developer to take a look at this with you, but the next update will streamline the setup process immensely. It's currently in the works and we hope to have it out as quickly as possible.
Again, I'll ask the developer to chime in here though.
Thanks!
Developer — 19th January 2012 (4 months ago) #
Can you pop up a sceenshot of the level that isn't working correctly? As @masonjames says, we have a huge update in the works at the moment which will hopefully solve a lot of issues.
Support Chimp — 29th January 2012 (3 months ago) #
Hey there! :-)
Just checking in to see how things are going with this one and if you need any further help. :-)
We haven't heard from you on this thread for a while, perhaps you got help over our email. I'm going to presume your all fixed up now and don't need any further assistance.
However if you have more questions or need some more help then please feel free to respond in this thread or create a new one and we will be more than happy to offer assistance. :-)
Take care.
Become a member