/**
 * Return the author url of a topic or reply.
 *
 * Convenience function to ensure proper template functions are called
 * and correct filters are executed. Used primarily to display topic
 * and reply author information in the anonymous user form template-part.
 *
 * @since 2.5.0 bbPress (r5119)
 *
 * @param int $post_id
 *
 * @uses bbp_is_topic_edit()
 * @uses bbp_get_topic_author_url()
 * @uses bbp_is_reply_edit()
 * @uses bbp_get_reply_author_url()
 * @uses bbp_current_anonymous_user_data()
 *
 * @return string The url of the author
 */
function bbp_get_author_url($post_id = 0)
{
    // Define local variable(s)
    $retval = '';
    // Topic edit
    if (bbp_is_topic_edit()) {
        $retval = bbp_get_topic_author_url($post_id);
        // Reply edit
    } elseif (bbp_is_reply_edit()) {
        $retval = bbp_get_reply_author_url($post_id);
        // Not an edit, so rely on current user cookie data
    } else {
        $retval = bbp_current_anonymous_user_data('url');
    }
    return apply_filters('bbp_get_author_url', $retval, $post_id);
}
			<input type="text" id="bbp_anonymous_email"   value="<?php 
    bbp_is_topic_edit() ? bbp_topic_author_email() : bbp_is_reply_edit() ? bbp_reply_author_email() : bbp_current_anonymous_user_data('email');
    ?>
" tabindex="<?php 
    bbp_tab_index();
    ?>
" size="40" name="bbp_anonymous_email" />
		</p>

		<p>
			<label for="bbp_anonymous_website"><?php 
    _e('Website:', 'bbpress');
    ?>
</label><br />
			<input type="text" id="bbp_anonymous_website" value="<?php 
    bbp_is_topic_edit() ? bbp_topic_author_url() : bbp_is_reply_edit() ? bbp_reply_author_url() : bbp_current_anonymous_user_data('website');
    ?>
" tabindex="<?php 
    bbp_tab_index();
    ?>
" size="40" name="bbp_anonymous_website" />
		</p>

		<?php 
    do_action('bbp_theme_anonymous_form_extras_bottom');
    ?>

	</fieldset>

	<?php 
    do_action('bbp_theme_after_anonymous_form');