Replies
Hi Brajesh, still learning, adding
<?php bp_profile_group_tabs(); ?>
to the profile-loop.php is not just a simple copy/paste I realised, hope to learn that some day ;-), meanwhile, I think I just add it in a hook, its working perfectly, thanks.Regards
Carsten- calu on June 22, 2020 at 5:39 am in reply to: Adding Xprofile fields to Recent Visitors directory? #31152
Hi Ravi, thanks for bringing up a solution so quickly.
Does this code cover both members directory and recent visitors directory, so I can delete the existing code I use for adding extra data the Members directory?
Regards
Carsten - calu on June 22, 2020 at 5:17 am in reply to: Adding Xprofile fields to Recent Visitors directory? #31149
Hi Ravi, thanks for your reply, yes that is my goal, exactly the way the code in the link above, is working in
Members DirectoryRegards
Carsten *where in the profile loop
<?php bp_profile_group_tabs(); ?>
is pasted into?Hi Brajesh, so the position of the tabs is defined by where in the profile loop it is copied into?
I think I have asked this question before, but something is stil not clear to me; what about the original position of the tabs, should I just hide them with css, or should the code be deleted from the profile loop?
Thanks
Hi Brajesh, thank you very much for suggesting this solution instead of using a hook.
What I don’t understand using template override, is how I add the position where I want this code to render, eg bp_after_content?
Regards
CarstenHi Brajesh, sounds good, what about blacklisting a user role, eg for blocking subscribers from uploading avatars at all?
Regards
Carsten- calu on June 19, 2020 at 10:49 am in reply to: [Resolved] Still facing the problem with a little dot on the single message page #31080
Hi Brajesh, you are right, the issue came from the delete button code, thanks a lot for helping out
Regards
Carsten - calu on June 18, 2020 at 6:03 pm in reply to: [Resolved] Still facing the problem with a little dot on the single message page #31036This reply has been marked as private.
- calu on June 18, 2020 at 3:38 pm in reply to: [Resolved] Adding nav items to a secondary navigation the right way #31007
Hi Brajesh, thanks for the clarification, this function is new to me, I will check this out.
So I should not use the
bp_get_displayed_user_nav()
template tag?‘and then using BuddyPress nav items(You can enable it from screen options on the menu page).’
Which menu page are you referring to?
Regards
Carsten