PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Navigation Menu Visibility

s2Member Plugin. A Membership plugin for WordPress®.

Navigation Menu Visibility

Postby tr3online » December 23rd, 2011, 11:04 pm

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
User avatar
tr3online
Registered User
Registered User
 
Posts: 4
Joined: December 23, 2011

Re: Navigation Menu Visibility

Postby Raam Dev » December 24th, 2011, 12:19 am

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?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Navigation Menu Visibility

Postby Cristián Lávaque » December 26th, 2011, 5:35 am

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Navigation Menu Visibility

Postby tr3online » December 26th, 2011, 6:10 pm

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
User avatar
tr3online
Registered User
Registered User
 
Posts: 4
Joined: December 23, 2011

Re: Navigation Menu Visibility

Postby Raam Dev » December 26th, 2011, 7:26 pm

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.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Navigation Menu Visibility

Postby Tobias » December 29th, 2011, 3:20 pm

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.
User avatar
Tobias
Registered User
Registered User
 
Posts: 1
Joined: December 29, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests

cron