function bp_checkins_display_place_checkin()
{
    $place_id = bp_get_checkins_places_id();
    $place_permalink = bp_get_checkins_places_the_permalink();
    $address = get_post_meta($place_id, 'bpci_places_address', true);
    if ($address) {
        ?>
		<div class="activity-checkin">
			<a href="<?php 
        echo $place_permalink;
        ?>
" title="<?php 
        _e('Open the map for this update', 'bp-checkins');
        ?>
" class="link-checkin"><span class="update-checkin"><?php 
        echo stripslashes($address);
        ?>
</span></a>
		</div>
		<?php 
    }
}
function bp_get_checkins_places_comment_link()
{
    if (!is_single()) {
        $comment_link = bp_get_checkins_places_the_permalink() . '#respond';
    } else {
        $comment_link = '#respond';
    }
    echo apply_filters('bp_get_checkins_places_comment_link', $comment_link);
}