I figured it out on my own. If anyone wants another tab on the JomSocial toolbar with a Logout link, here’s the code you add to ../components/com_community/templates/ja_sulfer/toolbar.index.php at approximately line 139 (sorry about the formatting):
<?php if( $config->get('displayhome') ) {
if(isset($customToolbar) && !empty($customToolbar)){
if($customToolbar->hasToolBarGroup(TOOLBAR_HOME)){
$homeItem = $customToolbar->getToolbarItems(TOOLBAR_HOME);
?>
<li id="toolbar-item-frontpage" class="<?php echo $toolbarClass['frontpage']; ?> toolbar-item">
<form action="index.php" method="post" name="communitylogout" id="communitylogout">
<a href="javascript:void(0);" onclick="document.communitylogout.submit();"><?php echo JText::_('CC LOGOUT');?></a>
<input type="hidden" name="option" value="com_user" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="return" value="<?php echo $logoutLink; ?>" />
</form>
</li>
<?php
}
}
}
?>