hmm, i have not tested, but i think this should work:
open search.php
goto line 451
shold look so:
PHP Code:
if (trim($query)=="" and $DB_site->num_rows($users)==0) {
change it so:
PHP Code:
if (trim($query)=="") {
after
PHP Code:
$userssql=" AND (1=0 ";
while ($user=$DB_site->fetch_array($users)) {
$userssql.=" OR post.userid='$user[userid]'";
}
$userssql.=")";
add this:
PHP Code:
if($DB_site->num_rows($users)==0 {
$userssql=" AND post.postusername='$searchuser' ";
}
hope this could help
it finds only the exact usernames i think, but you can surely optimize it ^^