Shiznit!
The only part I'm worried about is if it's possible for a user to shut down their browser or crash or something and have their flag stuck at "1" ? Have you had any flags accumulate stuck at "1" yet?
AWESOME request filled, thanks neo... Since I'm the requestor I will definitely try it out and let you know about things getting stuck or how many complaints I get about it

Should be a big help for big sites.
I haven't installed it yet, but I see this in the code:
PHP Code:
$usdbamt = mysql_query("SELECT varname FROM setting WHERE varname='ups'");
$usdbamt_query = mysql_fetch_row($usdbamt);
$userssearchamt = $usdbamt_query[0]
It's missing the semi-colon at the end of the last line.. but really you don't need these lines at all. When you put something into the setting table, it is automatically loaded with every page. All you have to do is reference the name of the variable "$ups" and it will be there without that extra query.