Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-09T18:36:59-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15813 2011-11-09T18:36:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52686#p52686 <![CDATA[Re: Menu buttons appearing on Membership Options page]]> Investigation completed.

While I wasn't able to reproduce the exact behavior that was presented in your screenshots, I was able to reproduce a bug that exists in s2Member v111105. This bug affects installations that use the "all" specification for Post Level Restrictions with s2Member; and may only display symptoms when/if a Login Welcome Page is inserted into a navigation menu, where s2Member's Alternative View Restrictions affect Navigation Menus. So this is an edge case, but will be resolved in the next release.

I've had this bug corrected on your installation, and I'm attaching screenshots that indicate all is working as expected now. Please note that areas of your site protected with s2Member's URI Restrictions, are NOT removed from Navigation Menus, because there is no internal ID which s2Member can tie to a specific URI Restriction, at least not yet. This may improve in a future release. For now though, if you see Navigation Menu items that are protected with s2Member's URI Restrictions, that's to be expected.

For the benefit of other readers, I'm attaching a patch file that will patch an existing installation of s2Member v111105 in this regard. Please unzip and upload the attached file, allowing it to override your existing copy of: /s2member/includes/classes/querys.inc.php
querys.inc.php.zip


SNAG-0118.pngSNAG-0119.png

Statistics: Posted by Jason Caldwell — November 9th, 2011, 6:36 pm


]]>
2011-11-09T17:20:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52681#p52681 <![CDATA[Re: Menu buttons appearing on Membership Options page]]> Details received. Thank you.
~ Investigating now.

Statistics: Posted by Jason Caldwell — November 9th, 2011, 5:20 pm


]]>
2011-11-08T16:51:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52579#p52579 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
I'm sending you login info privately.

Thanks!

Statistics: Posted by divagrrl27 — November 8th, 2011, 4:51 pm


]]>
2011-11-08T15:49:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52570#p52570 <![CDATA[Re: Menu buttons appearing on Membership Options page]]> Thanks for the heads up on this thread.
~ and thank YOU @divagrrl27 for the KUDOS. We appreciate that!

I suspect what you're seeing here is related to a bug that got fixed in the release of s2Member v111105+.
* (s2Member) **Bug fix**. s2Member function `c_ws_plugin__s2member_utils_gets::get_all_post_ids()` was not properly excluding Post Type `nav_menu_item`. Fixed in this release.
In previous versions of s2Member, due to this bug, some navigation menus may have had certain menu items hidden (in the right scenario, i.e. combination of protected IDs); even though they really shouldn't have been hidden, based on your s2Member configuration.

To explain further...
s2Member's Alternative View Protections, when applied to Navigation Menu Items, only hide navigation menu items that are configured with a WordPress Navigation Menu. And, the only items that are hidden, are those featuring a protected Post/Page/Category that is listed in your:
s2Member -> Restriction Options.

Possible solution. Be sure that any items appearing your navigation menu, which you don't expect to see, are actually protected by your s2Member -> Restriction Options. If this problem continues, please send us a Dashboard login though this private contact form, and we'll take a look for you.

SNAG-0115.png

Statistics: Posted by Jason Caldwell — November 8th, 2011, 3:49 pm


]]>
2011-11-08T01:15:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52507#p52507 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
Yes, those are the menus. There were actually more, but I deleted them. (FYI, my current thought for a workaround to this problem is to create a Premise landing page to set as the home page, and include a login link at the top for members. I haven't had time to mess with it yet, though.)

Everything was working perfectly until yesterday morning. I had installed a few new plugins, but I deactivated all of them, and that had no effect.

Here are the plugins I installed right before the menu buttons started appearing:

BuddyPress Mobile (currently inactive)
U BuddyPress Forum Editor
Wordpress Page Widgets (currently inactive)
WP Affiliate Platform (though I think that was active for a few days before the problem started)

I think those are the only changes I made.

Melissa

Statistics: Posted by divagrrl27 — November 8th, 2011, 1:15 am


]]>
2011-11-08T01:00:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52504#p52504 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>

OK, went to http://creativeignitionclub.com and these are the menus I get, and I get as a guest the links you mentioned shouldn't be showing.

Did you say they weren't before but then started to show all of a sudden? Do you remember what you changed around that time?

I think Jason should be around tomorrow and will hopefully get to the email about this.

Statistics: Posted by Cristián Lávaque — November 8th, 2011, 1:00 am


]]>
2011-11-07T00:42:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52444#p52444 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
Oh, one of my members emailed me this morning that her Login button was nowhere to be found when she landed on the non-logged-in home (ie, Membership Options page). That's actually what got me online, where the login button seemed to be appearing and working fine, but I discovered the crazy navbar buttons appearing where they shouldn't. I deactivated a bunch of plugins to see if that would fix it (obviously it didn't), and the member in question got her login button again and was able to log in.

I don't know if that makes a difference, but thought I'd mention it.

Thanks for all your help, Cristian. I really appreciate the quick support you guys give here. There are a lot of membership plugins out there, and the support I've gotten here is a HUGE factor in my deciding whether to go with s2Member Pro when I'm ready to upgrade! (Also the fact that s2Member was designed with BuddyPress in mind, unlike a lot of plugins I've seen.)

Statistics: Posted by divagrrl27 — November 7th, 2011, 12:42 am


]]>
2011-11-07T00:30:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52442#p52442 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
I'm under the impression that Alt View restriction for Nav Menus applies to all menu items, because of the description, but someone mentioned that it didn't apply to custom URLs, just pages. Still, you're having the Login Welcome link show.

Statistics: Posted by Cristián Lávaque — November 7th, 2011, 12:30 am


]]>
2011-11-07T00:25:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52441#p52441 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
Picture 59.png

Statistics: Posted by divagrrl27 — November 7th, 2011, 12:25 am


]]>
2011-11-07T00:24:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52440#p52440 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
The weird thing is this EXACT link is another button elsewhere in the navbar -- at the same sub-sub-menu level -- and NOT showing up there. But when I added it a second time, it showed up the Membership Options navbar.

Here's the menu structure, indicating what KIND of link it is (Page, or URL Custom Link), and noted in Red if it's showing up in the Membership Options nav bar and footer where it's not supposed to:

Welcome + How To (Page - s2Member Login Welcome Page) <--THIS button is showing up
Activity (Page - Logged-in HOME page)
......Club-Wide Activity (Page - Logged-in HOME page, identical to Activity link above)
......Direct links to most active forums (Custom URL)
................Main Forum (Custom URL - identical to "Direct Links" URL above) <--THIS button is showing up
................Creative Ignition Kit Forum (Custom URL) <--THIS button is showing up
......Recent Forum Posts (Page)
Kits, Courses & Playshops (Page)
......Creative Ignition Kit (Page)
................Toolbox (Page)
................Videos (Page)
................Creative Ignition Kit Forum (Custom URL - identical to button above, but NOT showing up)
................Emergency Pack (Page)
......Playshop-In-A-Box (Page)
Contact (Page)
LivingACreativeLife (Custom URL, linking to external site) <--THIS button is showing up


I hope this makes sense...

Statistics: Posted by divagrrl27 — November 7th, 2011, 12:24 am


]]>
2011-11-07T00:16:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52439#p52439 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
Could you post a screenshot of your Alt Views panel in the Restrictions page? WP Admin -> s2Member -> Restriction Options -> Alt Views

Statistics: Posted by Cristián Lávaque — November 7th, 2011, 12:16 am


]]>
2011-11-07T00:09:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52437#p52437 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
Interesting: I added a submenu linking to the forum I've named the Main Forum. That did NOT show up. Then I added a submenu underneath THAT submenu, AGAIN linking to the same URL to that foru. And that DID show up.

???

Statistics: Posted by divagrrl27 — November 7th, 2011, 12:09 am


]]>
2011-11-07T00:05:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52435#p52435 <![CDATA[Re: Menu buttons appearing on Membership Options page]]> Statistics: Posted by divagrrl27 — November 7th, 2011, 12:05 am


]]>
2011-11-07T00:03:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52434#p52434 <![CDATA[Re: Menu buttons appearing on Membership Options page]]>
Should I uncheck this?

Statistics: Posted by divagrrl27 — November 7th, 2011, 12:03 am


]]>
2011-11-06T23:40:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52431#p52431 <![CDATA[Re: Menu buttons appearing on Membership Options page]]> WP Admin -> s2Member -> Restriction Options -> Alt Views -> Nav Menus

Statistics: Posted by Cristián Lávaque — November 6th, 2011, 11:40 pm


]]>
2011-11-06T21:31:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15813&p=52419#p52419 <![CDATA[Menu buttons appearing on Membership Options page]]>
annoying-menus.png

I'm also seeing the menu buttons appearing in the footer, where again, there are not supposed to be ANY buttons appearing:

annoying-footer-menus.png

I have tried deactivating all recent plugins, but that did nothing. I've also tried recreating my menus, but that didn't help either.

At first it looked like the menu buttons that were appearing were all linking to URLs (as opposed to a specific page selected from the list of pages in WP > Menus > Pages). For example, I have menu buttons linked to the Forum pages for individual BuddyPress Groups, to provide my users quick links to those Forums. And those menu buttons are all appearing in the navbar and footer.

However, after deleting and recreating menu buttons, I see that the Welcome page button (which is set to be the s2Member Login Welcome page) is also appearing. And that is NOT to a URL but to a specific Page.

Help! Do you have any idea why this is happening and how to make it stop??

On a positive note, the menus seem to be behaving normally for logged-in members -- it's just unlogged-in viewers who see the wacky menus.

Oh, my theme allows me to assign different menus to different areas (Primary Menu, Footer, Sidebar, etc.) and I've also tried setting the option to NONE in this panel, but that only results in MORE menu buttons showing up in that location!

Thanks for any help you can provide. This is driving me totally crazy!

Melissa

PS - I have set URI restrictions so if a non-logged-in viewer clicks on any of these not-supposed-to-be-appearing menus they just land right back on the Membership Options page. But it's still annoying as hell to have these menus appear where there are supposed to be NO LINKS AT ALL, except the Log In button.

Statistics: Posted by divagrrl27 — November 6th, 2011, 9:31 pm


]]>