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™

Menu buttons appearing on Membership Options page

s2Member Plugin. A Membership plugin for WordPress®.

Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 6th, 2011, 9:31 pm

Okay, this is weird. The site has been working fine, but all of a sudden, starting today, a whole slew of navigation menu buttons are showing up on the unlogged-in Membership Options page.

annoying-menus.png
Menus appearing on Membership Options page, where they are not supposed to!


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
Menus appearing in footer on Membership Options Page


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.
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby Cristián Lávaque » November 6th, 2011, 11:40 pm

Melissa, could you please check if your Nav Menus are being protected by s2Member? WP Admin -> s2Member -> Restriction Options -> Alt Views -> Nav Menus
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: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 7th, 2011, 12:03 am

Yes, the "Filter ALL WordPress queries" box is checked.

Should I uncheck this?
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 7th, 2011, 12:05 am

Hmmm... I tried UNchecking that box, but MORE menu buttons appeared in the navbar. So I checked it again...
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 7th, 2011, 12:09 am

I had deleted the menu buttons linking to URLs (to specific BuddyPress Group forums), and am now adding them back.

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.

???
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby Cristián Lávaque » November 7th, 2011, 12:16 am

Interesting...

Could you post a screenshot of your Alt Views panel in the Restrictions page? WP Admin -> s2Member -> Restriction Options -> Alt Views
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: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 7th, 2011, 12:24 am

Now I added a link to another forum, which also showed up in the Membership Options nav bar.

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...
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 7th, 2011, 12:25 am

Here's a screenshot of the Alternative View Protection panel:

Picture 59.png
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby Cristián Lávaque » November 7th, 2011, 12:30 am

Thank you so much for giving such detailed information. I'm emailing Jason about it so he helps understand the problem. Are you sure you're not logged in when you view the page? I ask because you're having the Login Welcome link in the navigation...

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.
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: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 7th, 2011, 12:42 am

Yes, this is actually ONLY happening when I'm NOT logged in. Logged-in members see the nav bar as it should be -- that seems to be working fine. It's only on the Membership Options page, which only non-logged-in viewers ever see, that the problem is occurring.

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.)
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby Cristián Lávaque » November 8th, 2011, 1:00 am

Thanks for the kudos! We appreciate it and are very glad you are happy with s2Member and the service. :)

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.
Attachments
2011-11-07_235521.png
2011-11-07_235521.png (1.45 KiB) Viewed 146 times
2011-11-07_235452.png
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: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 8th, 2011, 1:15 am

Hi Cristián,

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
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby Jason Caldwell » November 8th, 2011, 3:49 pm

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
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Menu buttons appearing on Membership Options page

Postby divagrrl27 » November 8th, 2011, 4:51 pm

I believe all appearing menus are actually restricted.

I'm sending you login info privately.

Thanks!
User avatar
divagrrl27
Registered User
Registered User
 
Posts: 64
Joined: October 25, 2011

Re: Menu buttons appearing on Membership Options page

Postby Jason Caldwell » November 9th, 2011, 5:20 pm

Details received. Thank you.
~ Investigating now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Menu buttons appearing on Membership Options page

Postby Jason Caldwell » November 9th, 2011, 6:36 pm

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
(4.05 KiB) Downloaded 1 time


SNAG-0118.png
SNAG-0119.png
SNAG-0119.png (3.28 KiB) Viewed 133 times
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron