Re: How do a post a variable in a link?
bp_loggedin_user_domain() .’settings’ is probably what you want in this case. The general point about looking at the template files for this kind of thing is exactly right. You can also browse through the core templatetags files (bp-groups/bp-groups-templatetags.php, etc) to see what kinds of output functions are available.