October 5, 2011 at 1:18 pm #4482martinMember
I am setting up membership access to a once a week blog post and audio download. Is it possible to have two levels of access – one for weekly access and the other for fortnightly – with the latter only ever seeing the content posted every second week?
Basically, I don’t want someone with fortnightly access to see the other material (in the ‘archive’ or ‘recent posts’ sections, for example) and be constantly being told ‘you have to upgrade to view this’ etc., I would just like them to only see every second week’s content.
Any ideas would be great, thanks
MartinOctober 6, 2011 at 4:11 am #37332adminKeymaster
By default, eMember will do the following:
All the blog entries are visible to the users but the user who do not have access to a post won’t be able to see the actual content. They will get a message that tells them that this content is not available to them unless the account is upgraded.
Now, You want to modify this behavior so that the blog entries are not even shown to the users who do not have access to it. When a user logs in he only sees the blog entries that he has access to.
To achieve this you will need to modify the template file of your theme that shows your blog entries. You need to add condition around WordPress loop that displays the blog entries and make it so only a member with correct level will see the entry. WP eMember has functions/methods that you can use to find out various details of the user who is accessing the content. This will help you in accomplishing this customization. This documentation will explain the functions that I am talking about:
Here is another blog post with a similar solution:October 6, 2011 at 7:40 am #37333martinMember
Thanks for the quick response. That’s a little bit beyond my skills so I’d need to pay to have someone do that for me, would you do this sort of thing and if so how much would you charge once the site is more fully developed?
MartinOctober 6, 2011 at 10:56 pm #37334
- You must be logged in to reply to this topic.