Re: How to get a section identifier in the body tag?
What are these lines supposed to do?
global $bp;
echo $bp->current_component; //outputs current component
echo '<br />'; // redundant line break! don't worry about this line!
echo $bp->current_action; // outputs current action
I see nothing like that in the functions in post-template.php or Sandbox’ function.php.
Edit: Class on Members and Groups stays at “directory” because it is set in bp-themes, not bphome. It is set with this line:
<?php if ( bp_is_directory() ) : ?> class="directory"<?php endif; ?>
Replacing it with the function copied from Sandbox…