Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: customizing buddypress profile page default tab and item-nav order


Roger Coathup
Participant

@rogercoathup

@nuprn1 @hnla – Ok, I’ve found the problem, or perhaps the bug in BP (I suspect this belongs in the trac)… OR, perhaps this is correct behaviour??

We’d renamed the XPROFILE_SLUG:

define(‘BP_XPROFILE_SLUG’, ‘account’);

If I remove this definition, the routine to setup the nav works fine.

Or, if I use $bp->bp_nav = 20; instead of $bp->bp_nav = 20; it works fine.

I guess bp_core isn’t taking into account changes to the xprofile slug, and that is stopping re-assignments of the nav order for the ‘profile’ tab from working

Skip to toolbar