Quote:
Originally Posted by wacnstac
I would like to get rid of the Status:XXX field on every line.
|
I'll try to write this up, but I'm a hack at code so you are on your own. Back up your stuff and don't harass me if it doesn't work for you. It works for me.
Insert in: vBChat.php
Code:
// Check Status
if($ThisMSG['vbchat_pref_status'] == ""){
$ThisMSG['vbchat_pref_status'] = "<i>None</i>";
}
// post time conversion
$mychat['time'] = vbdate($vboptions['timeformat'], $ThisMSG['s_postime']);
// end post time conversion
// WAAAAIT! Is this person ignored?
Original: Template: chat_row
Code:
<tr>
<td nowrap="nowrap" valign="top">[<span class='time'>Status: {$ThisMSG['vbchat_pref_status']}</span>] <b>{$ThisMSG['username']}:</b>
</td>
<td><font face='{$ThisMSG['vbchat_pref_font_face']}' style='color:{$ThisMSG['vbchat_pref_font_color']};'>{$ThisMSG['s_message']}</font></td>
Changed: Template: chat_row
Code:
<tr>
<td nowrap="nowrap" valign="top">[<span class='time'>{$mychat['time']}</span>] <b>{$ThisMSG['username']}:</b>
</td>
<td><font face='{$ThisMSG['vbchat_pref_font_face']}' style='color:{$ThisMSG['vbchat_pref_font_color']};'>{$ThisMSG['s_message']}</font></td>