In your TAKESIGNUP.PHP
before
PHP Code:
header("Refresh: 0; url=confirm.php?id=$id&secret=$psecret");
add
PHP Code:
/** START Shout announce **/
$text = ":hi: [color=green]To our newest member[/color]".htmlspecialchars($wantusername)."[color=orange] we hope you enjoy your stay[/color]";
$userid = 1;
$username = System;
$date=time()-3600;
mysql_query("INSERT INTO shoutbox (id, userid, username, date, text) VALUES ('id'," . sqlesc($userid) . ", " . sqlesc($username) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);
$added = sqlesc(get_date_time());
/** END Shout announce **/
FIRST YOU NEED TO CREATE A USER (system,announcer,etc) AND FILL THESE LINES WITH userid and username.
$userid = 1;
$username = System;
GOOD LUCK!