Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-31T18:30:03-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15727 2011-10-31T18:30:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50614#p50614 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]>

Statistics: Posted by Eduan — October 31st, 2011, 6:30 pm


]]>
2011-10-31T18:09:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50613#p50613 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]>
Using the tewntyten theme, if you build the menu with "Custom" menu items instead of "Page" items, the items will not hide when logged out (WP Admin -> Appearance -> Menu -> then select and drag "Page" items). I rebuilt the menu using "Page" items and all is working correctly now.

Thanks for your help Eduan.

Statistics: Posted by kvaughn — October 31st, 2011, 6:09 pm


]]>
2011-10-31T17:33:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50612#p50612 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]>
Go to: http://www.rrnmf.com/

The "Member Directory" and "Private Messages" menu items should not be there until the user loggs in.

Statistics: Posted by kvaughn — October 31st, 2011, 5:33 pm


]]>
2011-10-31T17:17:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50596#p50596 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]> Statistics: Posted by Eduan — October 31st, 2011, 5:17 pm


]]>
2011-10-31T17:12:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50591#p50591 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]>
On the functioning site, if a page is s2Member protected (level1, 2, 3, etc), the corresponding menu item linking to that protected page, appears or is visible if the user is logged in. The menu item disappears when the user loggs out. This is the desired functionality.

On the new site, the entire menu shows at all times.

Statistics: Posted by kvaughn — October 31st, 2011, 5:12 pm


]]>
2011-10-31T16:47:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50582#p50582 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]> WP Admin -> s2Member -> Restriction Options -> Alternative View Protection and configure the things there and tell me if that helps.

P.S. What is supposed to be blocked?

Statistics: Posted by Eduan — October 31st, 2011, 4:47 pm


]]>
2011-10-31T16:42:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50579#p50579 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]>
There has been no custom API / Scripting of any kind.

As far as I know there is no way to place Short codes on menu items. I am using a slightly modified version of the twentyten theme and menus are built in the admin interface.

The site that is not functioning as desired is rrnmf.com.

Statistics: Posted by kvaughn — October 31st, 2011, 4:42 pm


]]>
2011-10-31T16:11:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50569#p50569 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]>
If that doesn't work then check if the first website, the one that blocks things correctly, has any code that might be related to what's under WP Admin -> s2Member -> API / Scripting.

If not then try using the corresponding code (most probably the one under Simple/Shortcode Conditionals) on the part that has to do with the menu.

Please tell me if this helps. ;)

Statistics: Posted by Eduan — October 31st, 2011, 4:11 pm


]]>
2011-10-31T16:03:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50567#p50567 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]> Statistics: Posted by kvaughn — October 31st, 2011, 4:03 pm


]]>
2011-10-31T15:57:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50564#p50564 <![CDATA[Re: Show menu items if logged in, hide if logged out...]]> Statistics: Posted by Eduan — October 31st, 2011, 3:57 pm


]]>
2011-10-31T15:51:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15727&p=50562#p50562 <![CDATA[Show menu items if logged in, hide if logged out...]]>
I don't remember doing anything special to the first site to make this happen. Can anyone tell me if this is a setting somewhere in s2Member? Or...?

Any assistance would be appreciated.

Statistics: Posted by kvaughn — October 31st, 2011, 3:51 pm


]]>