|
From: OryNider <ory...@us...> - 2007-08-27 15:10:38
|
Update of /cvsroot/mxbb/mx_glance In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10966 Modified Files: db_install.php db_upgrade.php mx_glance.php Log Message: topic status: hot or not, fix Index: mx_glance.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/mx_glance.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_glance.php 12 Aug 2007 18:46:01 -0000 1.8 --- mx_glance.php 25 Aug 2007 17:25:04 -0000 1.9 *************** *** 135,139 **** // MESSAGE TRACKING // if ( !isset($tracking_topics) && $recent_track ) $tracking_topics = $mx_request_vars->request($board_config['cookie_name'] . '_t', '', false, true); ! if ( !isset($tracking_topics) && $recent_track ) $tracking_topics = isset($_COOKIE[$board_config['cookie_name'] . '_t']) ? true : false; // CHECK FOR BAD WORDS --- 135,146 ---- // MESSAGE TRACKING // if ( !isset($tracking_topics) && $recent_track ) $tracking_topics = $mx_request_vars->request($board_config['cookie_name'] . '_t', '', false, true); ! if ( !isset($tracking_topics) && $recent_track ) ! { ! $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) : array(); ! } ! else ! { ! $tracking_topics = array(); ! } // CHECK FOR BAD WORDS *************** *** 581,586 **** } ! $topic_poster = ($latest_news[$i]['topic_poster'] == ANONYMOUS ) ? '<span ' . $topic_poster_style . '>' . $lang['Guest'] . '</span>' : '<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $latest_news[$i]['topic_poster']) . '"><span ' . $topic_poster_style . '>' . $latest_news[$i]['author_username'] . '</span></a> '; $topic_poster_full = $topic_poster; } --- 588,598 ---- } ! $topic_autor_id = append_sid(PHPBB_URL . 'profile.php?mode=viewprofile&u=' . $latest_news[$i]['user_id']); ! $topic_autor = $latest_news[$i]['username']; ! ! $topic_poster = ($latest_news[$i]['topic_poster'] == ANONYMOUS ) ? '<span ' . $topic_poster_style . '>' . $lang['Guest'] . '</span>' : '<a href="' . append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $latest_news[$i]['topic_poster']) . '"><span ' . $topic_poster_style . '>' . $latest_news[$i]['author_username'] . '</span></a> '; $topic_poster_full = $topic_poster; + + $topic_replies = $latest_news[$i]['topic_replies']; } *************** *** 633,641 **** 'TOPIC_POSTER' => $topic_poster, 'TOPIC_VIEWS' => $latest_news[$i]['topic_views'], ! 'TOPIC_REPLIES' => $latest_news[$i]['topic_replies'], 'LAST_POSTER' => $last_poster, 'LAST_POSTER_COLOUR' => $last_poster_color, 'LAST_POSTER_FULL' => $last_poster_full, ! 'TOPIC_AUTHOR' => $topic_poster, 'TOPIC_AUTHOR_COLOUR' => $topic_poster_color, 'TOPIC_AUTHOR_FULL' => $topic_poster_full, --- 645,654 ---- 'TOPIC_POSTER' => $topic_poster, 'TOPIC_VIEWS' => $latest_news[$i]['topic_views'], ! 'TOPIC_REPLIES' => $topic_replies, 'LAST_POSTER' => $last_poster, 'LAST_POSTER_COLOUR' => $last_poster_color, 'LAST_POSTER_FULL' => $last_poster_full, ! 'TOPIC_AUTOR_ID' => $topic_autor_id, ! 'TOPIC_AUTHOR' => $topic_autor, 'TOPIC_AUTHOR_COLOUR' => $topic_poster_color, 'TOPIC_AUTHOR_FULL' => $topic_poster_full, *************** *** 849,854 **** } ! $topic_poster = ($latest_topics[$i]['topic_poster'] == ANONYMOUS ) ? '<span ' . $topic_poster_style . '>' . $lang['Guest'] . '</span>' : '<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $latest_topics[$i]['topic_poster']) . '"><span ' . $topic_poster_style . '>' . $latest_topics[$i]['author_username'] . '</span></a> '; $topic_poster_full = $topic_poster; } --- 862,872 ---- } ! $topic_autor_id = append_sid(PHPBB_URL . 'profile.php?mode=viewprofile&u=' . $latest_topics[$i]['user_id']); ! $topic_autor = $latest_topics[$i]['username']; ! ! $topic_poster = ($latest_topics[$i]['topic_poster'] == ANONYMOUS ) ? '<span ' . $topic_poster_style . '>' . $lang['Guest'] . '</span>' : '<a href="' . append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $latest_topics[$i]['topic_poster']) . '"><span ' . $topic_poster_style . '>' . $latest_topics[$i]['author_username'] . '</span></a> '; $topic_poster_full = $topic_poster; + + $topic_replies = $latest_topics[$i]['topic_replies']; } *************** *** 889,898 **** 'TOPIC_TITLE' => $latest_topics[$i]['topic_title'], 'TOPIC_VIEWS' => $latest_topics[$i]['topic_views'], ! 'TOPIC_REPLIES' => $latest_topics[$i]['topic_replies'], 'LAST_POST_TIME' => $last_post_time, 'LAST_POSTER' => $last_poster, 'LAST_POSTER_COLOUR' => $last_poster_color, 'LAST_POSTER_FULL' => $last_poster_full, ! 'TOPIC_AUTHOR' => $topic_poster, 'TOPIC_AUTHOR_COLOUR' => $topic_poster_color, 'TOPIC_AUTHOR_FULL' => $topic_poster_full, --- 907,917 ---- 'TOPIC_TITLE' => $latest_topics[$i]['topic_title'], 'TOPIC_VIEWS' => $latest_topics[$i]['topic_views'], ! 'TOPIC_REPLIES' => $topic_replies, 'LAST_POST_TIME' => $last_post_time, 'LAST_POSTER' => $last_poster, 'LAST_POSTER_COLOUR' => $last_poster_color, 'LAST_POSTER_FULL' => $last_poster_full, ! 'TOPIC_AUTOR_ID' => $topic_autor_id, ! 'TOPIC_AUTHOR' => $topic_autor, 'TOPIC_AUTHOR_COLOUR' => $topic_poster_color, 'TOPIC_AUTHOR_FULL' => $topic_poster_full, Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/db_install.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** db_install.php 12 Jun 2007 11:19:12 -0000 1.2 --- db_install.php 25 Aug 2007 17:25:03 -0000 1.3 *************** *** 31,35 **** } ! $mx_module_version = '2.3.4'; $mx_module_copy = 'mxBB <i> - At A Glance</i> module by blulegend, Jack Kan & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; --- 31,35 ---- } ! $mx_module_version = '2.3.6'; $mx_module_copy = 'mxBB <i> - At A Glance</i> module by blulegend, Jack Kan & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/db_upgrade.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** db_upgrade.php 12 Jun 2007 11:19:13 -0000 1.2 --- db_upgrade.php 25 Aug 2007 17:25:04 -0000 1.3 *************** *** 31,35 **** } ! $mx_module_version = '2.3.4'; $mx_module_copy = 'mxBB <i> - At A Glace</i> module by blulegend, Jack Kan & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; --- 31,35 ---- } ! $mx_module_version = '2.3.6'; $mx_module_copy = 'mxBB <i> - At A Glace</i> module by blulegend, Jack Kan & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; |