Reply To: Include/load all scripts necessary for BuddyPress on a custom profile page
I have included the .js scripts but BuddyPress seems to not detect my profile page as a proper place to output content about a user.
For example when I do bp_get_template_part('members/single/activity'); I receive this output on the profile page (empty tags)
<nav class="bp-navs bp-subnavs no-ajax" id="subnav" role="navigation" aria-label="Menu des activités">
<ul class="subnav">
</ul>
</nav>
And a similar thing happens when using bp_get_template_part( 'members/single/messages' ); or other template parts.
How can I setup this so that BuddyPress recognises my profile page as a valid profile page where to output info and what should I use in my template to make BuddyPress load the proper scripts/actions/functions/objects to make it work?
Thanks in advance for any clue to point me in the right direction.