e encontrado este codigo, servira ?
/**
* Reorder BuddyPress profile tabs/navigation.
*/
function buddydev_reorder_buddypress_profile_tabs() {
$bp = buddypress();
$nav = $bp->members->nav;
// it's a map of nav items for user profile to their position.
$nav_items = array(
'settings' => 10,
'activity' => 20,
'friends' => 30,
'groups' => 40,
'blogs' => 50,
'messages' => 60,
'profile' => 70,
);
foreach ( $nav_items as $nav_item => $position ) {
$nav->edit_nav( array( 'position' => $position ), $nav_item );
}
}
add_action( 'bp_setup_nav', 'buddydev_reorder_buddypress_profile_tabs', 999 );
Hello @franksysgfx
Thanks for reaching us
May I know, have you checked the tabs settings on Youzify Panel >> Profile Settings >> Tabs Settings, and check if you can find rtMedia and WPDIscuz tab there.
Best Regards, KaineLabs Team.
Sip verique y no aparecen, actualmente e subido los posicionamientos de 100 para arriba y entonces e logrado posicionar la pestaña RTMEDIA al principia, es decir lo movi de lugar pero no logro que se abra y se muestre
Pueden verlo aqui: https://tedytok.com/miembros/tedytok-com/
Hello @franksysgfx
You’re right. We have checked it and rtMedia and WPDiscuz does not integrate with Youzify. That’s why those tabs won’t appear on the default tab option.
Sorry for this situation.
Best Regards, KaineLabs Team.
SOLUTIONS: I have seen that with a SHORTCODE plugin
from RTMEDIA I can display the content correctly but I can’t set it by default, which hook do I use to select one by default in buddypress (maybe it will work)
Buddyboss themes and others already do it with 1 button 🙁 avoiding youzify configuration. Help me, code to select 1 by default from original buddypress?
Hello @franksysgfx
Thanks for reaching us
If the rtMedia has shortcode, you can create a custom tab. The custom tab should available on the Profule tabs where you can set it as default tab or order it. 🙂
Best Regards, KaineLabs Team.
You’re welcome @franksysgfx
Best Regards, KaineLabs Team.