KnofeL Wysłany: Pon 09 Kwi, 2007 |
|
|
By? kolorowy user call w shoutboxie to teraz w viewtopic.
Wiadomo?? ukryta / Hidden messageAby zobaczy? wiadomo?? postaw piwo autorowi piwo.Otw?rz plik viewtopic.php i znajd? w nim:
Kod$poster = ($show_quickreply) ? '<a href="javascript:em(\'[b]' . str_replace("'", "\'", $poster_username) . '[/b], \')" class="gensmall" ' . $username_color . '>' . $poster_color_username . '</a>' : '<a href="' . $temp_url . '" title="' . $lang['Read_profile'] . '" class="gensmall"' . $username_color . '>' . $poster_color_username . '</a>';
Zmie? to na:
Kod$poster = ($show_quickreply) ? ( ( $color ) ? '<a href="javascript:em(\'[b][color='.$color.']' . str_replace("'", "\'", $poster_username) . '[/color][/b], \')" class="gensmall" ' . $username_color . '>' . $poster_color_username . '</a>' : '<a href="javascript:em(\'[b]' . str_replace("'", "\'", $poster_username) . '[/b], \')" class="gensmall" ' . $username_color . '>' . $poster_color_username . '</a>' ) : '<a href="' . $temp_url . '" title="' . $lang['Read_profile'] . '" class="gensmall"' . $username_color . '>' . $poster_color_username . '</a>';
I dodaj przed tym:
Kod $color = color_username($postrow[$i]['user_level'], $postrow[$i]['user_jr'], $postrow[$i]['user_id'], $postrow[$i]['username']);
$color = preg_replace("/style=\"color:(\#[0-9A-F]{6}|[a-z]+).*\"/si",'\\1', $color[1]);
$color = str_replace(' ', '', $color);
That's all. |
|