Page 1 of 1

Navigation Menu Visibility

PostPosted: December 23rd, 2011, 11:04 pm
by tr3online
Hi there,
I'm new to the s2member community. I was just testing the plugin and it is really quite nice. However, is there any way to control the visibility of navigation menu items based on the users role? Ie: Not logged in users only see Home / About / Join us. Where as someone that has already paid gets Home / About / Members , etc.
I did a quick search and didn't see anything come up.
Any help would be much appreciated, thanks!
Tre

Re: Navigation Menu Visibility

PostPosted: December 24th, 2011, 12:19 am
by Raam Dev
Welcome! Glad to hear you're enjoying the plugin. :)

It is possible to control the navigation menu based on the user's role and whether or not they're logged in. Please see the notes in this thread (starting from the second paragraph): viewtopic.php?f=4&t=16401&p=56787#p56787

Does that answer your question?

Re: Navigation Menu Visibility

PostPosted: December 26th, 2011, 5:35 am
by Cristián Lávaque
If you're talking about WordPress' menus for navigation instead one you create in a widget or page, then you may want to look at the alt. views restriction. WP Admin -> s2Member -> Restriction Options -> Alternative View -> Nav Menus

I hope that helps. :)

Re: Navigation Menu Visibility

PostPosted: December 26th, 2011, 6:10 pm
by tr3online
Thanks for the responses. I haven't been able to check them until now due to the holidays.
The Alternative View -> Nav Menus is more along the lines of what I was looking for. Thanks for that.
Is the level checking for menu visibility handled by the "Page Level Restriction?" you decree when making the page?

Thanks ahead of time,
Tre

Re: Navigation Menu Visibility

PostPosted: December 26th, 2011, 7:26 pm
by Raam Dev
Yes, that is correct. If you make a page available to only users with Level 3 access, then those users with lower access should not see the page in any menu when you have Nav Menus protected.

Re: Navigation Menu Visibility

PostPosted: December 29th, 2011, 3:20 pm
by Tobias
I am using TwentyTen as a theme and Alternative View Protection does not work for me on navigation menus.

EDIT: More specifically: if I don't use a custom menu, it does not work. If I manually create a menu and add all pages, the restricted ones are filtered out. Out of the box, where all pages are simply listed in a hierarchical menu, it does not work.