Get forum stats?
#1
How do I get forum stats onto the page? EG: threads, posts, users?

im sure it was something like:
$stats['threads'] Toungue
Reply
#2
$stats = $cache->read("stats"); needs to come first Smile
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#3
Then what? $stats['threads']; Toungue
Reply
#4
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']
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#5
ok cool Smile Thanks Matt Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)