You can’t define both of these at the same time
define( 'BP_BUDDYBLOG_SLUG', 'blog' ); define('BP_DEFAULT_COMPONENT', 'blog' );
BP_BUDDYBLOG_SLUG works. But if you try and define BP_DEFAULT_COMPONENT to the new buddyblog slug, it won’t work. It will redirect the user to his/her profile instead of the defined default_component. If i don’t define BP_BUDDYBLOG_SLUG, and set BP_DEFAULT_COMPONENT to ‘buddyblog’ then it correctly redirects the user to the defined default component.
Hi Shayne,
Thank you for reporting.
This seems like a bug in BuddyPress.I tested with
define( 'BP_FRIENDS_SLUG', 'alpha' ); define( 'BP_DEFAULT_COMPONENT', 'alpha' );
and I got the same result. Changing the name does not work as expected.
I can certainly look into it but I will need some time before I can. In the meantime, you may want to report it on BuddyPress trac.
Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
This topic is: not resolved