This topic contains 11 replies, has 2 voices. Last updated by Raam Dev 4 years, 9 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Mar 14th, 2012 at 1:23 pm #8121 | |
Hi I’m just coming to the end of my first membership site project, and I have to say I totally love S2Member Pro. And now here is the but… I have it working well for everything except tags. Category views, menus and search results all respect the membership levels in terms of what they display on the listing page – i.e search results only show posts for the logged in member level, menus only show options for the correct member levels and category pages only show allowed categories for a given member level. Great stuff. Where it has all fallen apart is in the tag. I am allowing the use of tags to give more freedom to sub-categorization of resources, and when I click on a tag and access tag.php I see all posts tagged with that tag, irrespective of membership level restrictions in force through categories. Tags will be pretty freeform, so restricting by specific tags will be impossible. What I have tried to do was put a filter on before the loop to restrict the view by categories, so any tagged posts shown will have to be from an accessible category. But that didn’t work at all. It works in so far as a user without sufficient access rights can’t access teh post itself, but they see it listed. I only want the tag archive to show posts that a particular user has the right to view. HOw can I do this without having to restrict by specific tags. Or, indeed, can I do it? If you need to see it in action I can set you up as a user for each of the 2 membership levels and PM you the details. Thanks in advance Andy Andy |