Simple Membership Plugin › Forums › Simple Membership Plugin › Some Membership Levels not allowing access "This content is not permitted…
- This topic has 5 replies, 2 voices, and was last updated 8 years, 11 months ago by
mbrsolution.
-
AuthorPosts
-
April 27, 2017 at 2:09 pm #10830
hunterbevan
ParticipantGot a site where clients customers can download updates to their software. There are several membership levels which allow access to downloads for a set period – “Evaluation”, “Lease – 12 months”, “Evaluation-3months”, “Evaluation-2 months”.
If I set a customer to “Evaluation-3months” OR “Evaluation-2 months” it won’t let them in – even though they’ve only just been created as Members on the system. They login and get the message “This content is not permitted for your membership level.”
I’ve tried changing the expiry to 52 weeks instead of 8 but still no joy.
If I set the Member to one of the other Levels it works fine but just not with these new ones I created.
Any suggestions?
April 27, 2017 at 11:45 pm #10832mbrsolution
ModeratorHi, can you share the steps you tooked when you created these new levels that are not working for you. This will help me pin point the issue.
Regards
April 28, 2017 at 9:13 am #10834hunterbevan
ParticipantHi. Went to WordPress Membership > Membership Levels and then used the button “Add New”. Gave the level a name “Evaluation-2 months”, set the default WordPress role to “Client (Read Only)” – which is just the Subscriber role renamed. Set the Access Duration to expire after 2 months and set the Redirection Page to the client area page.
April 28, 2017 at 9:28 am #10835hunterbevan
ParticipantLooking at the table “_swpm_membership_tbl” in the database I can see some inconsistencies…
For the two problem levels the page_list field is set to “a:0:{}” All the other ones are “a:2:{i:0;i:941;i:1;i:2566;}”
Also for these two the post_list field is “N;” and all the others are “a:0:{}”
April 28, 2017 at 9:41 am #10836hunterbevan
ParticipantI’ve changed the fields in the database to match the others and the memberships now work correctly.
However, adding a new Membership level in the backend sets subscription_unit, loginredirect_page, category_list, page_list, post_list, comment_list, attachment_list, custom_post_list, disable_post_list, disable_bookmark_list and options to “NULL” and so doesn’t work.
April 29, 2017 at 2:22 am #10840mbrsolution
ModeratorHi, your issue is very strange. Please carry out the following troubleshooting steps. Report back with the outcome.
If the troubleshooting steps don’t work for you can you reinstall the plugin again.
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.