diff --git a/upload/config.php b/upload/config.php index 1523fdf98..f6134fb8f 100644 --- a/upload/config.php +++ b/upload/config.php @@ -53,8 +53,8 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $bb_cfg['tp_version'] = '2.2 Beta'; -$bb_cfg['tp_release_state'] = 'R301'; -$bb_cfg['tp_release_date'] = '29-10-2011'; +$bb_cfg['tp_release_state'] = 'R302'; +$bb_cfg['tp_release_date'] = '30-10-2011'; // Database $charset = 'utf8'; @@ -102,7 +102,7 @@ $bb_cfg['cache']['engines'] = array( $bb_cfg['datastore_type'] = 'filecache'; // Server -$bb_cfg['server_name'] = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : ''; // The domain name from which this board runs +$bb_cfg['server_name'] = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : 'torrentpier.me'; // The domain name from which this board runs $bb_cfg['server_port'] = (!empty($_SERVER['SERVER_PORT'])) ? $_SERVER['SERVER_PORT'] : 80; // The port your server is running on $bb_cfg['script_path'] = '/'; // The path where FORUM is located relative to the domain name diff --git a/upload/templates/default/css/main.css b/upload/templates/default/css/main.css index 8445a7286..096b003c9 100644 --- a/upload/templates/default/css/main.css +++ b/upload/templates/default/css/main.css @@ -151,6 +151,7 @@ a.seed:visited, a.seedmed:visited, a.seedsmall:visited .nick, .nick a { color: #005A88 !important; font-size: 13px; font-weight: bold; text-decoration: none; } +.nick-author, .nick-author a { color: #0000FF !important; } /* Nav links */ .nav { margin: 0.3em 0; font-size: 11px; font-weight: bold; } .nav a { text-decoration: none; } diff --git a/upload/templates/default/viewtopic.tpl b/upload/templates/default/viewtopic.tpl index eae4914d9..e2aca1334 100644 --- a/upload/templates/default/viewtopic.tpl +++ b/upload/templates/default/viewtopic.tpl @@ -220,11 +220,11 @@ function set_hid_chbox (id)

{postrow.POSTER_AVATAR}

-

+

{postrow.POSTER_NAME}

-

{postrow.POSTER_NAME}

+

{postrow.POSTER_NAME}

{postrow.POSTER_RANK}

diff --git a/upload/viewtopic.php b/upload/viewtopic.php index 42ff7208c..63306e2e7 100644 --- a/upload/viewtopic.php +++ b/upload/viewtopic.php @@ -947,7 +947,7 @@ for($i = 0; $i < $total_posts; $i++) 'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2', 'POST_ID' => $postrow[$i]['post_id'], 'IS_NEWEST' => ($postrow[$i]['post_id'] == $newest), - 'POSTER_NAME' => profile_url(array('username' => $poster, 'user_rank' => $user_rank)), + 'POSTER_NAME' => ($poster_id != $t_data['topic_poster']) ? profile_url(array('username' => $poster, 'user_rank' => $user_rank)) : $poster, 'POSTER_NAME_JS' => addslashes($poster), 'POSTER_RANK' => $poster_rank, 'RANK_IMAGE' => $rank_image,