latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Menu Page Tab Segregation ?

Home Forums Community Forum Menu Page Tab Segregation ?

This topic contains 5 replies, has 3 voices. Last updated by  Generic Bland 4 years, 5 months ago.

Topic Author Topic
Posted: Monday Jul 30th, 2012 at 5:12 pm #20706

Hi there:

I found this plugin yesterday and so far so good, I like what I see and am leaning towards buying but there is 1 feature I really want thats very important but i can’t tell yet if this plugin fits the bill.

Lets say I have a site and the top menu bar has 8 tabs, one of which would be “Private” and under that parent page 2 drop downs, one being “Members” and the other “Become a Member”.
I would like it so that if someone chooses “members”, after a sucessful login they are taken to a members only lounge area where the only things visible to them are members only pages, i don’t want them to see the tabs for public pages at all.
The reason being is if there are 8 public pages & 8 member pages they’ll stack in the menu bar and I don’t want that. Being this is a photography site i’ve made for my daughter & she is learning the wp ropes herself I’d still like the menu to have an elegant artistic feel to it rather then a chunky fat stacked menu.

Is this possible with this plugin ? if it’s not & you can make it do that I’ll be first in line to buy

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Tuesday Jul 31st, 2012 at 3:23 am #20742
Raam Dev
Username: Raam
Staff Member

Hello,

Yes, this is definitely possible. You’ll need to modify your theme header file (or wherever the menu gets generated) and add some PHP code that checks if the user is a member. If they’re a member, you show the menu items for the member. If they’re not a member, you show the non-member menu items.

Posted: Tuesday Jul 31st, 2012 at 8:50 am #20785
Eduan
Username: Eduan
Moderator

I would like to mention that you would use advanced PHP conditionals for this, which you can find an article about here:
Dashboard -› s2Member® -› API / Scripting -› Advanced Query Conditionals

Hope this helps. :)

Posted: Tuesday Jul 31st, 2012 at 6:23 pm #20833

Thanks much for the help, I’m not quite as advanced as you guys though. I know how to edit themes but I’m not exactly sure what code to add to get the effect i’m looking for.

For example, under the advanced query conditionals it gives 6 examples, which one of those would fulfill my need, and are these just examples or is that the exact code (or some of it) i’d have to edit my theme with ?

Posted: Wednesday Aug 1st, 2012 at 1:41 am #20874
Raam Dev
Username: Raam
Staff Member

Those are just examples. You would need to modify the code to suit your needs.

If you’re not comfortable with PHP, we recommend posting your job on jobs.wordpress.net.

Posted: Wednesday Aug 1st, 2012 at 1:59 am #20876

Thanks for clearing that up. I’ll try to figure the code part out on my own.
Teenage daughters are apt to change their mind often. Now she wants to be a photographer, in 6 months maybe something else so not worth hiring someone over something i’ll figure out by trial & error

Viewing 5 replies - 1 through 5 (of 5 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.