Index: bb-includes/functions.bb-template.php
===================================================================
--- bb-includes/functions.bb-template.php	(revision 2388)
+++ bb-includes/functions.bb-template.php	(working copy)
@@ -1740,7 +1740,7 @@
 }
 
 function post_author_link( $post_id = 0 ) {
-	if ( $link = get_user_link( get_post_author_id( $post_id ) ) ) {
+	if ( $link = ( bb_get_option( 'name_link_profile' ) ? get_user_profile_link( get_post_author_id( $post_id ) ) : get_user_link( get_post_author_id( $post_id ) ) ) ) {
 		echo '<a href="' . esc_attr( $link ) . '">' . get_post_author( $post_id ) . '</a>';
 	} elseif ( $link = bb_get_post_meta( 'pingback_uri' )) {
 		echo '<a href="' . esc_attr( $link ) . '">' . get_post_author( $post_id ) . '</a>';
@@ -1762,7 +1762,7 @@
 		return false;
 	
 	$author_id = get_post_author_id( $post_id );
-	if ( $link = get_user_link( $author_id ) ) {
+	if ( $link = ( bb_get_option( 'name_link_profile' ) ? get_user_profile_link( $author_id ) : get_user_link( $author_id ) ) ) {
 		echo '<a href="' . esc_attr( $link ) . '">' . bb_get_avatar( $author_id, $size, $default ) . '</a>';
 	} else {
 		echo bb_get_avatar( $author_id, $size, $default );
Index: bb-includes/functions.bb-meta.php
===================================================================
--- bb-includes/functions.bb-meta.php	(revision 2388)
+++ bb-includes/functions.bb-meta.php	(working copy)
@@ -475,7 +475,8 @@
 		'plugin_cookie_paths',
 		'wp_roles_map',
 		'gmt_offset',
-		'timezone_string'
+		'timezone_string',
+		'name_link_profile'
 	);
 
 	// Check that these aren't already in the cache
Index: bb-admin/options-reading.php
===================================================================
--- bb-admin/options-reading.php	(revision 2388)
+++ bb-admin/options-reading.php	(working copy)
@@ -33,6 +33,14 @@
 		'title' => __( 'Items per page' ),
 		'class' => 'short',
 		'note' => __( 'Number of topics, posts or tags to show per page.' ),
+	),
+	'name_link_profile' => array(
+		'title' => __( 'Link name to' ),
+		'type' => 'radio',
+		'options' => array(
+			0 => __( 'Website' ),
+			1 => __( 'Profile' )
+		)
 	)
 );
 

