ciao, ho installato wordpress su un mio spazio e mi sono fatto il mio blog.... l'indirizzo è: http://3h4e.netsons.org
ho installato un plugin di WP ke funge da chat, è sulla colonna di destra in alto...... è ottimo ma alcuni utenti mi hanno kiesto se potevo modificarla in modo da fare un segnale acustico all'arrivo di ogni messaggio xke senno nn si vedono i messaggi appena arrivati e nn ce se ne accorge....
quindi volevo kiedere: esiste un modo per fare kuel segnale acustico? il segnale acustico c penso io, lo script, visto ke c capisco ancora poco di php, ki me lo può fare??
allora gli script sono:

kuesto è un css, nn penso serva ma lo metto lo stesso.....
codice:
<?php
	
	/*
	This file is php so that admins can control its look without editing the code.
	The headers below tell the browser to cache the file and also tell the browser it is css.
	*/
	
	header("Cache-Control: must-revalidate");
	$offset = 60*60*24*60;
	$ExpStr = "Expires: ".gmdate("D, d M Y H:i:s",time() + $offset)." GMT";
	header($ExpStr);
	header('Content-Type: text/css');
	
	include("../../../wp-config.php");
?>

/*
This file controls the look of the Live shoutbox...
*/


#chatoutput {

/* Height of the shoutbox*/
height: 200px;

/*Uncomment width below*/
/*width: 220px;*/

/* Horizontal Scrollbar Killer */
padding: 6px 8px; 

/* Borders */
border: 1px solid #<?php echo get_option('shoutbox_name_color'); ?>;
border-width: 1px 2px;

font: 13px "Trebuchet MS", arial, sans-serif;
font-weight: bold
color: #<?php echo get_option('shoutbox_text_color'); ?>;
background: #<?php echo get_option('shoutbox_fade_to'); ?>;
overflow: auto;
margin-top: 10px;
}

#chatoutput span {
font-weight: bold
font-size: 1.1em;
color: #<?php echo get_option('shoutbox_name_color'); ?>;
}

#chatForm label, #shoutboxAdmin {
display: block;
font-weight: bold
margin: 4px 0;
}

#chatoutput a {
font-style: normal;
font-weight: bold;
color: #<?php echo get_option('shoutbox_name_color'); ?>
}

/* User names with links */
#chatoutput li span a {
font-weight: bold;
display: inline !important;
border-bottom: 1px dotted #<?php echo get_option('shoutbox_name_color'); ?>
}

#chatForm input, #chatForm textarea {
width: 120px;
font-weight: bold
display: block;
margin: 0 auto;
}

#chatForm textarea {
width: 150px;
}


#chatForm input#submitchat {
width: 70px;
font-weight: bold
margin: 10px auto;
border: 2px outset;
padding: 2px;
}

#chatoutput ul#outputList {
padding: 0;
position: static;
margin: 0;
font-weight: bold
}

#chatoutput ul#outputList li {
padding: 4px;
margin: 0;
font-weight: bold
color: #<?php echo get_option('shoutbox_text_color'); ?>;
background: none;
font-size: 1em;
list-style: none;
}

/* No bullets from Kubrick et al. */
#chatoutput ul#outputList li:before {
content: '';
}

ul#outputList li:first-line {
line-height: 16px;
}

#lastMessage {
font-weight: blod
padding-bottom: 2px;
text-align: center;
border-bottom: 2px dotted #<?php echo get_option('shoutbox_fade_from'); ?>;
}

em#responseTime {
font-style: normal;
display: block;
}

#chatoutput .wp-smiley {
vertical-align: middle;
}