In global.php FIND
PHP Code:
// parse headinclude, header & footer
ABOVE that ADD
PHP Code:
$lastposts = $DB_site->query_first("SELECT COUNT(*) AS twentyfourhours FROM " . TABLE_PREFIX . "post WHERE dateline > " . (TIMENOW - 86400));
$lastposts['twentyfourhours'] = vb_number_format($lastposts['twentyfourhours']);
Then in template header place $lastposts[twentyfourhours] whereever you want this number.
Feel free to contact me for PayPal details if this does what you want