Closed vendethiel closed 5 years ago
Only one file should be impacted. Need to do this for Teelk's Color Mod
# #-----[ OPEN ]------------------------------------------ # includes/functions_categories_hierarchy.php # #-----[ FIND ]------------------------------------------ # function build_index($cur='Root', $cat_break=false, &$forum_moderators, $real_level=-1, $max_level=-1, &$keys) { global $template, $phpEx, $board_config, $lang, $images, $db, $userdata; global $tree; global $agcm_color; # #-----[ FIND ]------------------------------------------ # $approve_sql = "SELECT p.post_id, p.poster_id, p.post_time, p.post_username, u.username, u.user_id, t.topic_title, t.topic_last_post_id # #-----[ REPLACE WITH ]------------------------------------------ # $approve_sql = "SELECT p.post_id, p.poster_id, p.post_time, p.post_username, u.username, u.user_id, u.user_group_id, u.user_session_time, t.topic_title, t.topic_last_post_id # #-----[ FIND ]------------------------------------------ # $last_post .= ( $approve_row['user_id'] == ANONYMOUS ) ? ( ($approve_row['post_username'] != '' ) ? $approve_row['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $approve_row['poster_id']) . '">' . $approve_row['username'] . '</a> '; # #-----[ REPLACE WITH ]------------------------------------------ # $last_post .= ( $approve_row['user_id'] == ANONYMOUS ) ? ( ($approve_row['post_username'] != '' ) ? $approve_row['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $approve_row['poster_id']) . '" class="'.$color->get_user_color($approve_row['user_group_id'], $approve_row['user_session_time']) .'">' . $approve_row['username'] . '</a> ';
Also unimplement colorize_username
colorize_username
Only one file should be impacted. Need to do this for Teelk's Color Mod
Also unimplement
colorize_username