I'd like to display stats in the header from the "What's Going On?" section at the bottom of the forum, such as:
numberguest
numbermembers
numberregistered
totalonline
activemembers
totalposts
totalthreads
I found some old posts about achieving this, but they were specifically for 3.x (involved copying code from index.php into globals.php), but of course with vB4, index.php no longer has all that code.
__DEFINE_LIKE_SHARE__