Hi,
i would like to use this great script, but i have a performance problem:
i isolated the query that looks for "new posts since your last visit"
PHP Code:
if ( $doposts = $DB_site->query_first("
SELECT count(*) AS total
FROM post
WHERE dateline>$bbuserinfo[lastvisit]
") and !empty( $doposts['total'] ) )
this query takes > 3 seconds, rest of page is generated in 0.7 seconds - has anyone a solution?