Re: Get Username ???
Sorry to bring this topic back up, but I am having a similar problem.
I want to add a “Create a Group” button on my Groups page, and to be honest, I’m confused why buddypress wouldn’t put one there to begin with.
So the link I tried (from the code above) is :
href=”members/<?php echo $current_user; ?>/cells/create/”>Create a Group
But where do I put the :
$username = $current_user->user_login;
part of the code?