Well here's the first two for you. The 3rd looks like it would take a little more work so I'll have to post that for you tomorrow.
For members today and total thread views, first run this query via phpMyAdmin:
ALTER TABLE `statscache` ADD `threadviews` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;
ALTER TABLE `statscache` ADD `memberstoday` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;
Then open your index.php file (assuming you've already installed the hack) and look for:
PHP Code:
$getstats[posttoday]=number_format($getstats['posttoday']);
Below that Add:
PHP Code:
$getstats[threadviews]=number_format($getstats['threadviews']);
$getstats[memberstoday]=number_format($getstats['memberstoday']);
Then look for:
PHP Code:
$poststoday=$getpoststoday[count];
Below that Add:
PHP Code:
// members today
$getmemstoday=$DB_site->query_first("SELECT count(*) AS count FROM user WHERE joindate>='$datecut'");
// thread views
$getthreadviews=$DB_site->query_first("SELECT SUM(views) AS tviews FROM thread");
Then look for:
PHP Code:
posttoday='$poststoday', lastupdate='".time()."'");
Replace that with:
PHP Code:
posttoday='$poststoday', lastupdate='".time()."', threadviews='$getthreadviews[tviews]',memberstoday='$getmemstoday[count]'");
Then just add the variables $getstats[threadviews] and $getstats[memberstoday] in your forumhome template where you would like those to appear. (Remember it will take 10 minutes, or however long you set between updates, before those will appear.)