// HACK: show last username
if ($config['showreg']) {
$sth = $dbh->do_query("SELECT U_Username FROM w3t_Users ORDER BY U_Number DESC LIMIT 1");
$lastUser = $dbh -> fetch_array($sth);
$showreg = $showreg . "Welcome to our newest mama:$lastUser[0]";
$dbh -> finish_sth($sth);
}
//end hack
look into your categories.php and your wwwthreads.php files- you will find this code:
// --------------------------------------------------------------------------
// Let's see how many total registered users there are but only if we want to
// display this information
if ($config['showreg']) {
$sth = $dbh->do_query("SELECT COUNT(*) FROM w3t_Users");
$registered = $dbh -> fetch_array($sth);
$showreg = "$registered[0] $lang[REGED_USERS]";
$dbh -> finish_sth($sth);
}
add the hack right beneath this code (a space in between is ok!)
i know how hard it is to get the feel for hacks and such- like the idea but scared to mess up your script! .
hope this helps someone!
just seeing if this works...
[]/testimages/icons/wink.gif[/]