Jump to content
Sign in to follow this  
ashriver

Buddypress + Platform Pro Navigation

Recommended Posts

ashriver

So I am trying to integrate Buddypress navigation items into my main navigation. I have placed pages into my main navigation. I'd like to be able to keep the hierarchical structure of the navigation items. I've figured out how to change the slugs of each nav items for buddypress but I can't figure out how to change the url to it understands that the page is now a child of the main level Navigation: Here is an example of the structure I am trying to create:

  • Community: URL = community/ - this was the activity page in buddypress
    • Members: URL = community/members
    • Forum: URL = community/forum
    • Groups: URL = community/groups

http://www.h-mag.com/members/ Though the url structure is not perfect at least it's showing the user that they are still in the community section. Any help is greatly appreciated!!! Let me know if you need more details to help me. Thanks! Amber

Is this even possible to have the inheritance? I'd like to have them all as pages so I can tweak the sidebars. I'd like to set it up like this site:

Share this post


Link to post
Share on other sites
Andrew

Hey Amber, We'd love to help, although in this case you might find more/better support by posting over at the BuddyPress forums. They work with this stuff every day... if you still have issues; post the link to your BP post and we'll work with them to solve them. http://buddypress.org/support/topics/tag/forum/

Share this post


Link to post
Share on other sites
ashriver

Hi Andrew - I've been searching for days now and I can't find a solution. I've poked around in the code myself also. I placed a post on buddypress and all I hear is crickets. There were several other posts wanting to do the same thing and no answers. All I'd like is for the navigation to function like it does on the main buddypress site. Community is the main level which defaults to activity and then it has groups and members as children. Any help would be greatly appreciated. If not I guess I will figure something else out. I've also tried placed custom urls in the menu under appearance and the links don't even show up... Thanks again! Amber

Share this post


Link to post
Share on other sites
cmunns

When you add custom URLS they don't show up at all or you get 404's? I don't see why a custom URL wouldn't work when added to the menu.

Share this post


Link to post
Share on other sites
ashriver

Adam - They don't show up at all... I can add main level custom urls but not child of the parent. Is this a bug? Or just my installation?

Share this post


Link to post
Share on other sites
bryan-hadaway

Just to check the gas, you understand that you have to actually create the page first before adding it to a custom menu? Adding custom URL's doesn't create a page. And if they're pre-existing pages somewhere else you need to use the exact URL: http://www.website.com/whatever/ or in your case: http://www.website.com/community/members Thanks, Bryan

Share this post


Link to post
Share on other sites
ashriver

Thanks Bryan - I understand that. Sorry if I wasn't clear on my steps, I know its hard to gauge what people know and don't know. But I did add them as pages. So my structure was: http://www.website.com/community/ http://www.website.com/community/members http://www.website.com/community/forum I added the define slugs into the wp-config.php and also the bp-custom.php, just trying to troubleshoot and still no prevail. The links in the bp compatibility menu change so I know I was changing the links correctly. The pages permalinks matched. But when you go to the front of the site or even click on the link from the bp compatibility menu it just redirects to the home page. Has anyone else done this successfully? Am I just fat fingering something somewhere that I am going to later smack myself in the head about later...? Thanks again for any help!

Share this post


Link to post
Share on other sites
cmunns

If your links are all re-directing to the home page, you need to remember that BuddyPress doesn't work with the default permalink structure.

Share this post


Link to post
Share on other sites
ashriver

Adam I've had them to %post_name% the whole time ... ;) But still redirects... Any other thoughts?

Share this post


Link to post
Share on other sites
cmunns

I tested and placed: http://localhost:8888/platform/members/cmunns/activity/ as a custom URL in my WP menus and it worked perfectly. Are there .htaccess rules or something like that you may have changed? Any redirection shenanigans that you forgot about. I hate that we can't solve your problem when it works fine for me :(

Share this post


Link to post
Share on other sites
ashriver

Believe me I hate it also ;) I just deleted all the pages and started fresh. I have Pages set up in pages. I placed custom links under the main level navigation item and still nada. I can't place any custom link under a main level navigation item for some reason. I moved the same link out so that it was a main nav item and it worked. You know of any bugs out there that would be causing this to happen? Also I realized my custom link attributes are not the same as some of the other screenshots I've seen out there. Mine only has fields for: URL, label, title. While I've seen others have far more... Does your install have have more options? Maybe there is something goofy with the menu plugin...? UGH... continuing to rack my brain. Thanks for your help it is truly appreciated!!!!

Share this post


Link to post
Share on other sites
ashriver

I figured out how to add the additional attributes under custom. It's in the upper right hand corner drop down under screen options...

Share this post


Link to post
Share on other sites
cmunns

You are setting up the menus correctly right? 1. Create a menu 2. Add menu items 3. Save the menu 4. select a theme location 5. save theme location

Share this post


Link to post
Share on other sites
bryan-hadaway

Okay, at this time if you haven't already I think it would be a good idea to get this topic going in the BuddyPress forum as well: http://buddypress.org/support/topics/ They should have much more insight into this issue. Thanks, Bryan

Share this post


Link to post
Share on other sites
ashriver

I have and it's like crickets over there.... I placed 2...

http://buddypress.org/community/groups/creating-extending/forum/topic/id-like-to-change-my-navigation-to-function-like-the-buddypress-main-site/
http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-platform-pro-navigation-tweaks/

Share this post


Link to post
Share on other sites
bryan-hadaway

Okay, good. Well you won't get crickets from us. I'm marking for further developer review. Thanks, Bryan

Share this post


Link to post
Share on other sites
ashriver

Awesome thanks! Let me know if I can be of any assistance I'd done a lot of different things.

Share this post


Link to post
Share on other sites
cmunns

I think as long as you are on your local setup it's hard for us to do much more :(

Share this post


Link to post
Share on other sites
ashriver

Has anyone else done this? Just wondering. Thanks again for everything.

Share this post


Link to post
Share on other sites
noriise

Not done... but will follow with interest. Thanks for your work on this Amber and cmunns :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×