Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Have Menu Bar show for only some...


  #1  
Old Sep 8, 2010, 07:06 PM
kdawes01's Avatar
kdawes01
 
102 posts · May 2009
Missoula, MT
Hi,
I'm looking at using the CAPA plugin to make a member website area. I'm using a sidebar menu for the main navigation and am toying with the idea of having a horizontal menubar that would only be visible to those who are signed in.... random visitors would only see the main navigation...

Anyone have any thoughts as to how to accomplish this so that I don't have to reinvent the wheel??

Thanks!

Ken
  #2  
Old Sep 8, 2010, 07:57 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Maybe this plugin could work.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Sep 9, 2010, 09:34 AM
kdawes01's Avatar
kdawes01
 
102 posts · May 2009
Missoula, MT
Hi Larry,
Thanks! It's close but no cigar, I'm afraid. It looks like the plugin will restrict (to members) a particular page showing up on the menu. What I'd like to come up with is an entire menu bar that is only visible to members.
Hmmm.... of course with eggs in my beer, I'd want to be able to have different menu bars for each level of membership... ;-)

Ken
  #4  
Old Sep 9, 2010, 12:11 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Your request was intriguing so I started searching a bit and found this recently updated membership plugin which allow for securing conditionals which could wrap around the %pages or %cats or even some code in the sidebar. I may play around with this myself a bit.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Sep 9, 2010, 12:27 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Well I just tested that membership plugin and I think it does just what you want except that you can only have two top menus. But you could have one be the membership menu that only members can see and then restrict certain pages per their level.

I added the code below to where you normally put %cats and the category menu only shows if I am logged in.
HTML Code:
<?php if(is_user_logged_in()){ ?>
%cats
<?php } ?>
I'm glad you asked the question as I wouldn't have found this membership plugin so soon.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Sep 9, 2010, 01:10 PM
kdawes01's Avatar
kdawes01
 
102 posts · May 2009
Missoula, MT
Larry,
I didn't think of that! That is just way too easy and cool! Works great! (and big kudos for Flynn making ATA so darned flexible!)

For the site I'm working on (and using the CAPA membership plugin), I have a sidebar menu (with sub-menu flyout) ... no need for a plug-in, just css (I'll be posting the css here when I get the chance) using the new WordPress 3.0+ menu feature (I saved the menu name *not* as menu 1 or menu 2)

Using your code snippet (and using %pages instead of %cats) and making a new "Menu 1" -and assigned to the Atahualpa "Menu 1" - I now have a horizontal menu bar that is *only* visible to people who are signed in... i.e members. I'll populate that with member-only pages. As they say WOOT!! :-))

Thank you!

On another note... Thanks for the heads-up on the S2member plugin! That's looking very feasible for a membership website that is currently in DotNetNuke (shudder) and I will be converting to a new WordPress installation.. Great features!

Ken

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Changes to page menu bar don't show on HOME page fab4fan Page & Category Menu Bars 2 Mar 23, 2010 11:48 AM
Page Menu Bar doesn't show Latvian letters Guntis Page & Category Menu Bars 1 Dec 28, 2009 07:04 AM
Page bar with slave under bar to show subpages Cédric H Page & Category Menu Bars 0 Oct 2, 2009 04:00 AM
[SOLVED] Don't show sub-pages for a main page on my menu bar jockoe Atahualpa 3 Wordpress theme 1 Jul 13, 2009 12:28 PM
Show Child Category In Category Menu Bar? mwsmedia Page & Category Menu Bars 1 Jun 29, 2009 05:06 AM


All times are GMT -6. The time now is 01:25 AM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.