How do I get forum stats onto the page? EG: threads, posts, users?
im sure it was something like:
$stats['threads']
$stats = $cache->read("stats"); needs to come first
Then what? $stats['threads'];
This is what's in the cache:
Array
(
[numthreads] => 29
[numunapprovedthreads] => 0
[numposts] => 62
[numunapprovedposts] => 0
[numusers] => 4
[lastuid] => 34
[lastusername] => Test
)
So it'd be $stats['numthreads']